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

Unified Diff: chrome/browser/dom_ui/options/content_settings_handler.h

Issue 5398001: Allow default desktop content settings to be managed via policy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Cocoa UI-changes 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
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/browser/dom_ui/options/content_settings_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/options/content_settings_handler.h
diff --git a/chrome/browser/dom_ui/options/content_settings_handler.h b/chrome/browser/dom_ui/options/content_settings_handler.h
index e18de267b577c51258a5cf017d29a90d52f515a8..a67f89e38717bd8513a24c8bb621453bf655f326 100644
--- a/chrome/browser/dom_ui/options/content_settings_handler.h
+++ b/chrome/browser/dom_ui/options/content_settings_handler.h
@@ -96,6 +96,10 @@ class ContentSettingsHandler : public OptionsPageUIHandler {
// Gets the default setting in string form.
std::string GetSettingDefaultFromModel(ContentSettingsType type);
+ // Returns true if the default setting for the given content settings type
+ // |type| is managed.
+ bool GetDefaultSettingManagedFromModel(ContentSettingsType type);
+
// Member variables ---------------------------------------------------------
NotificationRegistrar notification_registrar_;
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/browser/dom_ui/options/content_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698