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

Unified Diff: chrome/browser/content_settings/host_content_settings_map.cc

Issue 106713004: Remove kEnableResourceContentSettings and all the code that uses it since it's been behind a flag f… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 years 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/content_settings/host_content_settings_map.cc
===================================================================
--- chrome/browser/content_settings/host_content_settings_map.cc (revision 239860)
+++ chrome/browser/content_settings/host_content_settings_map.cc (working copy)
@@ -309,7 +309,6 @@
const GURL& primary_url,
const GURL& secondary_url,
ContentSettingsType content_type,
- const std::string& resource_identifier,
ContentSetting setting) {
// TODO(markusheintz): Until the UI supports pattern pairs, both urls must
// match.
@@ -321,13 +320,13 @@
SetContentSetting(ContentSettingsPattern::FromURLNoWildcard(primary_url),
ContentSettingsPattern::Wildcard(),
content_type,
- resource_identifier,
+ std::string(),
CONTENT_SETTING_DEFAULT);
SetContentSetting(ContentSettingsPattern::FromURL(primary_url),
ContentSettingsPattern::Wildcard(),
content_type,
- resource_identifier,
+ std::string(),
setting);
}

Powered by Google App Engine
This is Rietveld 408576698