Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Issue 911153002: Moved the TraceUploader to chrome/ and abstracted it for alternative new upload destinations. (Closed)

Created:
5 years, 10 months ago by oystein (OOO til 10th of July)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, dsinclair+watch_chromium.org, jam, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moved the TraceUploader from content/ to chrome/ and did some groundwork for other upload destinations to come. The TraceUploader is using Google APIs and should not be under content/. R=nduca,dsinclair,creis,thestig BUG=457323 Committed: https://crrev.com/c563c582a8fe77aa2204c3164cae28161d5bcea6 Cr-Commit-Position: refs/heads/master@{#316258}

Patch Set 1 : #

Total comments: 7

Patch Set 2 : Review fixes #

Patch Set 3 : Instantiate delegate on non-Android only #

Patch Set 4 : Fix TraceUploader ownership #

Total comments: 16

Patch Set 5 : Review fixes #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -468 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
A + chrome/browser/tracing/OWNERS View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/browser/tracing/chrome_tracing_delegate.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/browser/tracing/chrome_tracing_delegate.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
A + chrome/browser/tracing/crash_service_uploader.h View 1 2 3 5 chunks +22 lines, -30 lines 0 comments Download
A + chrome/browser/tracing/crash_service_uploader.cc View 1 2 3 4 7 chunks +120 lines, -68 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
D content/browser/tracing/trace_uploader.h View 1 chunk +0 lines, -92 lines 0 comments Download
D content/browser/tracing/trace_uploader.cc View 1 chunk +0 lines, -212 lines 0 comments Download
M content/browser/tracing/tracing_ui.h View 1 2 3 4 2 chunks +6 lines, -3 lines 0 comments Download
M content/browser/tracing/tracing_ui.cc View 1 2 3 4 5 6 chunks +21 lines, -61 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A content/public/browser/trace_uploader.h View 1 2 3 4 1 chunk +34 lines, -0 lines 0 comments Download
A content/public/browser/tracing_delegate.h View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (8 generated)
oystein (OOO til 10th of July)
creis/thestig: Does this look like a reasonable way to interact with the trace upload chrome/ ...
5 years, 10 months ago (2015-02-10 19:30:52 UTC) #3
oystein (OOO til 10th of July)
(content/browser/tracing/tracing_ui.cc is a good starting point to follow the flow)
5 years, 10 months ago (2015-02-10 19:31:56 UTC) #4
Lei Zhang
copy the OWNERS file over to chrome/browser/tracing ? https://codereview.chromium.org/911153002/diff/20001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): https://codereview.chromium.org/911153002/diff/20001/chrome/chrome_browser.gypi#newcode2780 chrome/chrome_browser.gypi:2780: 'chrome_browser_tracing_sources': ...
5 years, 10 months ago (2015-02-10 20:32:33 UTC) #5
oystein (OOO til 10th of July)
On 2015/02/10 20:32:33, Lei Zhang wrote: > copy the OWNERS file over to chrome/browser/tracing ? ...
5 years, 10 months ago (2015-02-10 21:08:13 UTC) #6
Lei Zhang
chrome/ lgtm https://codereview.chromium.org/911153002/diff/20001/chrome/browser/tracing/chrome_tracing_delegate.h File chrome/browser/tracing/chrome_tracing_delegate.h (right): https://codereview.chromium.org/911153002/diff/20001/chrome/browser/tracing/chrome_tracing_delegate.h#newcode12 chrome/browser/tracing/chrome_tracing_delegate.h:12: content::TraceUploader* GetTraceUploader( Is it possible to change ...
5 years, 10 months ago (2015-02-10 22:28:16 UTC) #7
oystein (OOO til 10th of July)
Thanks thestig! https://codereview.chromium.org/911153002/diff/20001/chrome/browser/tracing/chrome_tracing_delegate.h File chrome/browser/tracing/chrome_tracing_delegate.h (right): https://codereview.chromium.org/911153002/diff/20001/chrome/browser/tracing/chrome_tracing_delegate.h#newcode12 chrome/browser/tracing/chrome_tracing_delegate.h:12: content::TraceUploader* GetTraceUploader( On 2015/02/10 22:28:16, Lei Zhang ...
5 years, 10 months ago (2015-02-10 23:40:15 UTC) #9
oystein (OOO til 10th of July)
dsinclair: ping :)
5 years, 10 months ago (2015-02-12 16:15:00 UTC) #11
Charlie Reis
Seems reasonable to me. content/ LGTM with nits. https://codereview.chromium.org/911153002/diff/100001/content/public/browser/content_browser_client.h File content/public/browser/content_browser_client.h (right): https://codereview.chromium.org/911153002/diff/100001/content/public/browser/content_browser_client.h#newcode107 content/public/browser/content_browser_client.h:107: class ...
5 years, 10 months ago (2015-02-12 17:11:32 UTC) #12
dsinclair
https://codereview.chromium.org/911153002/diff/100001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/911153002/diff/100001/chrome/browser/chrome_content_browser_client.cc#newcode2597 chrome/browser/chrome_content_browser_client.cc:2597: #if !defined(OS_ANDROID) We don't allow uploading from android? https://codereview.chromium.org/911153002/diff/100001/chrome/browser/tracing/crash_service_uploader.cc ...
5 years, 10 months ago (2015-02-12 20:57:35 UTC) #13
oystein (OOO til 10th of July)
Thanks guys! dsinclair: looks OK? https://codereview.chromium.org/911153002/diff/100001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/911153002/diff/100001/chrome/browser/chrome_content_browser_client.cc#newcode2597 chrome/browser/chrome_content_browser_client.cc:2597: #if !defined(OS_ANDROID) On 2015/02/12 ...
5 years, 10 months ago (2015-02-13 17:02:45 UTC) #15
Charlie Reis
Thanks. content/public changes LGTM.
5 years, 10 months ago (2015-02-13 17:19:16 UTC) #16
dsinclair
lgtm
5 years, 10 months ago (2015-02-13 17:43:15 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/911153002/140001
5 years, 10 months ago (2015-02-13 17:44:22 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/24885)
5 years, 10 months ago (2015-02-13 18:37:31 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/911153002/140001
5 years, 10 months ago (2015-02-13 18:39:35 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:140001)
5 years, 10 months ago (2015-02-13 19:20:04 UTC) #24
commit-bot: I haz the power
5 years, 10 months ago (2015-02-13 19:20:47 UTC) #25
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c563c582a8fe77aa2204c3164cae28161d5bcea6
Cr-Commit-Position: refs/heads/master@{#316258}

Powered by Google App Engine
This is Rietveld 408576698