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 495643002: Trigger the SW reporter to run once a week for users with UMA enabled. (Closed)

Created:
6 years, 4 months ago by csharp
Modified:
6 years, 3 months ago
CC:
chromium-reviews, Ilya Sherman, asvitkine+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Trigger the SW reporter to run once a week for users with UMA enabled. TBR=jam@chromium.org BUG=405932 Committed: https://crrev.com/8c2d27877e580ea79b6a3be70260d091c9ba8f89 Cr-Commit-Position: refs/heads/master@{#294175}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Responding to comments #

Total comments: 4

Patch Set 3 : Responding to comments #

Patch Set 4 : Rebasing #

Patch Set 5 : Always register swreporter #

Patch Set 6 : Rebasing #

Patch Set 7 : Fixing namespace issue #

Patch Set 8 : Fix namespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -127 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/component_updater/sw_reporter_installer_win.h View 1 2 3 4 1 chunk +4 lines, -15 lines 0 comments Download
M chrome/browser/component_updater/sw_reporter_installer_win.cc View 1 2 3 4 6 chunks +52 lines, -90 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_accessor.h View 1 2 3 4 5 6 7 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/profile_resetter/profile_resetter.cc View 1 2 3 chunks +0 lines, -16 lines 0 comments Download
M components/component_updater/pref_names.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/component_updater/pref_names.cc View 1 2 3 4 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 27 (5 generated)
csharp
mad@ for an overall review asvitkine@ to ensure this is a proper use of ChromeMetricsServiceAccessor
6 years, 4 months ago (2014-08-20 19:00:09 UTC) #1
MAD
As discussed, we should remove the code triggering the reporter from the reset prompt... And ...
6 years, 4 months ago (2014-08-21 15:12:25 UTC) #2
csharp
https://codereview.chromium.org/495643002/diff/1/chrome/browser/component_updater/sw_reporter_installer_win.cc File chrome/browser/component_updater/sw_reporter_installer_win.cc (right): https://codereview.chromium.org/495643002/diff/1/chrome/browser/component_updater/sw_reporter_installer_win.cc#newcode292 chrome/browser/component_updater/sw_reporter_installer_win.cc:292: ChromeMetricsServiceAccessor::IsMetricsReportingEnabled()) { On 2014/08/21 15:12:25, MAD wrote: > I ...
6 years, 4 months ago (2014-08-21 17:13:59 UTC) #3
MAD
Thanks! LGTM with one more request... BYE MAD https://codereview.chromium.org/495643002/diff/20001/chrome/browser/profile_resetter/profile_resetter.cc File chrome/browser/profile_resetter/profile_resetter.cc (left): https://codereview.chromium.org/495643002/diff/20001/chrome/browser/profile_resetter/profile_resetter.cc#oldcode37 chrome/browser/profile_resetter/profile_resetter.cc:37: #include ...
6 years, 4 months ago (2014-08-22 18:14:51 UTC) #4
waffles
https://codereview.chromium.org/495643002/diff/20001/chrome/browser/profile_resetter/profile_resetter.cc File chrome/browser/profile_resetter/profile_resetter.cc (left): https://codereview.chromium.org/495643002/diff/20001/chrome/browser/profile_resetter/profile_resetter.cc#oldcode142 chrome/browser/profile_resetter/profile_resetter.cc:142: With this code now gone, how does a user ...
6 years, 4 months ago (2014-08-22 18:52:54 UTC) #5
MAD
https://codereview.chromium.org/495643002/diff/20001/chrome/browser/profile_resetter/profile_resetter.cc File chrome/browser/profile_resetter/profile_resetter.cc (left): https://codereview.chromium.org/495643002/diff/20001/chrome/browser/profile_resetter/profile_resetter.cc#oldcode142 chrome/browser/profile_resetter/profile_resetter.cc:142: ExecuteSwReporter is now called when it wasn't called in ...
6 years, 4 months ago (2014-08-22 19:02:09 UTC) #6
Alexei Svitkine (slow)
ChromeMetricsServiceAccessor lgtm
6 years, 4 months ago (2014-08-22 19:10:31 UTC) #7
waffles
On 2014/08/22 19:02:09, MAD wrote: > https://codereview.chromium.org/495643002/diff/20001/chrome/browser/profile_resetter/profile_resetter.cc > File chrome/browser/profile_resetter/profile_resetter.cc (left): > > https://codereview.chromium.org/495643002/diff/20001/chrome/browser/profile_resetter/profile_resetter.cc#oldcode142 > ...
6 years, 4 months ago (2014-08-22 19:31:03 UTC) #8
csharp
Permanently registering sounds like a reasonable change to me. What is required to do that? ...
6 years, 4 months ago (2014-08-22 19:39:22 UTC) #9
MAD
I think the idea is to always register/download it, and move the seven days execution ...
6 years, 3 months ago (2014-08-26 10:31:56 UTC) #10
csharp
csharp@chromium.org changed reviewers: + waffles@chromium.org
6 years, 3 months ago (2014-08-26 20:09:33 UTC) #11
csharp
Ok, I've modified the component so that we also install the SwReporter for all users ...
6 years, 3 months ago (2014-08-26 20:09:34 UTC) #12
waffles
lgtm sorry for the delay, I forgot that I was added as a reviewer
6 years, 3 months ago (2014-09-02 23:54:39 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/495643002/80001
6 years, 3 months ago (2014-09-03 11:16:59 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 3 months ago (2014-09-03 12:13:53 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/8379)
6 years, 3 months ago (2014-09-03 12:18:24 UTC) #18
csharp
engedy@ for owner's approval of change to profile_resetter.cc jam@ for owner's approval of change to ...
6 years, 3 months ago (2014-09-09 18:21:44 UTC) #21
engedy
On 2014/09/09 18:21:44, csharp wrote: > engedy@ for owner's approval of change to profile_resetter.cc > ...
6 years, 3 months ago (2014-09-09 18:29:32 UTC) #22
csharp
tbr'ing jam@ since change to chrome_browser_main.cc is just changing the name of a function that ...
6 years, 3 months ago (2014-09-10 14:07:59 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/495643002/160001
6 years, 3 months ago (2014-09-10 14:21:24 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:160001) as c565a308c8055ee26d3ed82180c0a933d33c8e60
6 years, 3 months ago (2014-09-10 15:36:41 UTC) #26
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 15:38:59 UTC) #27
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/8c2d27877e580ea79b6a3be70260d091c9ba8f89
Cr-Commit-Position: refs/heads/master@{#294175}

Powered by Google App Engine
This is Rietveld 408576698