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

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: Sync. 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
« no previous file with comments | « components/content_settings/core/browser/host_content_settings_map.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 65ed49d65ad0d4f155049402e37aefa36a33060d..d028999d5cd94d80b2e790c30a6bc3a2d68f8012 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,
« no previous file with comments | « components/content_settings/core/browser/host_content_settings_map.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698