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

Unified Diff: chrome/app/policy/policy_templates.json

Issue 10827050: Added a timezone policy and pyauto tests for it. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed comments. 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
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/policy/policy_templates.json
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index 79eb0cac272502d98915231e3e0ab054732c95e7..23b681402c80dd702d5b40a73f8b26182d901bd0 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -112,7 +112,7 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 156
+# For your editing convenience: highest ID currently used: 157
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -3150,6 +3150,22 @@
If disabled or not specified, taking screenshots is allowed.'''
},
+ {
+ 'name': 'DeviceTimezone',
+ 'type': 'string',
+ 'schema': { 'type': 'string' },
+ 'supported_on': ['chrome_os:22-'],
+ 'device_only': True,
+ 'features': {'dynamic_refresh': True},
+ 'example_value': 'America/Los_Angeles',
+ 'id': 157,
+ 'caption': '''Timezone''',
+ 'desc': '''Specifies the timezone to be used for the device. Users can override the specified timezone for the current session.
+ However, on logout it is set back to the specified timezone.
+
+ If this policy is not used or set to an invalid value, users can change the timezone and the change is persistent. Thus a change affects the login-screen and other users.
+ If additionally no user ever set a timezone, a default value (currently "US/Pacific") is used.''',
+ },
],
'messages': {
# Messages that are not associated to any policies.
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698