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

Unified Diff: components/content_settings/core/browser/host_content_settings_map.cc

Issue 1963203002: [Chrome Settings UI] Show overruled User Exceptions as strike-through. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move common code to appendIndicatorElement(). Created 4 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: components/content_settings/core/browser/host_content_settings_map.cc
diff --git a/components/content_settings/core/browser/host_content_settings_map.cc b/components/content_settings/core/browser/host_content_settings_map.cc
index 67321bd14d92e837c430cad08ea72eb808450eb9..275e2abd299bde225ef7c17859e96de5d6d4c5de 100644
--- a/components/content_settings/core/browser/host_content_settings_map.cc
+++ b/components/content_settings/core/browser/host_content_settings_map.cc
@@ -267,15 +267,6 @@ ContentSetting HostContentSettingsMap::GetDefaultContentSetting(
return content_setting;
}
-bool HostContentSettingsMap::AreUserExceptionsAllowedForType(
- ContentSettingsType content_type) const {
- ProviderType default_provider_type = NUM_PROVIDER_TYPES;
- ContentSetting content_setting =
- GetDefaultContentSettingInternal(content_type, &default_provider_type);
- DCHECK_NE(CONTENT_SETTING_DEFAULT, content_setting);
- return default_provider_type >= PREF_PROVIDER;
-}
-
ContentSetting HostContentSettingsMap::GetContentSetting(
const GURL& primary_url,
const GURL& secondary_url,

Powered by Google App Engine
This is Rietveld 408576698