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

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

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
« 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 2909de0bef20c089f4c9ea68356e68dc02153085..186bebfbc8c48acc544712da0b7ebcb964c4c194 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: 157
+# For your editing convenience: highest ID currently used: 158
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -3165,6 +3165,24 @@
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': 158,
+ '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 no user ever set a timezone, a default value (currently "US/Pacific") is used.
+
+ The format of the value follows the names of timezones in the "IANA Time Zone Database" (see "http://en.wikipedia.org/wiki/List_of_tz_database_time"). In particular, most timezones can be referred to by "continent/large_city" or "ocean/large_city".''',
+ },
],
'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