OLD | NEW |
---|---|
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 Loading... | |
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_ |
OLD | NEW |