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

Side by Side 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: " 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_
6 #define CHROME_BROWSER_DOM_UI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ 6 #define CHROME_BROWSER_DOM_UI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/dom_ui/options/options_ui.h" 9 #include "chrome/browser/dom_ui/options/options_ui.h"
10 #include "chrome/browser/prefs/pref_change_registrar.h" 10 #include "chrome/browser/prefs/pref_change_registrar.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Gets the HostContentSettingsMap for the normal profile. 89 // Gets the HostContentSettingsMap for the normal profile.
90 HostContentSettingsMap* GetContentSettingsMap(); 90 HostContentSettingsMap* GetContentSettingsMap();
91 91
92 // Gets the HostContentSettingsMap for the incognito profile, or NULL if there 92 // Gets the HostContentSettingsMap for the incognito profile, or NULL if there
93 // is no active incognito session. 93 // is no active incognito session.
94 HostContentSettingsMap* GetOTRContentSettingsMap(); 94 HostContentSettingsMap* GetOTRContentSettingsMap();
95 95
96 // Gets the default setting in string form. 96 // Gets the default setting in string form.
97 std::string GetSettingDefaultFromModel(ContentSettingsType type); 97 std::string GetSettingDefaultFromModel(ContentSettingsType type);
98 98
99 bool GetDefaultSettingManagedFromModel(ContentSettingsType type);
jochen (gone - plz use gerrit) 2010/12/07 09:43:52 GetManagedDefaultSettingFromModel? Also, please ad
markusheintz_ 2010/12/07 11:46:15 Done.
100
99 // Member variables --------------------------------------------------------- 101 // Member variables ---------------------------------------------------------
100 102
101 NotificationRegistrar notification_registrar_; 103 NotificationRegistrar notification_registrar_;
102 PrefChangeRegistrar pref_change_registrar_; 104 PrefChangeRegistrar pref_change_registrar_;
103 105
104 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler); 106 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler);
105 }; 107 };
106 108
107 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ 109 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698