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

Issue 2664283003: Add field trial param to suppress disallowed subresource notifications. (Closed)

Created:
3 years, 10 months ago by Bryan McQuade
Modified:
3 years, 10 months ago
Reviewers:
engedy, melandory
CC:
chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add field trial param to suppress disallowed subresource notifications. BUG=687628 Review-Url: https://codereview.chromium.org/2664283003 Cr-Commit-Position: refs/heads/master@{#447780} Committed: https://chromium.googlesource.com/chromium/src/+/2a7d9f90065f9219eaee49a23d2e3c497c3f44e2

Patch Set 1 #

Patch Set 2 : add tests #

Total comments: 11

Patch Set 3 : address comments #

Patch Set 4 : address comment, refactor #

Total comments: 1

Patch Set 5 : rebase #

Patch Set 6 : add additional test cases #

Patch Set 7 : fix compilation error #

Messages

Total messages: 42 (32 generated)
Bryan McQuade
PTAL, thanks!
3 years, 10 months ago (2017-02-01 17:29:12 UTC) #9
engedy
https://codereview.chromium.org/2664283003/diff/20001/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/2664283003/diff/20001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc#newcode91 components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc:91: if (ShouldDisplayDisallowedSubresourceNotifications()) { Just in case that particular histogram ...
3 years, 10 months ago (2017-02-01 19:40:15 UTC) #12
Bryan McQuade
Thanks! Addressed comments. PTAL. https://codereview.chromium.org/2664283003/diff/20001/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/2664283003/diff/20001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc#newcode91 components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc:91: if (ShouldDisplayDisallowedSubresourceNotifications()) { On 2017/02/01 ...
3 years, 10 months ago (2017-02-01 21:11:42 UTC) #15
engedy
LGTM % adding a unit test in SubresourceFilterFeaturesTest. I know this sounds a bit paranoid, ...
3 years, 10 months ago (2017-02-02 12:48:36 UTC) #18
Bryan McQuade
Thanks! I am all for better test coverage, especially in cases where it's easy to ...
3 years, 10 months ago (2017-02-02 12:50:22 UTC) #19
Bryan McQuade
On 2017/02/02 at 12:50:22, Bryan McQuade wrote: > Thanks! I am all for better test ...
3 years, 10 months ago (2017-02-02 14:13:55 UTC) #22
engedy
Thanks a lot, LGTM % nit. https://codereview.chromium.org/2664283003/diff/60001/components/subresource_filter/core/browser/subresource_filter_features_unittest.cc File components/subresource_filter/core/browser/subresource_filter_features_unittest.cc (right): https://codereview.chromium.org/2664283003/diff/60001/components/subresource_filter/core/browser/subresource_filter_features_unittest.cc#newcode234 components/subresource_filter/core/browser/subresource_filter_features_unittest.cc:234: {true, "true", true}}; ...
3 years, 10 months ago (2017-02-02 14:28:48 UTC) #27
Bryan McQuade
On 2017/02/02 at 14:28:48, engedy wrote: > Thanks a lot, LGTM % nit. > > ...
3 years, 10 months ago (2017-02-02 15:41:34 UTC) #34
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/2664283003/120001
3 years, 10 months ago (2017-02-02 16:50:43 UTC) #39
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 17:00:02 UTC) #42
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/2a7d9f90065f9219eaee49a23d2e...

Powered by Google App Engine
This is Rietveld 408576698