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

Unified Diff: chrome/browser/ui/webui/options/geolocation_options_handler.h

Issue 15716012: Add a Preference for Google Services to Use the User's Location (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/geolocation_options_handler.h
===================================================================
--- chrome/browser/ui/webui/options/geolocation_options_handler.h (revision 0)
+++ chrome/browser/ui/webui/options/geolocation_options_handler.h (working copy)
@@ -0,0 +1,29 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_GEOLOCATION_OPTIONS_HANDLER_H_
+#define CHROME_BROWSER_UI_WEBUI_OPTIONS_GEOLOCATION_OPTIONS_HANDLER_H_
+
+#include "base/prefs/pref_member.h"
+#include "chrome/browser/ui/webui/options/options_ui.h"
+
+namespace options {
+
+class GeolocationOptionsHandler : public OptionsPageUIHandler {
+ public:
+ GeolocationOptionsHandler();
+ virtual ~GeolocationOptionsHandler();
+
+ // OptionsPageUIHandler implementation
+ virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE;
+ virtual void InitializePage() OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(GeolocationOptionsHandler);
+};
+
+} // namespace options
+
+#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_GEOLOCATION_OPTIONS_HANDLER_H_
+

Powered by Google App Engine
This is Rietveld 408576698