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

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

Issue 5528010: Implement preference and policy based content settings providers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/content_settings
Patch Set: updates Created 10 years 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/mock_content_settings_provider.h
diff --git a/chrome/browser/content_settings/mock_content_settings_provider.h b/chrome/browser/content_settings/mock_content_settings_provider.h
index e7169095e743c78991c217c9de94f9395092a4e8..113a8ae84b0a0064d8c23c652886ccf5c368f750 100644
--- a/chrome/browser/content_settings/mock_content_settings_provider.h
+++ b/chrome/browser/content_settings/mock_content_settings_provider.h
@@ -20,12 +20,13 @@ class MockContentSettingsProvider : public ContentSettingsProviderInterface {
virtual ~MockContentSettingsProvider();
// ContentSettingsProviderInterface implementation.
- virtual bool CanProvideDefaultSetting(ContentSettingsType content_type);
+ virtual bool CanProvideDefaultSetting(ContentSettingsType content_type) const;
virtual ContentSetting ProvideDefaultSetting(
- ContentSettingsType content_type);
+ ContentSettingsType content_type) const;
virtual void UpdateDefaultSetting(ContentSettingsType content_type,
ContentSetting setting);
- virtual bool DefaultSettingIsManaged(ContentSettingsType content_type);
+ virtual void ResetToDefaults();
+ virtual bool DefaultSettingIsManaged(ContentSettingsType content_type) const;
private:
ContentSettingsType content_type_;

Powered by Google App Engine
This is Rietveld 408576698