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

Unified Diff: chrome/browser/extensions/api/settings_private/prefs_util.cc

Issue 2393703005: MD Settings: Date and Time page, part 1/3 (Closed)
Patch Set: . Created 4 years, 2 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/extensions/api/settings_private/prefs_util.cc
diff --git a/chrome/browser/extensions/api/settings_private/prefs_util.cc b/chrome/browser/extensions/api/settings_private/prefs_util.cc
index c36ea6d095081fc3b567d75dc4d7461b03919927..e64b8ece70490664cde1d2b37679dbdd59ffc6fd 100644
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -254,6 +254,10 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetWhitelistedKeys() {
(*s_whitelist)["settings.enable_screen_lock"] =
settings_private::PrefType::PREF_TYPE_BOOLEAN;
+ // Time zone settings.
+ (*s_whitelist)["settings.resolve_timezone_by_geolocation"] =
+ settings_private::PrefType::PREF_TYPE_BOOLEAN;
+
// Ash settings.
(*s_whitelist)["settings.enable_stylus_tools"] =
settings_private::PrefType::PREF_TYPE_BOOLEAN;

Powered by Google App Engine
This is Rietveld 408576698