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

Issue 1164023002: Slow Reports: Set a minimum time in between reports, and check for OTR sessions (Closed)

Created:
5 years, 6 months ago by oystein (OOO til 10th of July)
Modified:
5 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, tracing+reviews_chromium.org, 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

Slow Reports, Chrome-side vetoes: Set a minimum time in between reports, check for OTR sessions, and be paranoid about crashes. R=dsinclair,shatch BUG=496243 Committed: https://crrev.com/386fc9eafc77b4f0ea3606a5d440b5fb9563cca5 Cr-Commit-Position: refs/heads/master@{#333230}

Patch Set 1 : #

Total comments: 17

Patch Set 2 : Review fixes #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Total comments: 2

Patch Set 5 : content_browsertest fixes #

Total comments: 4

Patch Set 6 : Review fixes #

Patch Set 7 : Review fixes #

Patch Set 8 : Buildfix #

Total comments: 2

Patch Set 9 : Alphabetize #

Patch Set 10 : Buildfix #

Patch Set 11 : Buildfixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+386 lines, -8 lines) Patch
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/tracing/chrome_tracing_delegate.h View 1 2 3 4 5 1 chunk +24 lines, -1 line 0 comments Download
M chrome/browser/tracing/chrome_tracing_delegate.cc View 1 2 3 4 5 1 chunk +92 lines, -0 lines 0 comments Download
A chrome/browser/tracing/chrome_tracing_delegate_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +187 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.h View 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/tracing/background_tracing_manager_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/tracing/background_tracing_manager_impl.cc View 1 2 3 4 5 6 7 8 9 6 chunks +35 lines, -6 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/tracing_delegate.h View 1 2 3 4 5 6 7 1 chunk +16 lines, -1 line 0 comments Download
A content/public/browser/tracing_delegate.cc View 1 2 3 4 5 6 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
oystein (OOO til 10th of July)
ptal!
5 years, 6 months ago (2015-06-03 18:01:25 UTC) #1
dsinclair
https://codereview.chromium.org/1164023002/diff/20001/chrome/browser/tracing/chrome_tracing_delegate.cc File chrome/browser/tracing/chrome_tracing_delegate.cc (right): https://codereview.chromium.org/1164023002/diff/20001/chrome/browser/tracing/chrome_tracing_delegate.cc#newcode23 chrome/browser/tracing/chrome_tracing_delegate.cc:23: const int kMinDaysAllowedSinceLastUpload = 7; kMinDaysUntilNextUpload? https://codereview.chromium.org/1164023002/diff/20001/chrome/browser/tracing/chrome_tracing_delegate.cc#newcode28 chrome/browser/tracing/chrome_tracing_delegate.cc:28: registry->RegisterInt64Pref(prefs::kBackgroundTracingLastUpload, ...
5 years, 6 months ago (2015-06-04 14:54:00 UTC) #3
oystein (OOO til 10th of July)
Thanks dan! https://codereview.chromium.org/1164023002/diff/20001/chrome/browser/tracing/chrome_tracing_delegate.cc File chrome/browser/tracing/chrome_tracing_delegate.cc (right): https://codereview.chromium.org/1164023002/diff/20001/chrome/browser/tracing/chrome_tracing_delegate.cc#newcode23 chrome/browser/tracing/chrome_tracing_delegate.cc:23: const int kMinDaysAllowedSinceLastUpload = 7; On 2015/06/04 ...
5 years, 6 months ago (2015-06-04 20:18:43 UTC) #4
dsinclair
lgtm
5 years, 6 months ago (2015-06-04 20:23:50 UTC) #5
oystein (OOO til 10th of July)
Thanks dan! +sievers for content/public +gab for chrome/browser/prefs
5 years, 6 months ago (2015-06-04 20:31:31 UTC) #7
no sievers
content/public lgtm https://codereview.chromium.org/1164023002/diff/80001/content/public/browser/tracing_delegate.h File content/public/browser/tracing_delegate.h (right): https://codereview.chromium.org/1164023002/diff/80001/content/public/browser/tracing_delegate.h#newcode35 content/public/browser/tracing_delegate.h:35: bool requires_anonymized_data) = 0; nit: Usually the ...
5 years, 6 months ago (2015-06-04 22:55:34 UTC) #8
gab
Looking solely at prefs. https://codereview.chromium.org/1164023002/diff/100001/chrome/browser/tracing/chrome_tracing_delegate.h File chrome/browser/tracing/chrome_tracing_delegate.h (right): https://codereview.chromium.org/1164023002/diff/100001/chrome/browser/tracing/chrome_tracing_delegate.h#newcode13 chrome/browser/tracing/chrome_tracing_delegate.h:13: void RegisterTracingPrefs(PrefRegistrySimple* registry); Make this ...
5 years, 6 months ago (2015-06-05 14:02:42 UTC) #9
oystein (OOO til 10th of July)
Thanks everyone! https://codereview.chromium.org/1164023002/diff/80001/content/public/browser/tracing_delegate.h File content/public/browser/tracing_delegate.h (right): https://codereview.chromium.org/1164023002/diff/80001/content/public/browser/tracing_delegate.h#newcode35 content/public/browser/tracing_delegate.h:35: bool requires_anonymized_data) = 0; On 2015/06/04 22:55:34, ...
5 years, 6 months ago (2015-06-05 21:14:43 UTC) #10
gab
prefs lgtm w/ nit https://codereview.chromium.org/1164023002/diff/160001/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/1164023002/diff/160001/chrome/browser/prefs/browser_prefs.cc#newcode266 chrome/browser/prefs/browser_prefs.cc:266: ChromeTracingDelegate::RegisterPrefs(registry); nit: Sort with the ...
5 years, 6 months ago (2015-06-06 01:09:16 UTC) #11
oystein (OOO til 10th of July)
Thanks! https://codereview.chromium.org/1164023002/diff/160001/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/1164023002/diff/160001/chrome/browser/prefs/browser_prefs.cc#newcode266 chrome/browser/prefs/browser_prefs.cc:266: ChromeTracingDelegate::RegisterPrefs(registry); On 2015/06/06 01:09:16, gab wrote: > nit: ...
5 years, 6 months ago (2015-06-06 05:33:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1164023002/170001
5 years, 6 months ago (2015-06-06 05:33:30 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/78816) android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 6 months ago (2015-06-06 05:51:38 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1164023002/190001
5 years, 6 months ago (2015-06-06 05:54:44 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/79446)
5 years, 6 months ago (2015-06-06 06:09:12 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1164023002/210001
5 years, 6 months ago (2015-06-07 17:53:02 UTC) #25
commit-bot: I haz the power
Committed patchset #11 (id:210001)
5 years, 6 months ago (2015-06-07 18:45:52 UTC) #26
commit-bot: I haz the power
5 years, 6 months ago (2015-06-07 18:46:53 UTC) #27
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/386fc9eafc77b4f0ea3606a5d440b5fb9563cca5
Cr-Commit-Position: refs/heads/master@{#333230}

Powered by Google App Engine
This is Rietveld 408576698