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

Unified Diff: chrome/common/pref_names.cc

Issue 834073002: ChromeOS: Implement periodic timezone refresh on geolocation data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 5 years, 11 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/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index fec923fa3ed6a29985f515fda6e60323d7181e3a..d1f0b3be8cf42d86813ed2d0440d716b5c0bea17 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -485,6 +485,11 @@ const char kTouchpadSensitivity[] = "settings.touchpad.sensitivity2";
// A boolean pref set to true if time should be displayed in 24-hour clock.
const char kUse24HourClock[] = "settings.clock.use_24hour_clock";
+// This setting disables manual timezone selection and starts periodic timezone
+// refresh.
+const char kResolveTimezoneByGeolocation[] =
+ "settings.resolve_timezone_by_geolocation";
+
// A boolean pref to disable Google Drive integration.
// The pref prefix should remain as "gdata" for backward compatibility.
const char kDisableDrive[] = "gdata.disabled";
@@ -1973,6 +1978,14 @@ const char kMessageCenterShowIcon[] = "message_center.show_icon";
const char kMessageCenterForcedOnTaskbar[] =
"message_center.was_forced_on_taskbar";
+#if defined(OS_CHROMEOS)
+// This setting starts periodic timezone refresh when not in user session.
+// (user session is controlled by user profile preference
+// kResolveTimezoneByGeolocation
+const char kResolveDeviceTimezoneByGeolocation[] =
+ "settings.resolve_device_timezone_by_geolocation";
+#endif // defined(OS_CHROMEOS)
+
// *************** SERVICE PREFS ***************
// These are attached to the service process.

Powered by Google App Engine
This is Rietveld 408576698