OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_GEOLOCATION_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_GEOLOCATION_OPTIONS_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_GEOLOCATION_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_GEOLOCATION_OPTIONS_HANDLER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/prefs/pref_member.h" | |
10 #include "chrome/browser/ui/webui/options/options_ui.h" | 9 #include "chrome/browser/ui/webui/options/options_ui.h" |
| 10 #include "components/prefs/pref_member.h" |
11 | 11 |
12 namespace options { | 12 namespace options { |
13 | 13 |
14 // Handles processing of the geolocation options on settings page load. | 14 // Handles processing of the geolocation options on settings page load. |
15 class GeolocationOptionsHandler : public OptionsPageUIHandler { | 15 class GeolocationOptionsHandler : public OptionsPageUIHandler { |
16 public: | 16 public: |
17 GeolocationOptionsHandler(); | 17 GeolocationOptionsHandler(); |
18 ~GeolocationOptionsHandler() override; | 18 ~GeolocationOptionsHandler() override; |
19 | 19 |
20 // OptionsPageUIHandler implementation | 20 // OptionsPageUIHandler implementation |
21 void GetLocalizedValues(base::DictionaryValue* localized_strings) override; | 21 void GetLocalizedValues(base::DictionaryValue* localized_strings) override; |
22 void InitializePage() override; | 22 void InitializePage() override; |
23 | 23 |
24 private: | 24 private: |
25 DISALLOW_COPY_AND_ASSIGN(GeolocationOptionsHandler); | 25 DISALLOW_COPY_AND_ASSIGN(GeolocationOptionsHandler); |
26 }; | 26 }; |
27 | 27 |
28 } // namespace options | 28 } // namespace options |
29 | 29 |
30 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_GEOLOCATION_OPTIONS_HANDLER_H_ | 30 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_GEOLOCATION_OPTIONS_HANDLER_H_ |
31 | 31 |
OLD | NEW |