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

Issue 2785923003: [subresource_filter] Clean up special cases in TabSpecificContentSettings (Closed)

Created:
3 years, 8 months ago by Charlie Harrison
Modified:
3 years, 8 months ago
CC:
chromium-reviews, markusheintz_, subresource-filter-reviews_chromium.org, msramek+watch_chromium.org, raymes+watch_chromium.org, msramek
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[subresource_filter] Clean up special cases in TabSpecificContentSettings Now that Subresource Filter has a content setting, use that instead of ad-hoc state in the TabSpecificContentSettings. This also fixes a bug where the omnibox is not updated properly when the first disallowed load occurs. TabSpecificContentSettings has special logic in OnContentBlockedWithDetail that the subresource filter code lacked. BUG=707026 Review-Url: https://codereview.chromium.org/2785923003 Cr-Commit-Position: refs/heads/master@{#461169} Committed: https://chromium.googlesource.com/chromium/src/+/81f7c216e1ebbcda921597130789d349dae9f8bf

Patch Set 1 #

Patch Set 2 : Edit TODO (trybots prev) #

Patch Set 3 : remove dependent CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -62 lines) Patch
M chrome/browser/content_settings/tab_specific_content_settings.h View 1 3 chunks +4 lines, -25 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.cc View 5 chunks +2 lines, -19 lines 0 comments Download
M chrome/browser/subresource_filter/chrome_subresource_filter_client.cc View 2 chunks +10 lines, -11 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_image_model.cc View 3 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (11 generated)
Charlie Harrison
bauerb: PTAL at this cleanup? This is now possible since SubresourceFilter has a content setting. ...
3 years, 8 months ago (2017-03-30 21:48:04 UTC) #6
pkalinnikov
subresource_filter LGTM.
3 years, 8 months ago (2017-03-31 13:16:56 UTC) #7
Bernhard Bauer
lgtm
3 years, 8 months ago (2017-03-31 15:38:33 UTC) #8
Charlie Harrison
Thanks, folks!
3 years, 8 months ago (2017-03-31 15:40:15 UTC) #9
Charlie Harrison
Oh, this doesn't have to be a dependent CL anymore. Landing as-is.
3 years, 8 months ago (2017-03-31 15:42:15 UTC) #10
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/2785923003/40001
3 years, 8 months ago (2017-03-31 15:43:00 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/396045)
3 years, 8 months ago (2017-03-31 17:13:24 UTC) #15
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/2785923003/40001
3 years, 8 months ago (2017-03-31 17:17:18 UTC) #17
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 17:57:52 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/81f7c216e1ebbcda921597130789...

Powered by Google App Engine
This is Rietveld 408576698