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

Issue 2888163002: [subresource_filter] Decide UNSUPPORTED_SCHEME only if we'd otherwise activate (Closed)

Created:
3 years, 7 months ago by Charlie Harrison
Modified:
3 years, 7 months ago
Reviewers:
Bryan McQuade
CC:
chromium-reviews, darin-cc_chromium.org, jam, subresource-filter-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[subresource_filter] Decide UNSUPPORTED_SCHEME only if we'd otherwise activate Right now the subresource filter reports UNSUPPORTED_SCHEME even if the feature is disabled and the navigation would never have activated. This patch aligns things closer to how they were before [1] landed, so that UNSUPPORTED_SCHEME is not logged if the matched configuration's activation level is DISABLED or there is no matched configuration. BUG=todo Review-Url: https://codereview.chromium.org/2888163002 Cr-Commit-Position: refs/heads/master@{#473093} Committed: https://chromium.googlesource.com/chromium/src/+/a30d68388644568f7930aa57cdd2fa015816aeb9

Patch Set 1 #

Patch Set 2 : Add comment, fix test #

Total comments: 4

Patch Set 3 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -11 lines) Patch
M chrome/browser/subresource_filter/subresource_filter_unittest.cc View 2 chunks +40 lines, -0 lines 0 comments Download
M components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc View 1 2 3 chunks +29 lines, -9 lines 0 comments Download
M components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc View 1 1 chunk +10 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (16 generated)
Charlie Harrison
Bryan, PTAL?
3 years, 7 months ago (2017-05-18 19:25:54 UTC) #7
Bryan McQuade
Thanks! LGTM. Just a couple comments. https://codereview.chromium.org/2888163002/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/2888163002/diff/20001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc#newcode182 components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc:182: activation_options_ = activation_options; ...
3 years, 7 months ago (2017-05-18 19:32:01 UTC) #9
Charlie Harrison
https://codereview.chromium.org/2888163002/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/2888163002/diff/20001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc#newcode182 components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc:182: activation_options_ = activation_options; On 2017/05/18 19:32:01, Bryan McQuade wrote: ...
3 years, 7 months ago (2017-05-18 19:39:20 UTC) #11
commit-bot: I haz the power
This CL has an open dependency (Issue 2889913002 Patch 40001). Please resolve the dependency and ...
3 years, 7 months ago (2017-05-18 21:44:04 UTC) #17
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/2888163002/40001
3 years, 7 months ago (2017-05-19 04:23:06 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/a30d68388644568f7930aa57cdd2fa015816aeb9
3 years, 7 months ago (2017-05-19 05:14:20 UTC) #22
Marc Treib
3 years, 7 months ago (2017-05-19 10:56:43 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2895593002/ by treib@chromium.org.

The reason for reverting is: Depends on
https://codereview.chromium.org/2889913002 which is being reverted..

Powered by Google App Engine
This is Rietveld 408576698