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

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

Issue 2624843003: Add support for cellular geolocation (Closed)
Patch Set: Update device tests to use correct dict key Created 3 years, 10 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
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 8793 matching lines...) Expand 10 before | Expand all | Expand 10 after
8804 <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will 8804 <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will
8805 automatically contact the Quirks Server and download configuration files, 8805 automatically contact the Quirks Server and download configuration files,
8806 if available, and store them on the device. Such files might, for 8806 if available, and store them on the device. Such files might, for
8807 example, be used to improve display quality of attached monitors.''', 8807 example, be used to improve display quality of attached monitors.''',
8808 }, 8808 },
8809 { 8809 {
8810 'name': 'SystemTimezoneAutomaticDetection', 8810 'name': 'SystemTimezoneAutomaticDetection',
8811 'type': 'int-enum', 8811 'type': 'int-enum',
8812 'schema': { 8812 'schema': {
8813 'type': 'integer', 8813 'type': 'integer',
8814 'enum': [ 0, 1, 2, 3 ], 8814 'enum': [ 0, 1, 2, 3, 4 ],
8815 }, 8815 },
8816 'items': [ 8816 'items': [
8817 { 8817 {
8818 'name': 'TimezoneAutomaticDetectionUsersDecide', 8818 'name': 'TimezoneAutomaticDetectionUsersDecide',
8819 'value': 0, 8819 'value': 0,
8820 'caption': '''Let users decide.''', 8820 'caption': '''Let users decide.''',
8821 }, 8821 },
8822 { 8822 {
8823 'name': 'TimezoneAutomaticDetectionDisabled', 8823 'name': 'TimezoneAutomaticDetectionDisabled',
8824 'value': 1, 8824 'value': 1,
8825 'caption': '''Never auto-detect timezone.''', 8825 'caption': '''Never auto-detect timezone.''',
8826 }, 8826 },
8827 { 8827 {
8828 'name': 'TimezoneAutomaticDetectionIPOnly', 8828 'name': 'TimezoneAutomaticDetectionIPOnly',
8829 'value': 2, 8829 'value': 2,
8830 'caption': '''Always use coarse timezone detection.''', 8830 'caption': '''Always use coarse timezone detection.''',
8831 }, 8831 },
8832 { 8832 {
8833 'name': 'TimezoneAutomaticDetectionSendWiFiAccessPoints', 8833 'name': 'TimezoneAutomaticDetectionSendWiFiAccessPoints',
8834 'value': 3, 8834 'value': 3,
8835 'caption': '''Always send WiFi acess-points to server while resolving timezone.''', 8835 'caption': '''Always send WiFi access-points to server while resolving timezone.''',
8836 },
8837 {
8838 'name': 'TimezoneAutomaticDetectionSendAllLocationInfo',
8839 'value': 4,
8840 'caption': '''Always send any available location signals to the server while resolving timezone.''',
8836 }, 8841 },
8837 ], 8842 ],
8838 'supported_on': ['chrome_os:53-'], 8843 'supported_on': ['chrome_os:53-'],
8839 'device_only': True, 8844 'device_only': True,
8840 'features': { 8845 'features': {
8841 'dynamic_refresh': True, 8846 'dynamic_refresh': True,
8842 }, 8847 },
8843 'example_value': 0, 8848 'example_value': 0,
8844 'id': 326, 8849 'id': 326,
8845 'caption': '''Configure the automatic timezone detection method''', 8850 'caption': '''Configure the automatic timezone detection method''',
8846 'tags': ['google-sharing'], 8851 'tags': ['google-sharing'],
8847 '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: 8852 '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:
8848 8853
8849 If set to TimezoneAutomaticDetectionUsersDecide, users would be able to co ntrol automatic timezone detection using normal controls in chrome://settings. 8854 If set to TimezoneAutomaticDetectionUsersDecide, users would be able to co ntrol automatic timezone detection using normal controls in chrome://settings.
8850 8855
8851 If set to TimezoneAutomaticDetectionDisabled, automatic timezone controls in chrome://settings will be disabled. Automatic timezone detection will be alwa ys off. 8856 If set to TimezoneAutomaticDetectionDisabled, automatic timezone controls in chrome://settings will be disabled. Automatic timezone detection will be alwa ys off.
8852 8857
8853 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. 8858 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.
8854 8859
8855 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. 8860 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.
8856 8861
8862 If set to TimezoneAutomaticDetectionSendAllLocationInfo, timezone controls in chrome://settings will be disabled. Automatic timezone detection will be alw ays on. Location information (such as WiFi access-points, reachable Cell Towers, GPS) will be sent to a server for fine-grained timezone detection.
8863
8857 If this policy is not set, it will behave as if TimezoneAutomaticDetection UsersDecide is set. 8864 If this policy is not set, it will behave as if TimezoneAutomaticDetection UsersDecide is set.
8858 8865
8859 If SystemTimezone policy is set, it overrides this policy. In this case au tomatic timezone detection is completely disabled.''', 8866 If SystemTimezone policy is set, it overrides this policy. In this case au tomatic timezone detection is completely disabled.''',
8860 }, 8867 },
8861 { 8868 {
8862 'name': 'TaskManagerEndProcessEnabled', 8869 'name': 'TaskManagerEndProcessEnabled',
8863 'caption': '''Enables ending processes in Task Manager''', 8870 'caption': '''Enables ending processes in Task Manager''',
8864 'desc': '''Enables ending processes in <ph name="PRODUCT_NAME">$1<ex>Googl e Chrome</ex></ph>'s Task Manager. 8871 'desc': '''Enables ending processes in <ph name="PRODUCT_NAME">$1<ex>Googl e Chrome</ex></ph>'s Task Manager.
8865 8872
8866 If set to false, the 'End process' button is disabled in the Task Manager. 8873 If set to false, the 'End process' button is disabled in the Task Manager.
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
9578 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9585 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9579 'text': 'Default Settings (users can override)', 9586 'text': 'Default Settings (users can override)',
9580 }, 9587 },
9581 'doc_complex_policies_on_windows': { 9588 'doc_complex_policies_on_windows': {
9582 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9589 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9583 '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>' '', 9590 '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>' '',
9584 }, 9591 },
9585 }, 9592 },
9586 'placeholders': [], 9593 'placeholders': [],
9587 } 9594 }
OLDNEW
« no previous file with comments | « chromeos/timezone/timezone_resolver.cc ('k') | device/geolocation/wifi_data_provider_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698