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

Unified Diff: chrome/browser/subresource_filter/chrome_subresource_filter_client.cc

Issue 2877553002: [subresource_filter] Swap ALLOW and BLOCK meanings in the content setting (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/subresource_filter/chrome_subresource_filter_client.cc
diff --git a/chrome/browser/subresource_filter/chrome_subresource_filter_client.cc b/chrome/browser/subresource_filter/chrome_subresource_filter_client.cc
index ab7d64f00fb53bd545ef1bc201c8a60050f31683..9ad2939d5a970d4320138ae749158a3a4faee9fa 100644
--- a/chrome/browser/subresource_filter/chrome_subresource_filter_client.cc
+++ b/chrome/browser/subresource_filter/chrome_subresource_filter_client.cc
@@ -121,7 +121,7 @@ bool ChromeSubresourceFilterClient::ShouldSuppressActivation(
const GURL& url(navigation_handle->GetURL());
return navigation_handle->IsInMainFrame() &&
(whitelisted_hosts_.find(url.host()) != whitelisted_hosts_.end() ||
- settings_manager_->GetSitePermission(url) == CONTENT_SETTING_BLOCK);
engedy 2017/05/11 10:39:37 My understanding is that users will not yet have a
Charlie Harrison 2017/05/11 14:05:44 Yes, this change should only affect builds that ha
+ settings_manager_->GetSitePermission(url) == CONTENT_SETTING_ALLOW);
}
void ChromeSubresourceFilterClient::WhitelistByContentSettings(

Powered by Google App Engine
This is Rietveld 408576698