| 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/prefs/pref_member.h" | 8 #include "base/prefs/pref_member.h" |
| 9 #include "chrome/browser/ui/webui/options/options_ui.h" | 9 #include "chrome/browser/ui/webui/options/options_ui.h" |
| 10 | 10 |
| 11 namespace options { | 11 namespace options { |
| 12 | 12 |
| 13 // Handles processing of the geolocation options on settings page load. | 13 // Handles processing of the geolocation options on settings page load. |
| 14 class GeolocationOptionsHandler : public OptionsPageUIHandler { | 14 class GeolocationOptionsHandler : public OptionsPageUIHandler { |
| 15 public: | 15 public: |
| 16 GeolocationOptionsHandler(); | 16 GeolocationOptionsHandler(); |
| 17 virtual ~GeolocationOptionsHandler(); | 17 virtual ~GeolocationOptionsHandler(); |
| 18 | 18 |
| 19 // OptionsPageUIHandler implementation | 19 // OptionsPageUIHandler implementation |
| 20 virtual void GetLocalizedValues( | 20 virtual void GetLocalizedValues( |
| 21 base::DictionaryValue* localized_strings) OVERRIDE; | 21 base::DictionaryValue* localized_strings) override; |
| 22 virtual void InitializePage() OVERRIDE; | 22 virtual 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 |