Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Issue 186663011: Refactor FeedbackReport, FeedbackUpload to remove chrome/net deps (Closed)

Created:
6 years, 9 months ago by achaulk
Modified:
6 years, 9 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Refactor FeedbackReport, FeedbackUpload to remove chrome/net deps Remove use of BrowserContext and BrowserThread from FeedbackReport and FeedbackUpload. Moves net/ specific functionality into a new class FeedbackUploadChrome, and moves using the browser context out of the base classes. CrOS should be able to directly use feedback_report.cc/h & feedback_uploader.cc/h, providing a curl-based upload version. BUG=341554 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257534

Patch Set 1 #

Total comments: 8

Patch Set 2 : remove GetFeedbackReportsPathFromContext #

Patch Set 3 : merge with latest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -97 lines) Patch
M chrome/browser/feedback/feedback_profile_observer.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/feedback/feedback_profile_observer.cc View 1 chunk +12 lines, -4 lines 0 comments Download
M chrome/browser/feedback/feedback_report.h View 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/feedback/feedback_report.cc View 1 2 4 chunks +11 lines, -28 lines 0 comments Download
M chrome/browser/feedback/feedback_uploader.h View 1 2 3 chunks +15 lines, -13 lines 0 comments Download
M chrome/browser/feedback/feedback_uploader.cc View 4 chunks +27 lines, -41 lines 0 comments Download
A chrome/browser/feedback/feedback_uploader_chrome.h View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/feedback/feedback_uploader_chrome.cc View 1 1 chunk +58 lines, -0 lines 0 comments Download
M chrome/browser/feedback/feedback_uploader_delegate.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/feedback/feedback_uploader_factory.cc View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/feedback/feedback_uploader_unittest.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
achaulk
Once this and the other CL goes in I'll move the common files to base/feedback ...
6 years, 9 months ago (2014-03-06 20:52:42 UTC) #1
rkc
Adding Zach to do the main review. I'll give it another pass once he's done.
6 years, 9 months ago (2014-03-10 21:55:36 UTC) #2
Zachary Kuznia
https://codereview.chromium.org/186663011/diff/1/chrome/browser/feedback/feedback_uploader_chrome.cc File chrome/browser/feedback/feedback_uploader_chrome.cc (right): https://codereview.chromium.org/186663011/diff/1/chrome/browser/feedback/feedback_uploader_chrome.cc#newcode28 chrome/browser/feedback/feedback_uploader_chrome.cc:28: // static This isn't static https://codereview.chromium.org/186663011/diff/1/chrome/browser/feedback/feedback_uploader_chrome.cc#newcode32 chrome/browser/feedback/feedback_uploader_chrome.cc:32: return base::FilePath(); ...
6 years, 9 months ago (2014-03-10 22:04:51 UTC) #3
achaulk
https://codereview.chromium.org/186663011/diff/1/chrome/browser/feedback/feedback_uploader_chrome.cc File chrome/browser/feedback/feedback_uploader_chrome.cc (right): https://codereview.chromium.org/186663011/diff/1/chrome/browser/feedback/feedback_uploader_chrome.cc#newcode28 chrome/browser/feedback/feedback_uploader_chrome.cc:28: // static Ah. Yeah I moved it from a ...
6 years, 9 months ago (2014-03-10 22:15:12 UTC) #4
rkc
https://codereview.chromium.org/186663011/diff/1/chrome/browser/feedback/feedback_uploader_chrome.cc File chrome/browser/feedback/feedback_uploader_chrome.cc (right): https://codereview.chromium.org/186663011/diff/1/chrome/browser/feedback/feedback_uploader_chrome.cc#newcode32 chrome/browser/feedback/feedback_uploader_chrome.cc:32: return base::FilePath(); On 2014/03/10 22:15:13, achaulk wrote: > This ...
6 years, 9 months ago (2014-03-10 22:18:57 UTC) #5
Zachary Kuznia
https://codereview.chromium.org/186663011/diff/1/chrome/browser/feedback/feedback_uploader_chrome.cc File chrome/browser/feedback/feedback_uploader_chrome.cc (right): https://codereview.chromium.org/186663011/diff/1/chrome/browser/feedback/feedback_uploader_chrome.cc#newcode32 chrome/browser/feedback/feedback_uploader_chrome.cc:32: return base::FilePath(); On 2014/03/10 22:18:57, Rahul Chaturvedi wrote: > ...
6 years, 9 months ago (2014-03-12 19:08:10 UTC) #6
achaulk
https://codereview.chromium.org/186663011/diff/1/chrome/browser/feedback/feedback_uploader_chrome.cc File chrome/browser/feedback/feedback_uploader_chrome.cc (right): https://codereview.chromium.org/186663011/diff/1/chrome/browser/feedback/feedback_uploader_chrome.cc#newcode32 chrome/browser/feedback/feedback_uploader_chrome.cc:32: return base::FilePath(); I'll just inline it into the constructor ...
6 years, 9 months ago (2014-03-12 20:17:56 UTC) #7
Zachary Kuznia
https://codereview.chromium.org/186663011/diff/1/chrome/browser/feedback/feedback_uploader_chrome.cc File chrome/browser/feedback/feedback_uploader_chrome.cc (right): https://codereview.chromium.org/186663011/diff/1/chrome/browser/feedback/feedback_uploader_chrome.cc#newcode32 chrome/browser/feedback/feedback_uploader_chrome.cc:32: return base::FilePath(); On 2014/03/12 20:17:57, achaulk wrote: > I'll ...
6 years, 9 months ago (2014-03-12 20:21:08 UTC) #8
achaulk
ping
6 years, 9 months ago (2014-03-14 18:26:17 UTC) #9
rkc
lgtm I think Zach is OOO. LGTM
6 years, 9 months ago (2014-03-14 21:35:54 UTC) #10
achaulk
The CQ bit was checked by [email protected]
6 years, 9 months ago (2014-03-14 21:41:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/186663011/20001
6 years, 9 months ago (2014-03-14 21:42:06 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by [email protected]
6 years, 9 months ago (2014-03-14 21:42:27 UTC) #13
commit-bot: I haz the power
Failed to apply patch for chrome/browser/feedback/feedback_uploader.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-14 21:42:28 UTC) #14
achaulk
The CQ bit was checked by [email protected]
6 years, 9 months ago (2014-03-17 18:08:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/186663011/40001
6 years, 9 months ago (2014-03-17 18:10:35 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by [email protected]
6 years, 9 months ago (2014-03-17 18:12:53 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_clang_dbg tryserver.chromium on linux_chromium_chromeos_rel tryserver.chromium on linux_chromium_clang_dbg ...
6 years, 9 months ago (2014-03-17 18:12:53 UTC) #18
achaulk
The CQ bit was checked by [email protected]
6 years, 9 months ago (2014-03-17 20:58:40 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/186663011/40001
6 years, 9 months ago (2014-03-17 20:59:46 UTC) #20
commit-bot: I haz the power
6 years, 9 months ago (2014-03-18 00:00:08 UTC) #21
Message was sent while issue was closed.
Change committed as 257534

Powered by Google App Engine
This is Rietveld 408576698