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

Unified Diff: chrome/browser/chromeos/settings/cros_settings_names.cc

Issue 10832222: Added a timezone policy and pyauto tests for it. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase and update policy id. Created 8 years, 4 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/settings/cros_settings_names.cc
diff --git a/chrome/browser/chromeos/settings/cros_settings_names.cc b/chrome/browser/chromeos/settings/cros_settings_names.cc
index 0cb3aad2ca76871d747f49eb6e861af362300e0e..64820501f254b965c2bb163eb0de1774c6c03323 100644
--- a/chrome/browser/chromeos/settings/cros_settings_names.cc
+++ b/chrome/browser/chromeos/settings/cros_settings_names.cc
@@ -23,7 +23,12 @@ const char kSettingProxyEverywhere[] = "cros.proxy.everywhere";
// All cros.signed.* settings are stored in SignedSettings.
const char kSignedDataRoamingEnabled[] = "cros.signed.data_roaming_enabled";
+// The first constant refers to the user setting editable in the UI. The second
+// refers to the timezone policy. This seperation is necessary to allow the user
+// to temporarily change the timezone for the current session and reset it to
+// the policy's value on logout.
const char kSystemTimezone[] = "cros.system.timezone";
+const char kSystemTimezonePolicy[] = "cros.system.timezone_policy";
const char kDeviceOwner[] = "cros.device.owner";
« no previous file with comments | « chrome/browser/chromeos/settings/cros_settings_names.h ('k') | chrome/browser/chromeos/settings/device_settings_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698