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

Issue 2347753002: Adds histograms for tracking Software Reporter logs uploads in SRT Fetcher. (Closed)

Created:
4 years, 3 months ago by ftirelo
Modified:
4 years, 3 months ago
CC:
chromium-reviews, grt+watch_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds histograms for tracking Software Reporter logs uploads in SRT Fetcher. BUG=634434 Committed: https://crrev.com/c327e32928d28397da473e471c1fd77c8d2af638 Cr-Commit-Position: refs/heads/master@{#420516}

Patch Set 1 #

Patch Set 2 : Rename Invocation::Flags and add boolean for logs upload to the invocation #

Patch Set 3 : Fix comment in RunSwReporterAfterStartup #

Total comments: 28

Patch Set 4 : Addressing comments #

Patch Set 5 : More comments #

Patch Set 6 : More comments #

Total comments: 4

Patch Set 7 : No enum class for ftirelo #

Total comments: 10

Patch Set 8 : Registry error histogram and more comments #

Total comments: 6

Patch Set 9 : Improves comments in histograms.xml #

Total comments: 5

Patch Set 10 : Define constant #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -98 lines) Patch
M chrome/browser/component_updater/sw_reporter_installer_win.cc View 1 2 3 4 5 6 7 4 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/component_updater/sw_reporter_installer_win_unittest.cc View 1 2 3 4 5 6 7 6 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/srt_fetcher_win.h View 1 2 3 4 5 6 7 2 chunks +16 lines, -10 lines 0 comments Download
M chrome/browser/safe_browsing/srt_fetcher_win.cc View 1 2 3 4 5 6 7 8 9 13 chunks +165 lines, -63 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 2 chunks +51 lines, -0 lines 0 comments Download

Messages

