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

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

Issue 1849133006: Revert "ChromeOS: Add SystemTimezoneAutomaticDetection policy." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 5722 matching lines...) Expand 10 before | Expand all | Expand 10 after
5733 'example_value': 'America/Los_Angeles', 5733 'example_value': 'America/Los_Angeles',
5734 'id': 158, 5734 'id': 158,
5735 'caption': '''Timezone''', 5735 'caption': '''Timezone''',
5736 'tags': [], 5736 'tags': [],
5737 '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. 5737 '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.
5738 5738
5739 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. 5739 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.
5740 5740
5741 New devices start out with the timezone set to "US/Pacific". 5741 New devices start out with the timezone set to "US/Pacific".
5742 5742
5743 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 ". 5743 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 ".''',
5744
5745 Setting this policy completely disables automatic timezone resolve by devi ce location. It also overrides SystemTimezoneAutomaticDetection policy.''',
5746 }, 5744 },
5747 { 5745 {
5748 'name': 'SystemUse24HourClock', 5746 'name': 'SystemUse24HourClock',
5749 'type': 'main', 5747 'type': 'main',
5750 'schema': { 'type': 'boolean' }, 5748 'schema': { 'type': 'boolean' },
5751 'supported_on': ['chrome_os:30-'], 5749 'supported_on': ['chrome_os:30-'],
5752 'device_only': True, 5750 'device_only': True,
5753 'features': { 5751 'features': {
5754 'dynamic_refresh': True, 5752 'dynamic_refresh': True,
5755 }, 5753 },
(...skipping 2616 matching lines...) Expand 10 before | Expand all | Expand 10 after
8372 'schema': { 'type': 'boolean' }, 8370 'schema': { 'type': 'boolean' },
8373 'supported_on': ['chrome.*:49-','chrome_os:49-'], 8371 'supported_on': ['chrome.*:49-','chrome_os:49-'],
8374 'features': { 8372 'features': {
8375 'dynamic_refresh': False, 8373 'dynamic_refresh': False,
8376 'per_profile': False, 8374 'per_profile': False,
8377 }, 8375 },
8378 'example_value': True, 8376 'example_value': True,
8379 'tags': ['system-security'], 8377 'tags': ['system-security'],
8380 'id': 324, 8378 'id': 324,
8381 }, 8379 },
8382 {
8383 'name': 'SystemTimezoneAutomaticDetection',
8384 'type': 'int-enum',
8385 'schema': {
8386 'type': 'integer',
8387 'enum': [ 0, 1, 2, 3 ],
8388 },
8389 'items': [
8390 {
8391 'name': 'TimezoneAutomaticDetectionUsersDecide',
8392 'value': 0,
8393 'caption': '''Let users decide.''',
8394 },
8395 {
8396 'name': 'TimezoneAutomaticDetectionDisabled',
8397 'value': 1,
8398 'caption': '''Never auto-detect timezone.''',
8399 },
8400 {
8401 'name': 'TimezoneAutomaticDetectionIPOnly',
8402 'value': 2,
8403 'caption': '''Always use coarse timezone detection.''',
8404 },
8405 {
8406 'name': 'TimezoneAutomaticDetectionSendWiFiAccessPoints',
8407 'value': 3,
8408 'caption': '''Always send WiFi acess-points to server while resolving timezone.''',
8409 },
8410 ],
8411 'supported_on': ['chrome_os:51-'],
8412 'device_only': True,
8413 'features': {
8414 'dynamic_refresh': True,
8415 },
8416 'example_value': 0,
8417 'id': 325,
8418 'caption': '''Configure the automatic timezone detection method''',
8419 'tags': ['google-sharing'],
8420 '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:
8421
8422 If set to TimezoneAutomaticDetectionUsersDecide, users would be able to co ntrol automatic timezone detection using normal controls in chrome://settings.
8423
8424 If set to TimezoneAutomaticDetectionDisabled, automatic timezone controls in chrome://settings will be disabled. Automatic timezone detection will be alwa ys off.
8425
8426 If set to TimezoneAutomaticDetectionIPOnly, timezone controls in chrome:// settings will be disabled. Automatic timezone detection will be always on. Timez one detection will use IP-only method to resolve location.
8427
8428 If set to TimezoneAutomaticDetectionSendWiFiAccessPoints, timezone control s in chrome://settings will be disabled. Automatic timezone detection will be al ways on. The list of visible WiFi access-points will be always sent to Geolocati on API server for fine-grained timezone detection.
8429
8430 If this policy is not set, it will behave as if TimezoneAutomaticDetection UsersDecide is set.
8431
8432 If SystemTimezone policy is set, it overrides this policy. In this case au tomatic timezone detection is completely disabled.''',
8433 },
8434 ], 8380 ],
8435 'messages': { 8381 'messages': {
8436 # Messages that are not associated to any policies. 8382 # Messages that are not associated to any policies.
8437 'win_supported_winxpsp2': { 8383 'win_supported_winxpsp2': {
8438 '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:'.''', 8384 '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:'.''',
8439 'text': '''Microsoft Windows XP SP2 or later''' 8385 'text': '''Microsoft Windows XP SP2 or later'''
8440 }, 8386 },
8441 'mac_chrome_preferences': { 8387 'mac_chrome_preferences': {
8442 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 8388 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
8443 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 8389 '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
8553 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 8499 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
8554 'text': 'Default Settings (users can override)', 8500 'text': 'Default Settings (users can override)',
8555 }, 8501 },
8556 'doc_complex_policies_on_windows': { 8502 'doc_complex_policies_on_windows': {
8557 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 8503 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
8558 '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>' '', 8504 '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>' '',
8559 }, 8505 },
8560 }, 8506 },
8561 'placeholders': [], 8507 'placeholders': [],
8562 } 8508 }
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