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

Unified Diff: chrome/browser/content_settings/content_settings_base_provider.h

Issue 7049007: Origin Identifier Value Map. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 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/content_settings/content_settings_base_provider.h
diff --git a/chrome/browser/content_settings/content_settings_base_provider.h b/chrome/browser/content_settings/content_settings_base_provider.h
index 05dd94ec58b400e39e593fa20e63f9f965455e05..9b9aaafb988465e3b8bfbb3bb6d3c9825ba00c43 100644
--- a/chrome/browser/content_settings/content_settings_base_provider.h
+++ b/chrome/browser/content_settings/content_settings_base_provider.h
@@ -41,6 +41,10 @@ class BaseProvider : public ProviderInterface {
static ContentSetting ClickToPlayFixup(ContentSettingsType content_type,
ContentSetting setting);
+ // Returns true if the |content_type| requires a resource identifier.
+ static bool RequiresResourceIdentifier(
Bernhard Bauer 2011/05/24 14:21:29 I think that method might be useful to clients of
markusheintz_ 2011/05/26 13:22:13 Strike :) Already committed in a separate CL :)
+ ContentSettingsType content_type);
+
explicit BaseProvider(bool is_otr);
virtual ~BaseProvider();
@@ -72,10 +76,6 @@ class BaseProvider : public ProviderInterface {
virtual void ResetToDefaults() = 0;
protected:
- // Returns true if the |content_type| requires a resource identifier.
- bool RequiresResourceIdentifier(
- ContentSettingsType content_type) const;
-
// Returns true if the passed |settings| object contains only
// CONTENT_SETTING_DEFAULT values.
bool AllDefault(const ExtendedContentSettings& settings) const;

Powered by Google App Engine
This is Rietveld 408576698