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

Issue 411793004: More fine-grained pruning in safe browsing incident reporting service. (Closed)

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

Description

More fine-grained pruning in safe browsing incident reporting service. BUG=396398 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285491

Patch Set 1 #

Total comments: 13

Patch Set 2 : gab comments #

Total comments: 16

Patch Set 3 : extract incident-specific code into its own file #

Total comments: 2

Patch Set 4 : shess improvements #

Total comments: 2

Patch Set 5 : compile_assert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+413 lines, -38 lines) Patch
M chrome/browser/prefs/chrome_pref_service_factory.cc View 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile.cc View 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/incident_handler_util.h View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/incident_handler_util.cc View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting_service.cc View 1 2 3 4 12 chunks +154 lines, -34 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting_service_unittest.cc View 7 chunks +70 lines, -3 lines 0 comments Download
A chrome/browser/safe_browsing/tracked_preference_incident_handlers.h View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/tracked_preference_incident_handlers.cc View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/tracked_preference_incident_handlers_unittest.cc View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
grt (UTC plus 2)
gab: chrome/browser/prefs/chrome_pref_service_factory.cc noms: chrome/browser/profiles/profile.cc shess: chrome/browser/safe_browsing/* thanks.
6 years, 5 months ago (2014-07-23 02:52:09 UTC) #1
gab
prefs lgtm + drive-by comments on the overall change. https://codereview.chromium.org/411793004/diff/60001/chrome/browser/safe_browsing/incident_reporting_service.cc File chrome/browser/safe_browsing/incident_reporting_service.cc (right): https://codereview.chromium.org/411793004/diff/60001/chrome/browser/safe_browsing/incident_reporting_service.cc#newcode180 chrome/browser/safe_browsing/incident_reporting_service.cc:180: ...
6 years, 5 months ago (2014-07-23 13:58:11 UTC) #2
grt (UTC plus 2)
Thanks! Please have a look at the changes I've made. https://codereview.chromium.org/411793004/diff/60001/chrome/browser/safe_browsing/incident_reporting_service.cc File chrome/browser/safe_browsing/incident_reporting_service.cc (right): https://codereview.chromium.org/411793004/diff/60001/chrome/browser/safe_browsing/incident_reporting_service.cc#newcode180 ...
6 years, 5 months ago (2014-07-23 14:45:19 UTC) #3
gab
lgtm for use of string for uint. Regarding iterator versus index for looping, I prefer ...
6 years, 5 months ago (2014-07-23 15:00:23 UTC) #4
noms (inactive)
c/b/profiles lgtm
6 years, 5 months ago (2014-07-23 17:50:40 UTC) #5
Scott Hess - ex-Googler
Some quibbling with the structure of the new code, possibly because I'm not super familiar ...
6 years, 5 months ago (2014-07-23 22:05:51 UTC) #6
grt (UTC plus 2)
Thanks for the comments. PTAL. https://codereview.chromium.org/411793004/diff/80001/chrome/browser/safe_browsing/incident_reporting_service.cc File chrome/browser/safe_browsing/incident_reporting_service.cc (right): https://codereview.chromium.org/411793004/diff/80001/chrome/browser/safe_browsing/incident_reporting_service.cc#newcode63 chrome/browser/safe_browsing/incident_reporting_service.cc:63: }; On 2014/07/23 22:05:51, ...
6 years, 5 months ago (2014-07-24 18:58:40 UTC) #7
Scott Hess - ex-Googler
LGTM. You've gotten co-conspirator buy-in, and I'm mostly just lazily picking nits rather than doing ...
6 years, 5 months ago (2014-07-24 21:22:20 UTC) #8
grt (UTC plus 2)
Thank, Scott. PTAL. https://codereview.chromium.org/411793004/diff/80001/chrome/browser/safe_browsing/incident_reporting_service.cc File chrome/browser/safe_browsing/incident_reporting_service.cc (right): https://codereview.chromium.org/411793004/diff/80001/chrome/browser/safe_browsing/incident_reporting_service.cc#newcode102 chrome/browser/safe_browsing/incident_reporting_service.cc:102: const IncidentTypeHandlers* GetIncidentTypeHandlers(IncidentType type) { On ...
6 years, 5 months ago (2014-07-24 22:58:12 UTC) #9
grt (UTC plus 2)
On 2014/07/24 22:58:12, grt wrote: > Thank, Scott. PTAL. Ah, and please hit the CQ ...
6 years, 5 months ago (2014-07-24 23:01:26 UTC) #10
Scott Hess - ex-Googler
LGTM - I will leave c-q unchecked so that you have the option to push ...
6 years, 5 months ago (2014-07-24 23:09:54 UTC) #11
grt (UTC plus 2)
The CQ bit was checked by grt@chromium.org
6 years, 5 months ago (2014-07-24 23:21:23 UTC) #12
grt (UTC plus 2)
I like breaking compilation. Thanks for the idea. https://codereview.chromium.org/411793004/diff/120001/chrome/browser/safe_browsing/incident_reporting_service.cc File chrome/browser/safe_browsing/incident_reporting_service.cc (right): https://codereview.chromium.org/411793004/diff/120001/chrome/browser/safe_browsing/incident_reporting_service.cc#newcode120 chrome/browser/safe_browsing/incident_reporting_service.cc:120: break; ...
6 years, 5 months ago (2014-07-24 23:22:08 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/411793004/140001
6 years, 5 months ago (2014-07-24 23:25:54 UTC) #14
Scott Hess - ex-Googler
On 2014/07/24 23:22:08, grt wrote: > I like breaking compilation. Thanks for the idea. > ...
6 years, 5 months ago (2014-07-25 01:08:26 UTC) #15
commit-bot: I haz the power
6 years, 5 months ago (2014-07-25 05:45:05 UTC) #16
Message was sent while issue was closed.
Change committed as 285491

Powered by Google App Engine
This is Rietveld 408576698