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

Issue 2286743004: Sends switches to the Software Reporter to enable matching data collection. (Closed)

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

Description

Sends switches to the Software Reporter to enable matching data collection. BUG=https://bugs.chromium.org/p/chromium/issues/detail?id=634434 Committed: https://crrev.com/379385b7777ca2b90705226141acdfbb1335f6c4 Cr-Commit-Position: refs/heads/master@{#417278}

Patch Set 1 #

Total comments: 26

Patch Set 2 : Syntax error #

Patch Set 3 : First round of reviews #

Patch Set 4 : More comments #

Patch Set 5 : Missing comment #

Total comments: 4

Patch Set 6 : Second round of reviews #

Total comments: 2

Patch Set 7 : Remove useless log message #

Total comments: 12

Patch Set 8 : Addressing comments and browser tests #

Patch Set 9 : Rebase #

Total comments: 18

Patch Set 10 : More reviews #

Total comments: 8

Patch Set 11 : More reviews #

Total comments: 2

Patch Set 12 : Always clean state on test setup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -25 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/sw_reporter_installer_win.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/safe_browsing/srt_client_info_win.h View 1 2 3 4 5 6 7 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/srt_client_info_win.cc View 1 2 3 4 5 6 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +161 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/srt_fetcher_win.h View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/srt_fetcher_win.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +81 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/srt_global_error_win.cc View 1 2 3 4 5 6 7 8 2 chunks +1 line, -22 lines 0 comments Download
M components/component_updater/pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/component_updater/pref_names.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 55 (17 generated)
ftirelo
4 years, 3 months ago (2016-08-26 21:29:09 UTC) #2
ftirelo
4 years, 3 months ago (2016-08-26 21:29:32 UTC) #4
ftirelo
4 years, 3 months ago (2016-08-26 21:31:51 UTC) #6
alito
Just one question about the new local state pref. https://codereview.chromium.org/2286743004/diff/1/chrome/browser/safe_browsing/srt_client_info_win.cc File chrome/browser/safe_browsing/srt_client_info_win.cc (right): https://codereview.chromium.org/2286743004/diff/1/chrome/browser/safe_browsing/srt_client_info_win.cc#newcode15 chrome/browser/safe_browsing/srt_client_info_win.cc:15: ...
4 years, 3 months ago (2016-08-26 23:18:08 UTC) #7
robertshield
Thoughts of varying usefulness: https://codereview.chromium.org/2286743004/diff/1/chrome/browser/safe_browsing/srt_fetcher_win.cc File chrome/browser/safe_browsing/srt_fetcher_win.cc (right): https://codereview.chromium.org/2286743004/diff/1/chrome/browser/safe_browsing/srt_fetcher_win.cc#newcode374 chrome/browser/safe_browsing/srt_fetcher_win.cc:374: if (profile->IsOffTheRecord()) Not sure this ...
4 years, 3 months ago (2016-08-27 04:04:29 UTC) #8
grt (UTC plus 2)
drive-by https://codereview.chromium.org/2286743004/diff/1/chrome/browser/safe_browsing/srt_client_info_win.cc File chrome/browser/safe_browsing/srt_client_info_win.cc (right): https://codereview.chromium.org/2286743004/diff/1/chrome/browser/safe_browsing/srt_client_info_win.cc#newcode28 chrome/browser/safe_browsing/srt_client_info_win.cc:28: default: remove this so that you get a ...
4 years, 3 months ago (2016-08-28 19:44:22 UTC) #9
ftirelo
Thanks for all the comments. PTAnL. https://codereview.chromium.org/2286743004/diff/1/chrome/browser/safe_browsing/srt_client_info_win.cc File chrome/browser/safe_browsing/srt_client_info_win.cc (right): https://codereview.chromium.org/2286743004/diff/1/chrome/browser/safe_browsing/srt_client_info_win.cc#newcode15 chrome/browser/safe_browsing/srt_client_info_win.cc:15: // static On ...
4 years, 3 months ago (2016-08-29 00:10:37 UTC) #10
grt (UTC plus 2)
https://codereview.chromium.org/2286743004/diff/1/chrome/browser/safe_browsing/srt_client_info_win.cc File chrome/browser/safe_browsing/srt_client_info_win.cc (right): https://codereview.chromium.org/2286743004/diff/1/chrome/browser/safe_browsing/srt_client_info_win.cc#newcode28 chrome/browser/safe_browsing/srt_client_info_win.cc:28: default: On 2016/08/29 00:10:36, ftirelo wrote: > On 2016/08/28 ...
4 years, 3 months ago (2016-08-29 06:56:15 UTC) #11
ftirelo
PTAL. https://codereview.chromium.org/2286743004/diff/80001/chrome/browser/safe_browsing/srt_fetcher_win.cc File chrome/browser/safe_browsing/srt_fetcher_win.cc (right): https://codereview.chromium.org/2286743004/diff/80001/chrome/browser/safe_browsing/srt_fetcher_win.cc#newcode371 chrome/browser/safe_browsing/srt_fetcher_win.cc:371: return std::any_of(browser_list->begin_last_active(), On 2016/08/29 06:56:14, grt (UTC plus ...
4 years, 3 months ago (2016-08-29 15:30:55 UTC) #12
grt (UTC plus 2)
looks good to me. cheers! https://codereview.chromium.org/2286743004/diff/100001/chrome/browser/safe_browsing/srt_client_info_win.cc File chrome/browser/safe_browsing/srt_client_info_win.cc (right): https://codereview.chromium.org/2286743004/diff/100001/chrome/browser/safe_browsing/srt_client_info_win.cc#newcode29 chrome/browser/safe_browsing/srt_client_info_win.cc:29: NOTREACHED() << "Invalid channel: ...
4 years, 3 months ago (2016-08-29 15:53:52 UTC) #13
grt (UTC plus 2)
looks good to me. cheers!
4 years, 3 months ago (2016-08-29 15:53:53 UTC) #14
ftirelo
On 2016/08/29 15:53:53, grt (UTC plus 2) wrote: > looks good to me. cheers! Thanks!
4 years, 3 months ago (2016-08-29 16:19:55 UTC) #15
ftirelo
https://codereview.chromium.org/2286743004/diff/100001/chrome/browser/safe_browsing/srt_client_info_win.cc File chrome/browser/safe_browsing/srt_client_info_win.cc (right): https://codereview.chromium.org/2286743004/diff/100001/chrome/browser/safe_browsing/srt_client_info_win.cc#newcode29 chrome/browser/safe_browsing/srt_client_info_win.cc:29: NOTREACHED() << "Invalid channel: " << static_cast<int>(chrome::GetChannel()); On 2016/08/29 ...
4 years, 3 months ago (2016-08-29 16:29:05 UTC) #16
ftirelo
4 years, 3 months ago (2016-08-29 16:29:08 UTC) #17
ftirelo
https://codereview.chromium.org/2286743004/diff/1/chrome/browser/safe_browsing/srt_client_info_win.cc File chrome/browser/safe_browsing/srt_client_info_win.cc (right): https://codereview.chromium.org/2286743004/diff/1/chrome/browser/safe_browsing/srt_client_info_win.cc#newcode28 chrome/browser/safe_browsing/srt_client_info_win.cc:28: default: On 2016/08/29 06:56:14, grt (UTC plus 2) wrote: ...
4 years, 3 months ago (2016-08-29 16:30:11 UTC) #18
alito
lgtm
4 years, 3 months ago (2016-08-29 20:05:30 UTC) #19
csharp
https://codereview.chromium.org/2286743004/diff/120001/chrome/browser/safe_browsing/srt_client_info_win.h File chrome/browser/safe_browsing/srt_client_info_win.h (right): https://codereview.chromium.org/2286743004/diff/120001/chrome/browser/safe_browsing/srt_client_info_win.h#newcode14 chrome/browser/safe_browsing/srt_client_info_win.h:14: // line. The SRT binary expects to recieve Chrome's ...
4 years, 3 months ago (2016-08-30 13:39:09 UTC) #20
ftirelo
Addressing comments and browser tests
4 years, 3 months ago (2016-08-30 21:19:54 UTC) #21
ftirelo
https://codereview.chromium.org/2286743004/diff/120001/chrome/browser/safe_browsing/srt_client_info_win.h File chrome/browser/safe_browsing/srt_client_info_win.h (right): https://codereview.chromium.org/2286743004/diff/120001/chrome/browser/safe_browsing/srt_client_info_win.h#newcode14 chrome/browser/safe_browsing/srt_client_info_win.h:14: // line. The SRT binary expects to recieve Chrome's ...
4 years, 3 months ago (2016-08-30 21:21:49 UTC) #22
csharp
lgtm https://codereview.chromium.org/2286743004/diff/160001/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc File chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc (right): https://codereview.chromium.org/2286743004/diff/160001/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc#newcode113 chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc:113: EXPECT_LT(now - base::TimeDelta::FromHours(1), last_time_sent_logs); This doesn't seem to ...
4 years, 3 months ago (2016-09-02 21:16:25 UTC) #23
ftirelo
PTAL https://codereview.chromium.org/2286743004/diff/160001/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc File chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc (right): https://codereview.chromium.org/2286743004/diff/160001/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc#newcode113 chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc:113: EXPECT_LT(now - base::TimeDelta::FromHours(1), last_time_sent_logs); On 2016/09/02 21:16:25, csharp ...
4 years, 3 months ago (2016-09-06 16:37:43 UTC) #24
robertshield
lg, one question re. preservation of test state https://codereview.chromium.org/2286743004/diff/180001/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc File chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc (right): https://codereview.chromium.org/2286743004/diff/180001/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc#newcode110 chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc:110: void ...
4 years, 3 months ago (2016-09-07 14:32:10 UTC) #25
Fabio Tirelo
PTAL. If everything is okay, I'll send to owners for approval. https://codereview.chromium.org/2286743004/diff/180001/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc File chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc (right): ...
4 years, 3 months ago (2016-09-07 16:48:56 UTC) #27
ftirelo
4 years, 3 months ago (2016-09-07 16:50:28 UTC) #29
alito2
still lgtm.
4 years, 3 months ago (2016-09-07 17:25:37 UTC) #31
robertshield
lgtm https://codereview.chromium.org/2286743004/diff/200001/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc File chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc (right): https://codereview.chromium.org/2286743004/diff/200001/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc#newcode396 chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc:396: ClearLastTimeSentReport(); nit: Could you move this into the ...
4 years, 3 months ago (2016-09-07 19:21:37 UTC) #32
ftirelo
https://codereview.chromium.org/2286743004/diff/200001/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc File chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc (right): https://codereview.chromium.org/2286743004/diff/200001/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc#newcode396 chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc:396: ClearLastTimeSentReport(); On 2016/09/07 19:21:37, robertshield_OOO_until_Sep_5 wrote: > nit: Could ...
4 years, 3 months ago (2016-09-07 20:31:11 UTC) #33
ftirelo
Adding waffles@ for OWNERS approval on components/component_updater and nparker@ for chrome/browser/safe_browsing.
4 years, 3 months ago (2016-09-07 20:33:27 UTC) #35
waffles
components/component_updater lgtm
4 years, 3 months ago (2016-09-07 21:13:16 UTC) #39
Nathan Parker
Jialiu -- Can you review? Thanks.
4 years, 3 months ago (2016-09-07 22:20:28 UTC) #41
Jialiu Lin
chrome/browser/safe_browsing/ lgtm
4 years, 3 months ago (2016-09-07 22:35:52 UTC) #42
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/2286743004/220001
4 years, 3 months ago (2016-09-07 23:14:55 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/255005)
4 years, 3 months ago (2016-09-07 23:22:06 UTC) #47
ftirelo
Adding jochen@ for OWNERS of chrome/browser/BUILD.gn.
4 years, 3 months ago (2016-09-08 00:44:12 UTC) #49
jochen (gone - plz use gerrit)
lgtm
4 years, 3 months ago (2016-09-08 12:45:37 UTC) #50
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/2286743004/220001
4 years, 3 months ago (2016-09-08 13:57:24 UTC) #52
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 3 months ago (2016-09-08 14:01:24 UTC) #53
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 14:05:02 UTC) #55
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/379385b7777ca2b90705226141acdfbb1335f6c4
Cr-Commit-Position: refs/heads/master@{#417278}

Powered by Google App Engine
This is Rietveld 408576698