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

Issue 341563003: Safe browsing incident reporting service improvements. (Closed)

Created:
6 years, 6 months ago by grt (UTC plus 2)
Modified:
6 years, 6 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Safe browsing incident reporting service improvements. Honour the safe browsing opt out and report on incidents that arrive before profile initialization is complete. BUG=383039, 383365 R=mattm@chromium.org, noms@chromium.org TBR=asvitkine@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278358

Patch Set 1 #

Patch Set 2 : lifecycle, memory management, and doc updates #

Patch Set 3 : unittest #

Patch Set 4 : test coverage for safe browsing opt-out #

Patch Set 5 : fixes #

Patch Set 6 : linux_chromium_clang_dbg compile fix #

Total comments: 20

Patch Set 7 : sync to r278212 #

Patch Set 8 : mattm comments #

Patch Set 9 : sync to r278347 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+392 lines, -81 lines) Patch
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/incident_reporting_service.h View 1 2 3 4 5 6 7 10 chunks +62 lines, -14 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting_service.cc View 1 2 3 4 5 6 7 11 chunks +218 lines, -34 lines 1 comment Download
M chrome/browser/safe_browsing/incident_reporting_service_unittest.cc View 1 2 3 4 5 6 7 8 chunks +95 lines, -26 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 4 5 6 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/common/safe_browsing/csd.proto View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
grt (UTC plus 2)
please take a look. review assignments: mattm: safe_browsing asvitkine: metrics noms: profiles
6 years, 6 months ago (2014-06-18 17:30:22 UTC) #1
mattm
https://codereview.chromium.org/341563003/diff/160001/chrome/browser/safe_browsing/incident_reporting_service.cc File chrome/browser/safe_browsing/incident_reporting_service.cc (right): https://codereview.chromium.org/341563003/diff/160001/chrome/browser/safe_browsing/incident_reporting_service.cc#newcode252 chrome/browser/safe_browsing/incident_reporting_service.cc:252: // The profile is unknown if it has already ...
6 years, 6 months ago (2014-06-18 21:07:18 UTC) #2
grt (UTC plus 2)
Thanks. Please see clarifying questions below. I'll send up another patch set in a little ...
6 years, 6 months ago (2014-06-18 22:47:59 UTC) #3
mattm
https://codereview.chromium.org/341563003/diff/160001/chrome/browser/safe_browsing/incident_reporting_service.cc File chrome/browser/safe_browsing/incident_reporting_service.cc (right): https://codereview.chromium.org/341563003/diff/160001/chrome/browser/safe_browsing/incident_reporting_service.cc#newcode252 chrome/browser/safe_browsing/incident_reporting_service.cc:252: // The profile is unknown if it has already ...
6 years, 6 months ago (2014-06-18 23:05:38 UTC) #4
grt (UTC plus 2)
Thanks for the comments. Patch set 7 is only a sync. Patch set 8 contains ...
6 years, 6 months ago (2014-06-19 02:24:39 UTC) #5
mattm
lgtm
6 years, 6 months ago (2014-06-19 02:47:36 UTC) #6
noms (inactive)
profiles lgtm
6 years, 6 months ago (2014-06-19 13:32:08 UTC) #7
grt (UTC plus 2)
Committed patchset #9 manually as r278358 (presubmit successful).
6 years, 6 months ago (2014-06-19 13:56:32 UTC) #8
Alexei Svitkine (slow)
6 years, 6 months ago (2014-06-19 14:25:03 UTC) #9
Message was sent while issue was closed.
lgtm % nit, I guess now that it's committed the nit isn't super important

In the future, please don't commit changes to histograms without an owner
review. tools/metrics/OWNERS has "set noparent" for a reason.

https://codereview.chromium.org/341563003/diff/240001/chrome/browser/safe_bro...
File chrome/browser/safe_browsing/incident_reporting_service.cc (right):

https://codereview.chromium.org/341563003/diff/240001/chrome/browser/safe_bro...
chrome/browser/safe_browsing/incident_reporting_service.cc:50: static const char
kAcceptedMetric[] = "SBIRS.Incident";
Nit: It's fine to inline these into the macros, rather having static
function-level variables for them.

Powered by Google App Engine
This is Rietveld 408576698