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

Side by Side Diff: components/policy/resources/policy_templates.json

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: Update after review. Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « chromeos/chromeos_switches.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 # policy_templates.json - Metafile for policy templates 2 # policy_templates.json - Metafile for policy templates
3 # 3 #
4 # The content of this file is evaluated as a Python expression. 4 # The content of this file is evaluated as a Python expression.
5 # 5 #
6 # This file is used as input to generate the following policy templates: 6 # This file is used as input to generate the following policy templates:
7 # ADM, ADMX+ADML, MCX/plist and html documentation. 7 # ADM, ADMX+ADML, MCX/plist and html documentation.
8 # 8 #
9 # Policy templates are user interface definitions or documents about the 9 # Policy templates are user interface definitions or documents about the
10 # policies that can be used to configure Chrome. Each policy is a name-value 10 # policies that can be used to configure Chrome. Each policy is a name-value
(...skipping 5719 matching lines...) Expand 10 before | Expand all | Expand 10 after
5730 'example_value': 'America/Los_Angeles', 5730 'example_value': 'America/Los_Angeles',
5731 'id': 158, 5731 'id': 158,
5732 'caption': '''Timezone''', 5732 'caption': '''Timezone''',
5733 'tags': [], 5733 'tags': [],
5734 'desc': '''Specifies the timezone to be used for the device. Users can ove rride the specified timezone for the current session. However, on logout it is s et back to the specified timezone. If an invalid value is provided, the policy i s still activated using "GMT" instead. If an empty string is provided, the polic y is ignored. 5734 'desc': '''Specifies the timezone to be used for the device. Users can ove rride the specified timezone for the current session. However, on logout it is s et back to the specified timezone. If an invalid value is provided, the policy i s still activated using "GMT" instead. If an empty string is provided, the polic y is ignored.
5735 5735
5736 If this policy is not used, the currently active timezone will remain in u se however users can change the timezone and the change is persistent. Thus a ch ange by one user affects the login-screen and all other users. 5736 If this policy is not used, the currently active timezone will remain in u se however users can change the timezone and the change is persistent. Thus a ch ange by one user affects the login-screen and all other users.
5737 5737
5738 New devices start out with the timezone set to "US/Pacific". 5738 New devices start out with the timezone set to "US/Pacific".
5739 5739
5740 The format of the value follows the names of timezones in the "IANA Time Z one Database" (see "https://en.wikipedia.org/wiki/Tz_database"). In particular, most timezones can be referred to by "continent/large_city" or "ocean/large_city ".''', 5740 The format of the value follows the names of timezones in the "IANA Time Z one Database" (see "https://en.wikipedia.org/wiki/Tz_database"). In particular, most timezones can be referred to by "continent/large_city" or "ocean/large_city ".
5741
5742 Setting this policy completely disables automatic timezone resolve by devi ce location. It also overrides SystemTimezoneAutomaticDetection policy.''',
5741 }, 5743 },
5742 { 5744 {
5743 'name': 'SystemUse24HourClock', 5745 'name': 'SystemUse24HourClock',
5744 'type': 'main', 5746 'type': 'main',
5745 'schema': { 'type': 'boolean' }, 5747 'schema': { 'type': 'boolean' },
5746 'supported_on': ['chrome_os:30-'], 5748 'supported_on': ['chrome_os:30-'],
5747 'device_only': True, 5749 'device_only': True,
5748 'features': { 5750 'features': {
5749 'dynamic_refresh': True, 5751 'dynamic_refresh': True,
5750 }, 5752 },
(...skipping 2616 matching lines...) Expand 10 before | Expand all | Expand 10 after
8367 'schema': { 'type': 'boolean' }, 8369 'schema': { 'type': 'boolean' },
8368 'supported_on': ['chrome.*:49-','chrome_os:49-'], 8370 'supported_on': ['chrome.*:49-','chrome_os:49-'],
8369 'features': { 8371 'features': {
8370 'dynamic_refresh': False, 8372 'dynamic_refresh': False,
8371 'per_profile': False, 8373 'per_profile': False,
8372 }, 8374 },
8373 'example_value': True, 8375 'example_value': True,
8374 'tags': ['system-security'], 8376 'tags': ['system-security'],
8375 'id': 324, 8377 'id': 324,
8376 }, 8378 },
8379 {
8380 'name': 'SystemTimezoneAutomaticDetection',
8381 'type': 'int-enum',
8382 'schema': {
8383 'type': 'integer',
8384 'enum': [ 0, 1, 2, 3 ],
8385 },
8386 'items': [
8387 {
8388 'name': 'AUTOMATIC_TIMEZONE_DETECTION_USERS_DECIDE',
8389 'value': 0,
8390 'caption': '''Let users decide.''',
8391 },
8392 {
8393 'name': 'AUTOMATIC_TIMEZONE_DETECTION_DISABLED',
8394 'value': 1,
8395 'caption': '''Never auto-detect timezone.''',
8396 },
8397 {
8398 'name': 'AUTOMATIC_TIMEZONE_DETECTION_IP_ONLY',
8399 'value': 2,
8400 'caption': '''Always use coarse timezone detection.''',
8401 },
8402 {
8403 'name': 'AUTOMATIC_TIMEZONE_DETECTION_SEND_WIFI_ACCESS_POINTS',
8404 'value': 3,
8405 'caption': '''Always send WiFi acess-points to server.use fine-grained timezone detection (send curently visible WiFi access points to Geolocation API to better locate geographical position).''',
bartfab (slow) 2016/04/01 14:44:50 Nit 1: s/server.use/server and use/ Nit 2: These c
Alexander Alekseev 2016/04/01 23:59:33 Done.
8406 },
8407 ],
8408 'supported_on': ['chrome_os:51-'],
8409 'device_only': True,
8410 'features': {
8411 'dynamic_refresh': True,
8412 },
8413 'example_value': 0,
8414 'id': 325,
8415 'caption': '''Configure the automatic timezone detection method''',
8416 'tags': [],
bartfab (slow) 2016/04/01 14:44:50 This should be tagged with "google-sharing" as AUT
Alexander Alekseev 2016/04/01 23:59:33 Done.
8417 'desc': '''When this policy is set, automatic timezone detection flow will be in one of the following ways depending on the value of the setting:
8418
8419 If set to AUTOMATIC_TIMEZONE_DETECTION_USERS_DECIDE, users would be able t o control automatic timezone detection using normal controls in chrome://setting s.
8420
8421 If set to AUTOMATIC_TIMEZONE_DETECTION_DISABLED, automatic timezone contro ls in chrome://settings will be disabled. Automatic timezone detection will be a lways off. Timezone could be controlled either by SystemTimezone policy or by ti mezone selector in chrome://settings.
bartfab (slow) 2016/04/01 14:44:50 "Timezone could be controlled either by SystemTime
Alexander Alekseev 2016/04/01 23:59:33 Done.
8422
8423 If set to AUTOMATIC_TIMEZONE_DETECTION_IP_ONLY, timezone controls in chrom e://settings will be disabled. Automatic timezone detection will be always on. T imezone detection will use IP-only method to resolve location.
8424
8425 If set to AUTOMATIC_TIMEZONE_DETECTION_SEND_WIFI_ACCESS_POINTS, timezone c ontrols in chrome://settings will be disabled. Automatic timezone detection will be always on. The list of visible WiFi access-points will be always sent to Geo location API server for fine-grained timezone detection.
8426
8427 If this policy is not set, it will behave as if AUTOMATIC_TIMEZONE_DETECTI ON_USERS_DECIDE is set.
8428
8429 If SystemTimezone policy is set. it overrides this policy. In this case au tomatic timezone detection is completely disabled.''',
bartfab (slow) 2016/04/01 14:44:50 Nit: s/set./set,/
Alexander Alekseev 2016/04/01 23:59:33 Done.
8430 },
8377 ], 8431 ],
8378 'messages': { 8432 'messages': {
8379 # Messages that are not associated to any policies. 8433 # Messages that are not associated to any policies.
8380 'win_supported_winxpsp2': { 8434 'win_supported_winxpsp2': {
8381 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', 8435 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''',
8382 'text': '''Microsoft Windows XP SP2 or later''' 8436 'text': '''Microsoft Windows XP SP2 or later'''
8383 }, 8437 },
8384 'mac_chrome_preferences': { 8438 'mac_chrome_preferences': {
8385 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 8439 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
8386 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 8440 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
8496 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 8550 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
8497 'text': 'Default Settings (users can override)', 8551 'text': 'Default Settings (users can override)',
8498 }, 8552 },
8499 'doc_complex_policies_on_windows': { 8553 'doc_complex_policies_on_windows': {
8500 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 8554 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
8501 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', 8555 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '',
8502 }, 8556 },
8503 }, 8557 },
8504 'placeholders': [], 8558 'placeholders': [],
8505 } 8559 }
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698