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

Issue 720163003: Safe Browsing: Add Omnibox Interaction Incident Reporter (Closed)

Created:
6 years, 1 month ago by Mark P
Modified:
6 years ago
CC:
chromium-reviews, grt+watch_chromium.org, asvitkine+watch_chromium.org, noms (inactive)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Safe Browsing: Add Omnibox Interaction Incident Reporter Tested. Seems to work (records the right histogram values when I expect it to trigger; doesn't record them when I don't). TBR=noelutz@google.com BUG= Committed: https://crrev.com/55360114e1008cb26e9c38ff720f06a6fef7529c Cr-Commit-Position: refs/heads/master@{#307774}

Patch Set 1 #

Patch Set 2 : fix typo #

Total comments: 8

Patch Set 3 : grt's comments #

Patch Set 4 : full implementation #

Patch Set 5 : formatting #

Total comments: 22

Patch Set 6 : greg's suggestions #

Patch Set 7 : spacing #

Total comments: 2

Patch Set 8 : remove explicit #

Total comments: 4

Patch Set 9 : remove unnecessary namespaces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -3 lines) Patch
M chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc View 1 2 3 4 5 6 7 8 7 chunks +22 lines, -3 lines 0 comments Download
A chrome/browser/safe_browsing/incident_reporting/omnibox_incident_handlers.h View 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/incident_reporting/omnibox_incident_handlers.cc View 1 2 3 4 5 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/incident_reporting/omnibox_watcher.h View 1 2 3 4 5 6 7 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/incident_reporting/omnibox_watcher.cc View 1 2 3 4 5 1 chunk +54 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/safe_browsing/csd.proto View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 35 (8 generated)
Mark P
Greg, Please take a look. Obviously, some details are still being hashed out. This is ...
6 years, 1 month ago (2014-11-13 21:36:14 UTC) #2
grt (UTC plus 2)
How about making the watcher profile-specific and hanging it off of ProfileImpl? This will allow ...
6 years, 1 month ago (2014-11-15 17:56:15 UTC) #3
Mark P
"How about making the watcher profile-specific and hanging it off of ProfileImpl? This will allow ...
6 years, 1 month ago (2014-11-18 00:54:44 UTC) #4
grt (UTC plus 2)
On 2014/11/18 00:54:44, Mark P wrote: > "How about making the watcher profile-specific and hanging ...
6 years, 1 month ago (2014-11-19 19:59:11 UTC) #5
Mark P
On 2014/11/19 19:59:11, grt wrote: > On 2014/11/18 00:54:44, Mark P wrote: > > "How ...
6 years ago (2014-11-25 23:36:19 UTC) #6
Mark P
This is ready for review. thanks, mark
6 years ago (2014-12-04 23:14:15 UTC) #7
grt (UTC plus 2)
https://codereview.chromium.org/720163003/diff/80001/chrome/browser/safe_browsing/incident_reporting/omnibox_incident_handlers.cc File chrome/browser/safe_browsing/incident_reporting/omnibox_incident_handlers.cc (right): https://codereview.chromium.org/720163003/diff/80001/chrome/browser/safe_browsing/incident_reporting/omnibox_incident_handlers.cc#newcode8 chrome/browser/safe_browsing/incident_reporting/omnibox_incident_handlers.cc:8: #include "chrome/browser/safe_browsing/incident_reporting/incident_handler_util.h" unused https://codereview.chromium.org/720163003/diff/80001/chrome/browser/safe_browsing/incident_reporting/omnibox_incident_handlers.cc#newcode16 chrome/browser/safe_browsing/incident_reporting/omnibox_incident_handlers.cc:16: // We want to ...
6 years ago (2014-12-05 18:40:56 UTC) #8
Mark P
> https://codereview.chromium.org/720163003/diff/80001/chrome/browser/safe_browsing/safe_browsing_service.h#newcode250 > chrome/browser/safe_browsing/safe_browsing_service.h:250: std::map<Profile*, > safe_browsing::OmniboxWatcher*> omnibox_watcher_map_; > how about putting a scoped_ptr<OmniboxWatcher> member ...
6 years ago (2014-12-09 00:38:37 UTC) #9
grt (UTC plus 2)
On 2014/12/09 00:38:37, Mark P wrote: > > > https://codereview.chromium.org/720163003/diff/80001/chrome/browser/safe_browsing/safe_browsing_service.h#newcode250 > > chrome/browser/safe_browsing/safe_browsing_service.h:250: std::map<Profile*, > ...
6 years ago (2014-12-09 18:36:50 UTC) #10
Mark P
Please take a look, thanks. Also, when you're done looking, who do you suggest I ...
6 years ago (2014-12-09 19:23:30 UTC) #11
Mark P
Oops, forgot to revise one code review comment before I hit publish. --mark https://codereview.chromium.org/720163003/diff/80001/chrome/browser/safe_browsing/safe_browsing_service.h File ...
6 years ago (2014-12-09 19:24:48 UTC) #12
grt (UTC plus 2)
CC+noms: Could you answer the question below regarding PROFILE_CREATED vs PROFILE_ADDED? R+noelutz: Please perform OWNERS ...
6 years ago (2014-12-09 20:15:53 UTC) #14
Alexei Svitkine (slow)
histograms lgtm
6 years ago (2014-12-09 20:16:36 UTC) #15
Mark P
https://codereview.chromium.org/720163003/diff/120001/chrome/browser/safe_browsing/incident_reporting/omnibox_watcher.h File chrome/browser/safe_browsing/incident_reporting/omnibox_watcher.h (right): https://codereview.chromium.org/720163003/diff/120001/chrome/browser/safe_browsing/incident_reporting/omnibox_watcher.h#newcode22 chrome/browser/safe_browsing/incident_reporting/omnibox_watcher.h:22: explicit OmniboxWatcher(Profile* profile, On 2014/12/09 20:15:52, grt wrote: > ...
6 years ago (2014-12-09 20:24:27 UTC) #16
noms (inactive)
https://codereview.chromium.org/720163003/diff/80001/chrome/browser/safe_browsing/safe_browsing_service.h File chrome/browser/safe_browsing/safe_browsing_service.h (right): https://codereview.chromium.org/720163003/diff/80001/chrome/browser/safe_browsing/safe_browsing_service.h#newcode250 chrome/browser/safe_browsing/safe_browsing_service.h:250: std::map<Profile*, safe_browsing::OmniboxWatcher*> omnibox_watcher_map_; On 2014/12/09 20:15:52, grt wrote: > ...
6 years ago (2014-12-09 20:35:52 UTC) #18
grt (UTC plus 2)
lgtm https://codereview.chromium.org/720163003/diff/80001/chrome/browser/safe_browsing/safe_browsing_service.h File chrome/browser/safe_browsing/safe_browsing_service.h (right): https://codereview.chromium.org/720163003/diff/80001/chrome/browser/safe_browsing/safe_browsing_service.h#newcode250 chrome/browser/safe_browsing/safe_browsing_service.h:250: std::map<Profile*, safe_browsing::OmniboxWatcher*> omnibox_watcher_map_; On 2014/12/09 20:35:52, Monica Dinculescu ...
6 years ago (2014-12-10 15:13:16 UTC) #19
Mark P
Okay, now I'm just waiting for noelutz's OWNERS review of csd.proto. --mark
6 years ago (2014-12-10 18:04:49 UTC) #20
noé
lgtm
6 years ago (2014-12-10 18:09:16 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/720163003/140001
6 years ago (2014-12-10 18:10:19 UTC) #23
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/29462)
6 years ago (2014-12-10 18:15:02 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/720163003/140001
6 years ago (2014-12-10 18:18:31 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/13334) win_chromium_rel_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/7595)
6 years ago (2014-12-10 19:27:16 UTC) #29
grt (UTC plus 2)
https://codereview.chromium.org/720163003/diff/140001/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc File chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc (right): https://codereview.chromium.org/720163003/diff/140001/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc#newcode234 chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc:234: scoped_ptr<safe_browsing::OmniboxWatcher> omnibox_watcher; no need for safe_browsing:: here https://codereview.chromium.org/720163003/diff/140001/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc#newcode443 chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc:443: ...
6 years ago (2014-12-10 20:02:22 UTC) #30
Mark P
https://codereview.chromium.org/720163003/diff/140001/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc File chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc (right): https://codereview.chromium.org/720163003/diff/140001/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc#newcode234 chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc:234: scoped_ptr<safe_browsing::OmniboxWatcher> omnibox_watcher; On 2014/12/10 20:02:22, grt wrote: > no ...
6 years ago (2014-12-10 20:25:16 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/720163003/160001
6 years ago (2014-12-10 20:38:58 UTC) #33
commit-bot: I haz the power
Committed patchset #9 (id:160001)
6 years ago (2014-12-10 21:45:49 UTC) #34
commit-bot: I haz the power
6 years ago (2014-12-10 21:46:34 UTC) #35
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/55360114e1008cb26e9c38ff720f06a6fef7529c
Cr-Commit-Position: refs/heads/master@{#307774}

Powered by Google App Engine
This is Rietveld 408576698