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

Unified Diff: chrome/browser/resources/options/options.js

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/resources/options/options.js
===================================================================
--- chrome/browser/resources/options/options.js (revision 204675)
+++ chrome/browser/resources/options/options.js (working copy)
@@ -17,6 +17,9 @@
var CreateProfileOverlay = options.CreateProfileOverlay;
var EditDictionaryOverlay = cr.IsMac ? null : options.EditDictionaryOverlay;
var FactoryResetOverlay = options.FactoryResetOverlay;
+<if expr="pp_ifdef('enable_google_now')">
+ var GeolocationOptions = options.GeolocationOptions;
Evan Stade 2013/06/10 18:06:10 nit: no indent
robliao 2013/06/10 18:58:49 I'm keeping this one like this for consistency wit
Evan Stade 2013/06/10 20:35:03 where in the rest of the file is there an if expr?
robliao 2013/06/10 20:58:29 In this directory, options_bundle.js follows the <
Evan Stade 2013/06/10 21:15:19 doesn't mean you should propagate the bad style in
robliao 2013/06/10 21:29:46 I agree with you that the space is unnecessary. Ho
Evan Stade 2013/06/10 21:51:39 feel free to fix them all right now then. It's a m
robliao 2013/06/10 22:04:17 Indeed it's a matter of seconds, but best put into
+</if>
var ManagedUserCreateConfirmOverlay = options.ManagedUserCreateConfirmOverlay;
var ManagedUserLearnMoreOverlay = options.ManagedUserLearnMoreOverlay;
var FontSettings = options.FontSettings;

Powered by Google App Engine
This is Rietveld 408576698