OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_WEBUI_OPTIONS_CORE_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CORE_OPTIONS_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CORE_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CORE_OPTIONS_HANDLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/values.h" | 11 #include "base/values.h" |
| 12 #include "chrome/browser/api/prefs/pref_change_registrar.h" |
12 #include "chrome/browser/plugin_status_pref_setter.h" | 13 #include "chrome/browser/plugin_status_pref_setter.h" |
13 #include "chrome/browser/prefs/pref_change_registrar.h" | |
14 #include "chrome/browser/prefs/pref_service.h" | 14 #include "chrome/browser/prefs/pref_service.h" |
15 #include "chrome/browser/ui/webui/options/options_ui.h" | 15 #include "chrome/browser/ui/webui/options/options_ui.h" |
16 | 16 |
17 namespace options { | 17 namespace options { |
18 | 18 |
19 // Core options UI handler. | 19 // Core options UI handler. |
20 // Handles resource and JS calls common to all options sub-pages. | 20 // Handles resource and JS calls common to all options sub-pages. |
21 class CoreOptionsHandler : public OptionsPageUIHandler { | 21 class CoreOptionsHandler : public OptionsPageUIHandler { |
22 public: | 22 public: |
23 CoreOptionsHandler(); | 23 CoreOptionsHandler(); |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 PrefChangeRegistrar registrar_; | 150 PrefChangeRegistrar registrar_; |
151 | 151 |
152 PluginStatusPrefSetter plugin_status_pref_setter_; | 152 PluginStatusPrefSetter plugin_status_pref_setter_; |
153 | 153 |
154 DISALLOW_COPY_AND_ASSIGN(CoreOptionsHandler); | 154 DISALLOW_COPY_AND_ASSIGN(CoreOptionsHandler); |
155 }; | 155 }; |
156 | 156 |
157 } // namespace options | 157 } // namespace options |
158 | 158 |
159 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CORE_OPTIONS_HANDLER_H_ | 159 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CORE_OPTIONS_HANDLER_H_ |
OLD | NEW |