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

Unified Diff: chrome/browser/ui/webui/options/options_ui.cc

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/options_ui.cc
===================================================================
--- chrome/browser/ui/webui/options/options_ui.cc (revision 204675)
+++ chrome/browser/ui/webui/options/options_ui.cc (working copy)
@@ -88,6 +88,10 @@
#include "chrome/browser/ui/webui/options/certificate_manager_handler.h"
#endif
+#if defined(ENABLE_GOOGLE_NOW)
+#include "chrome/browser/ui/webui/options/geolocation_options_handler.h"
+#endif
+
using content::RenderViewHost;
namespace {
@@ -256,6 +260,9 @@
AddOptionsPageUIHandler(localized_strings, new ContentSettingsHandler());
AddOptionsPageUIHandler(localized_strings, new CookiesViewHandler());
AddOptionsPageUIHandler(localized_strings, new FontSettingsHandler());
+#if defined(ENABLE_GOOGLE_NOW)
+ AddOptionsPageUIHandler(localized_strings, new GeolocationOptionsHandler());
+#endif
AddOptionsPageUIHandler(localized_strings, new HomePageOverlayHandler());
AddOptionsPageUIHandler(localized_strings,
new MediaDevicesSelectionHandler());

Powered by Google App Engine
This is Rietveld 408576698