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

Issue 2415553002: Metrics for tracking Safe Browsing hit patterns for the Safe Browsing lists Subresource Filter. (Closed)

Created:
4 years, 2 months ago by melandory
Modified:
4 years ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Metrics for tracking Safe Browsing hit patterns for the Safe Browsing lists Subresource Filter. For the redirect chain A->B->C->D metric should track: 1. If initial URL (A) was on a Safe Browsing blacklist. 2. If any if middle urls (B, C) were on a Safe Browsing blacklist. 3. If committed URL (B) was on a Safe Browsing blacklist. Another metric added is this CL tracks the length of the redirect chain. BUG=653810 Committed: https://crrev.com/cd574fc77646353484fcd4d8769807ad103d7d84 Cr-Commit-Position: refs/heads/master@{#434808}

Patch Set 1 #

Patch Set 2 : histograms #

Patch Set 3 : navigation chain size test #

Patch Set 4 : cleanup #

Patch Set 5 : fix tests #

Total comments: 2

Patch Set 6 : set instead of last_url #

Total comments: 34

Patch Set 7 : adressing comments #

Patch Set 8 : rebased #

Patch Set 9 : fix tests #

Patch Set 10 : . #

Total comments: 7

Patch Set 11 : . #

Patch Set 12 : . #

Patch Set 13 : fix browser side navigation tests #

Total comments: 42

Patch Set 14 : comments #

Patch Set 15 : change safe browsing browser tests #

Messages

Total messages: 100 (77 generated)
melandory
PTAL, thanks!
4 years, 2 months ago (2016-10-19 12:12:47 UTC) #8
melandory
PTAL, thanks!
4 years, 2 months ago (2016-10-19 12:12:49 UTC) #9
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/2415553002/80001
4 years, 2 months ago (2016-10-19 12:13:05 UTC) #10
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 2 months ago (2016-10-19 12:13:06 UTC) #12
melandory
https://codereview.chromium.org/2415553002/diff/80001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h File components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h (right): https://codereview.chromium.org/2415553002/diff/80001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h#newcode158 components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h:158: GURL last_blacklisted_; On the second thought, it might not ...
4 years, 2 months ago (2016-10-20 09:38:02 UTC) #13
melandory
https://codereview.chromium.org/2415553002/diff/80001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h File components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h (right): https://codereview.chromium.org/2415553002/diff/80001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h#newcode158 components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h:158: GURL last_blacklisted_; On 2016/10/20 09:38:02, melandory wrote: > On ...
4 years, 2 months ago (2016-10-20 10:48:22 UTC) #16
engedy
Looks great overall, thanks for doing the clean-up as well! Left a couple of comments. ...
4 years, 2 months ago (2016-10-20 13:21:50 UTC) #19
melandory
https://codereview.chromium.org/2415553002/diff/100001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h File components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h (right): https://codereview.chromium.org/2415553002/diff/100001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h#newcode159 components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h:159: HostSet safe_browsing_blacklisted_patterns_; On 2016/10/20 13:21:50, engedy wrote: > Do ...
4 years, 2 months ago (2016-10-21 09:17:19 UTC) #20
engedy
https://codereview.chromium.org/2415553002/diff/100001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h File components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h (right): https://codereview.chromium.org/2415553002/diff/100001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h#newcode159 components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h:159: HostSet safe_browsing_blacklisted_patterns_; On 2016/10/21 09:17:19, melandory wrote: > On ...
4 years, 2 months ago (2016-10-21 10:46:52 UTC) #21
melandory
https://codereview.chromium.org/2415553002/diff/100001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc File components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc (right): https://codereview.chromium.org/2415553002/diff/100001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc#newcode92 components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc:92: proceed = is_soc_engineering_ads_interstitial; On 2016/10/20 13:21:50, engedy wrote: > ...
4 years, 1 month ago (2016-10-24 10:58:43 UTC) #22
melandory
https://codereview.chromium.org/2415553002/diff/100001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc File components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc (right): https://codereview.chromium.org/2415553002/diff/100001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc#newcode29 components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc:29: const char kHitsPatternHistogramName[] = "SubresourceFilter.HitsPattern"; On 2016/10/20 13:21:50, engedy ...
4 years, 1 month ago (2016-10-24 15:03:30 UTC) #23
melandory
rkaplow@ please review changes in: tools/metrics/histograms/histograms.xml
4 years, 1 month ago (2016-10-27 09:56:07 UTC) #40
rkaplow
lgtm https://codereview.chromium.org/2415553002/diff/220001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc File components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc (right): https://codereview.chromium.org/2415553002/diff/220001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc#newcode267 components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc:267: UMA_HISTOGRAM_COUNTS("SubresourceFilter.PageLoad.RedirectChainSize", nit, we're suggesting using an explicit UMA_HISTOGRAM_COUNTSN ...
4 years, 1 month ago (2016-10-27 16:29:41 UTC) #49
engedy
https://codereview.chromium.org/2415553002/diff/100001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h File components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h (right): https://codereview.chromium.org/2415553002/diff/100001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h#newcode159 components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h:159: HostSet safe_browsing_blacklisted_patterns_; On 2016/10/24 10:58:43, melandory wrote: > On ...
4 years, 1 month ago (2016-10-28 10:58:07 UTC) #50
melandory
Balazs, please take a look https://codereview.chromium.org/2415553002/diff/220001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc File components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc (right): https://codereview.chromium.org/2415553002/diff/220001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc#newcode267 components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc:267: UMA_HISTOGRAM_COUNTS("SubresourceFilter.PageLoad.RedirectChainSize", On 2016/10/27 16:29:41, ...
4 years, 1 month ago (2016-11-16 15:59:36 UTC) #62
melandory
Balazs, please take a look
4 years, 1 month ago (2016-11-16 15:59:40 UTC) #63
engedy
LGTM % comments and lots of nits with tentative wordsmithing suggestions. https://codereview.chromium.org/2415553002/diff/100001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h File components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h (right): ...
4 years, 1 month ago (2016-11-18 14:12:04 UTC) #74
melandory
nparker@chromium.org: Please review changes in chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc https://codereview.chromium.org/2415553002/diff/300001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc File components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc (right): https://codereview.chromium.org/2415553002/diff/300001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc#newcode81 components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc:81: const std::vector<GURL>& redirect_urls, ...
4 years, 1 month ago (2016-11-22 14:16:25 UTC) #89
Nathan Parker
--> jialiul for SB tests review.
4 years ago (2016-11-28 18:24:52 UTC) #91
Jialiu Lin
lgtm for safe_browsing_service_browsertest.cc
4 years ago (2016-11-28 19:29:17 UTC) #92
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/2415553002/360001
4 years ago (2016-11-28 22:36:48 UTC) #95
commit-bot: I haz the power
Committed patchset #15 (id:360001)
4 years ago (2016-11-29 01:07:45 UTC) #98
commit-bot: I haz the power
4 years ago (2016-11-29 01:19:57 UTC) #100
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/cd574fc77646353484fcd4d8769807ad103d7d84
Cr-Commit-Position: refs/heads/master@{#434808}

Powered by Google App Engine
This is Rietveld 408576698