Total messages: 55 (31 generated)
ftirelo
Note: I'm also renaming SwReporterInvocation::flags to SwReporterInvocation::supported_behaviours (as a consequence, the enum was also renamed), ...
4 years, 3 months ago (2016-09-16 14:36:29 UTC) #2
Joe Mason
lgtm with nits https://codereview.chromium.org/2347753002/diff/40001/chrome/browser/component_updater/sw_reporter_installer_win.cc File chrome/browser/component_updater/sw_reporter_installer_win.cc (right): https://codereview.chromium.org/2347753002/diff/40001/chrome/browser/component_updater/sw_reporter_installer_win.cc#newcode122 chrome/browser/component_updater/sw_reporter_installer_win.cc:122: // Schedules the software reporter to ...
4 years, 3 months ago (2016-09-16 14:57:13 UTC) #3
ftirelo
Thanks. Joe's comments addressed. https://codereview.chromium.org/2347753002/diff/40001/chrome/browser/component_updater/sw_reporter_installer_win.cc File chrome/browser/component_updater/sw_reporter_installer_win.cc (right): https://codereview.chromium.org/2347753002/diff/40001/chrome/browser/component_updater/sw_reporter_installer_win.cc#newcode122 chrome/browser/component_updater/sw_reporter_installer_win.cc:122: // Schedules the software reporter ...
4 years, 3 months ago (2016-09-16 15:34:42 UTC) #4
grt (UTC plus 2)
https://codereview.chromium.org/2347753002/diff/40001/chrome/browser/component_updater/sw_reporter_installer_win.cc File chrome/browser/component_updater/sw_reporter_installer_win.cc (right): https://codereview.chromium.org/2347753002/diff/40001/chrome/browser/component_updater/sw_reporter_installer_win.cc#newcode122 chrome/browser/component_updater/sw_reporter_installer_win.cc:122: // Schedules the software reporter to run after browser ...
4 years, 3 months ago (2016-09-16 15:59:21 UTC) #5
ftirelo
Thanks for the excellent review! PTAnL https://codereview.chromium.org/2347753002/diff/40001/chrome/browser/component_updater/sw_reporter_installer_win.cc File chrome/browser/component_updater/sw_reporter_installer_win.cc (right): https://codereview.chromium.org/2347753002/diff/40001/chrome/browser/component_updater/sw_reporter_installer_win.cc#newcode122 chrome/browser/component_updater/sw_reporter_installer_win.cc:122: // Schedules the ...
4 years, 3 months ago (2016-09-16 19:26:55 UTC) #6
grt (UTC plus 2)
https://codereview.chromium.org/2347753002/diff/100001/chrome/browser/safe_browsing/srt_fetcher_win.cc File chrome/browser/safe_browsing/srt_fetcher_win.cc (right): https://codereview.chromium.org/2347753002/diff/100001/chrome/browser/safe_browsing/srt_fetcher_win.cc#newcode117 chrome/browser/safe_browsing/srt_fetcher_win.cc:117: // Used to send UMA information showing whether Software ...
4 years, 3 months ago (2016-09-16 20:12:43 UTC) #15
ftirelo
PTAnL https://codereview.chromium.org/2347753002/diff/100001/chrome/browser/safe_browsing/srt_fetcher_win.cc File chrome/browser/safe_browsing/srt_fetcher_win.cc (right): https://codereview.chromium.org/2347753002/diff/100001/chrome/browser/safe_browsing/srt_fetcher_win.cc#newcode117 chrome/browser/safe_browsing/srt_fetcher_win.cc:117: // Used to send UMA information showing whether ...
4 years, 3 months ago (2016-09-16 21:00:10 UTC) #16
grt (UTC plus 2)
lgtm
4 years, 3 months ago (2016-09-18 19:25:09 UTC) #21
Joe Mason
lgtm
4 years, 3 months ago (2016-09-19 14:02:04 UTC) #22
csharp
lgtm https://codereview.chromium.org/2347753002/diff/110001/chrome/browser/safe_browsing/srt_fetcher_win.cc File chrome/browser/safe_browsing/srt_fetcher_win.cc (right): https://codereview.chromium.org/2347753002/diff/110001/chrome/browser/safe_browsing/srt_fetcher_win.cc#newcode367 chrome/browser/safe_browsing/srt_fetcher_win.cc:367: Before recording logs_upload_result, could you force it to ...
4 years, 3 months ago (2016-09-20 14:29:54 UTC) #23
csharp
https://codereview.chromium.org/2347753002/diff/110001/chrome/browser/safe_browsing/srt_fetcher_win.cc File chrome/browser/safe_browsing/srt_fetcher_win.cc (right): https://codereview.chromium.org/2347753002/diff/110001/chrome/browser/safe_browsing/srt_fetcher_win.cc#newcode367 chrome/browser/safe_browsing/srt_fetcher_win.cc:367: On 2016/09/20 14:29:54, csharp wrote: > Before recording logs_upload_result, ...
4 years, 3 months ago (2016-09-20 15:19:29 UTC) #24
ftirelo
https://codereview.chromium.org/2347753002/diff/110001/chrome/browser/safe_browsing/srt_fetcher_win.cc File chrome/browser/safe_browsing/srt_fetcher_win.cc (right): https://codereview.chromium.org/2347753002/diff/110001/chrome/browser/safe_browsing/srt_fetcher_win.cc#newcode367 chrome/browser/safe_browsing/srt_fetcher_win.cc:367: On 2016/09/20 15:19:28, csharp wrote: > On 2016/09/20 14:29:54, ...
4 years, 3 months ago (2016-09-20 16:41:42 UTC) #25
ftirelo
4 years, 3 months ago (2016-09-20 16:43:16 UTC) #27
jwd
LGTM with comments. https://codereview.chromium.org/2347753002/diff/130001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2347753002/diff/130001/tools/metrics/histograms/histograms.xml#newcode57759 tools/metrics/histograms/histograms.xml:57759: + disabled. Mention when it's recorded. ...
4 years, 3 months ago (2016-09-20 22:27:57 UTC) #34
ftirelo
https://codereview.chromium.org/2347753002/diff/130001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2347753002/diff/130001/tools/metrics/histograms/histograms.xml#newcode57759 tools/metrics/histograms/histograms.xml:57759: + disabled. On 2016/09/20 22:27:57, jwd wrote: > Mention ...
4 years, 3 months ago (2016-09-21 16:47:10 UTC) #37
ftirelo
Adding jialiul@ and sorin@ for OWNERS approvals.
4 years, 3 months ago (2016-09-21 16:49:33 UTC) #39
Jialiu Lin
lgtm with nits for chrome/browser/safe_browsing/... https://codereview.chromium.org/2347753002/diff/150001/chrome/browser/safe_browsing/srt_fetcher_win.cc File chrome/browser/safe_browsing/srt_fetcher_win.cc (right): https://codereview.chromium.org/2347753002/diff/150001/chrome/browser/safe_browsing/srt_fetcher_win.cc#newcode163 chrome/browser/safe_browsing/srt_fetcher_win.cc:163: const int kSwReporterLogsUploadResultMax = ...
4 years, 3 months ago (2016-09-21 17:41:18 UTC) #42
ftirelo
https://codereview.chromium.org/2347753002/diff/150001/chrome/browser/safe_browsing/srt_fetcher_win.cc File chrome/browser/safe_browsing/srt_fetcher_win.cc (right): https://codereview.chromium.org/2347753002/diff/150001/chrome/browser/safe_browsing/srt_fetcher_win.cc#newcode163 chrome/browser/safe_browsing/srt_fetcher_win.cc:163: const int kSwReporterLogsUploadResultMax = 30; On 2016/09/21 17:41:18, Jialiu ...
4 years, 3 months ago (2016-09-21 18:45:18 UTC) #45
ftirelo
4 years, 3 months ago (2016-09-21 18:47:33 UTC) #47
Jialiu Lin
https://codereview.chromium.org/2347753002/diff/150001/chrome/browser/safe_browsing/srt_fetcher_win.cc File chrome/browser/safe_browsing/srt_fetcher_win.cc (right): https://codereview.chromium.org/2347753002/diff/150001/chrome/browser/safe_browsing/srt_fetcher_win.cc#newcode163 chrome/browser/safe_browsing/srt_fetcher_win.cc:163: const int kSwReporterLogsUploadResultMax = 30; On 2016/09/21 18:45:18, ftirelo ...
4 years, 3 months ago (2016-09-21 18:48:32 UTC) #48
Sorin Jianu
lgtm component updater paths lgtm
4 years, 3 months ago (2016-09-22 16:56:41 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2347753002/170001
4 years, 3 months ago (2016-09-22 23:30:22 UTC) #52
commit-bot: I haz the power
Committed patchset #10 (id:170001)
4 years, 3 months ago (2016-09-23 00:58:41 UTC) #53
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 01:00:25 UTC) #55
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/c327e32928d28397da473e471c1fd77c8d2af638
Cr-Commit-Position: refs/heads/master@{#420516}

Powered by Google App Engine
This is Rietveld 408576698