Chromium Code Reviews| 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; |