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

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

Issue 6542048: Add content_settings::PolicyProvider and a set of new policies to managed content settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 10 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_provider.h
diff --git a/chrome/browser/content_settings/content_settings_provider.h b/chrome/browser/content_settings/content_settings_provider.h
index 621c5222888982b7b6a3aa91c62d26498a0be622..024873e54e544f0103061bfa6f62ee8788ccf249 100644
--- a/chrome/browser/content_settings/content_settings_provider.h
+++ b/chrome/browser/content_settings/content_settings_provider.h
@@ -26,6 +26,7 @@ class DefaultProviderInterface {
// |content_type|, or CONTENT_SETTING_DEFAULT if nothing be provided for this
// type.
virtual ContentSetting ProvideDefaultSetting(
+
Bernhard Bauer 2011/02/23 13:18:53 Nit: Remove blank line.
markusheintz_ 2011/02/23 18:42:09 Done.
ContentSettingsType content_type) const = 0;
// Notifies the provider that the host content settings map would like to
@@ -65,6 +66,11 @@ class ProviderInterface {
virtual ~ProviderInterface() {}
+ // Returns true whether the content settings provider manages the
+ // |content_type|.
+ virtual bool ContentSettingsTypeIsManaged(
+ ContentSettingsType content_type) = 0;
+
// Returns a single ContentSetting which applies to a given |requesting_url|,
// |embedding_url| pair or CONTENT_SETTING_DEFAULT, if no rule applies. For
// ContentSettingsTypes that require a resource identifier to be specified,

Powered by Google App Engine
This is Rietveld 408576698