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

Issue 2877553002: [subresource_filter] Swap ALLOW and BLOCK meanings in the content setting (Closed)

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

Description

[subresource_filter] Swap ALLOW and BLOCK meanings in the content setting This is to align the enum names with what the feature is doing rather than whether the subresource_filter feature is enabled or not. BUG=689487 Review-Url: https://codereview.chromium.org/2877553002 Cr-Commit-Position: refs/heads/master@{#472459} Committed: https://chromium.googlesource.com/chromium/src/+/3f1f032e64562f3c6212fcd5cef20959812dcf40

Patch Set 1 #

Total comments: 11

Patch Set 2 : change comment wording #

Total comments: 4

Patch Set 3 : shivanisha review #

Patch Set 4 : rebase #

Patch Set 5 : fix newer tests #

Messages

Total messages: 38 (23 generated)
Charlie Harrison
shivanisha, engedy: PTAL? I figure might as well do this now, this has been pretty ...
3 years, 7 months ago (2017-05-10 23:31:34 UTC) #6
raymes
https://codereview.chromium.org/2877553002/diff/1/chrome/browser/subresource_filter/chrome_subresource_filter_client.h File chrome/browser/subresource_filter/chrome_subresource_filter_client.h (right): https://codereview.chromium.org/2877553002/diff/1/chrome/browser/subresource_filter/chrome_subresource_filter_client.h#newcode70 chrome/browser/subresource_filter/chrome_subresource_filter_client.h:70: // The feature was blocked via content setting manually ...
3 years, 7 months ago (2017-05-11 00:37:00 UTC) #8
engedy
LGTM, thanks for cleaning this up! https://codereview.chromium.org/2877553002/diff/1/chrome/browser/subresource_filter/chrome_subresource_filter_client.cc File chrome/browser/subresource_filter/chrome_subresource_filter_client.cc (left): https://codereview.chromium.org/2877553002/diff/1/chrome/browser/subresource_filter/chrome_subresource_filter_client.cc#oldcode124 chrome/browser/subresource_filter/chrome_subresource_filter_client.cc:124: settings_manager_->GetSitePermission(url) == CONTENT_SETTING_BLOCK); ...
3 years, 7 months ago (2017-05-11 10:39:37 UTC) #9
Charlie Harrison
https://codereview.chromium.org/2877553002/diff/1/chrome/browser/subresource_filter/chrome_subresource_filter_client.cc File chrome/browser/subresource_filter/chrome_subresource_filter_client.cc (left): https://codereview.chromium.org/2877553002/diff/1/chrome/browser/subresource_filter/chrome_subresource_filter_client.cc#oldcode124 chrome/browser/subresource_filter/chrome_subresource_filter_client.cc:124: settings_manager_->GetSitePermission(url) == CONTENT_SETTING_BLOCK); On 2017/05/11 10:39:37, engedy wrote: > ...
3 years, 7 months ago (2017-05-11 14:05:44 UTC) #10
msramek
https://codereview.chromium.org/2877553002/diff/1/components/content_settings/core/browser/content_settings_registry.cc File components/content_settings/core/browser/content_settings_registry.cc (right): https://codereview.chromium.org/2877553002/diff/1/components/content_settings/core/browser/content_settings_registry.cc#newcode278 components/content_settings/core/browser/content_settings_registry.cc:278: CONTENT_SETTING_BLOCK, WebsiteSettingsInfo::UNSYNCABLE, On 2017/05/11 14:05:44, Charlie Harrison wrote: > ...
3 years, 7 months ago (2017-05-11 14:29:20 UTC) #12
Charlie Harrison
https://codereview.chromium.org/2877553002/diff/1/components/content_settings/core/browser/content_settings_registry.cc File components/content_settings/core/browser/content_settings_registry.cc (right): https://codereview.chromium.org/2877553002/diff/1/components/content_settings/core/browser/content_settings_registry.cc#newcode278 components/content_settings/core/browser/content_settings_registry.cc:278: CONTENT_SETTING_BLOCK, WebsiteSettingsInfo::UNSYNCABLE, On 2017/05/11 14:29:20, msramek (recovering) wrote: > ...
3 years, 7 months ago (2017-05-11 15:50:11 UTC) #13
shivanisha
On 2017/05/11 at 15:50:11, csharrison wrote: > https://codereview.chromium.org/2877553002/diff/1/components/content_settings/core/browser/content_settings_registry.cc > File components/content_settings/core/browser/content_settings_registry.cc (right): > > https://codereview.chromium.org/2877553002/diff/1/components/content_settings/core/browser/content_settings_registry.cc#newcode278 ...
3 years, 7 months ago (2017-05-15 19:42:55 UTC) #14
shivanisha
lgtm % nits https://codereview.chromium.org/2877553002/diff/20001/chrome/browser/subresource_filter/chrome_subresource_filter_client.h File chrome/browser/subresource_filter/chrome_subresource_filter_client.h (right): https://codereview.chromium.org/2877553002/diff/20001/chrome/browser/subresource_filter/chrome_subresource_filter_client.h#newcode44 chrome/browser/subresource_filter/chrome_subresource_filter_client.h:44: // Content settings: Also clarify in ...
3 years, 7 months ago (2017-05-15 19:43:07 UTC) #15
Charlie Harrison
Thanks! msramek or raymes, could one of you take a final look?
3 years, 7 months ago (2017-05-15 19:43:50 UTC) #16
Charlie Harrison
https://codereview.chromium.org/2877553002/diff/20001/chrome/browser/subresource_filter/chrome_subresource_filter_client.h File chrome/browser/subresource_filter/chrome_subresource_filter_client.h (right): https://codereview.chromium.org/2877553002/diff/20001/chrome/browser/subresource_filter/chrome_subresource_filter_client.h#newcode44 chrome/browser/subresource_filter/chrome_subresource_filter_client.h:44: // Content settings: On 2017/05/15 19:43:07, shivanisha wrote: > ...
3 years, 7 months ago (2017-05-15 19:47:11 UTC) #18
Charlie Harrison
msramek or raymes, could one of you take a final look? I'm keen to land ...
3 years, 7 months ago (2017-05-17 13:00:34 UTC) #30
msramek
LGTM. (I was just waiting until the tests are green, because the failing ones were ...
3 years, 7 months ago (2017-05-17 13:04:56 UTC) #31
Charlie Harrison
On 2017/05/17 13:04:56, msramek wrote: > LGTM. > > (I was just waiting until the ...
3 years, 7 months ago (2017-05-17 13:31:03 UTC) #32
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/2877553002/80001
3 years, 7 months ago (2017-05-17 13:32:28 UTC) #35
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 15:20:44 UTC) #38
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/3f1f032e64562f3c6212fcd5cef2...

Powered by Google App Engine
This is Rietveld 408576698