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

Unified Diff: chrome/browser/chromeos/preferences.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: Created 4 years, 9 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/chromeos/preferences.cc
diff --git a/chrome/browser/chromeos/preferences.cc b/chrome/browser/chromeos/preferences.cc
index c2cb52ddb1f9a0d8be14eb026cd778417428b0c6..2d10159554235c3cd54dfe5e0cb81080241c3721 100644
--- a/chrome/browser/chromeos/preferences.cc
+++ b/chrome/browser/chromeos/preferences.cc
@@ -96,6 +96,9 @@ void Preferences::RegisterPrefs(PrefRegistrySimple* registry) {
registry->RegisterStringPref(prefs::kLogoutStartedLast, std::string());
registry->RegisterBooleanPref(prefs::kResolveDeviceTimezoneByGeolocation,
true);
+ registry->RegisterIntegerPref(
+ prefs::kSystemTimezoneAutomaticDetectionPolicy,
+ ResolveDeviceTimezoneByGeolocationPolicyValues::USERS_DECIDE);
}
// static

Powered by Google App Engine
This is Rietveld 408576698