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

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

Issue 1320673013: Remove HostContentSettingsMap::IsSettingAllowedForType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-issetting-allowed
Patch Set: Created 5 years, 2 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.h
diff --git a/components/content_settings/core/browser/host_content_settings_map.h b/components/content_settings/core/browser/host_content_settings_map.h
index 5b32e8cdc422820f2a4250a5642d1a1297337d8f..79c22bc9b09c785630fd000c5cab7af773c95e8a 100644
--- a/components/content_settings/core/browser/host_content_settings_map.h
+++ b/components/content_settings/core/browser/host_content_settings_map.h
@@ -176,14 +176,7 @@ class HostContentSettingsMap : public content_settings::Observer,
// This should only be called on the UI thread.
void ClearSettingsForOneType(ContentSettingsType content_type);
- static bool IsValueAllowedForType(const base::Value* value,
- ContentSettingsType content_type);
- // TODO(raymes): Remove |prefs| from the below functions, it's unused.
- static bool IsSettingAllowedForType(PrefService* prefs,
- ContentSetting setting,
- ContentSettingsType content_type);
- static bool IsDefaultSettingAllowedForType(PrefService* prefs,
- ContentSetting setting,
+ static bool IsDefaultSettingAllowedForType(ContentSetting setting,
ContentSettingsType content_type);
// RefcountedKeyedService implementation.

Powered by Google App Engine
This is Rietveld 408576698