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

Unified Diff: chrome/common/pref_names.cc

Issue 1843523002: ChromeOS: Add SystemTimezoneAutomaticDetection policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@596690--Implement-better-timezone-detection--refactoring-before-policy
Patch Set: Rebased. Created 4 years, 8 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 c3c12e970155bc9fb4914cb930a87898f5826a3c..3c1ee55646abc61a65ddcf046ca6e2cb491feaa0 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1875,6 +1875,12 @@ const char kDebuggingFeaturesRequested[] = "DebuggingFeaturesRequested";
// kResolveTimezoneByGeolocation
const char kResolveDeviceTimezoneByGeolocation[] =
"settings.resolve_device_timezone_by_geolocation";
+
+// This is policy-controlled preference.
+// It has values defined in policy enum
+// SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType;
+const char kSystemTimezoneAutomaticDetectionPolicy[] =
+ "settings.resolve_device_timezone_by_geolocation_policy";
#endif // defined(OS_CHROMEOS)
// *************** SERVICE PREFS ***************

Powered by Google App Engine
This is Rietveld 408576698