OLD | NEW |
---|---|
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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
132 # templates and documentation. The policy definition list that Chrome sees | 132 # templates and documentation. The policy definition list that Chrome sees |
133 # will include policies marked with 'future'. If a WIP policy isn't meant to | 133 # will include policies marked with 'future'. If a WIP policy isn't meant to |
134 # be seen by the policy providers either, the 'supported_on' key should be set | 134 # be seen by the policy providers either, the 'supported_on' key should be set |
135 # to an empty list. | 135 # to an empty list. |
136 # | 136 # |
137 # IDs: | 137 # IDs: |
138 # Since a Protocol Buffer definition is generated from this file, unique and | 138 # Since a Protocol Buffer definition is generated from this file, unique and |
139 # persistent IDs for all fields (but not for groups!) are needed. These are | 139 # persistent IDs for all fields (but not for groups!) are needed. These are |
140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
141 # because doing so would break the deployed wire format! | 141 # because doing so would break the deployed wire format! |
142 # For your editing convenience: highest ID currently used: 349 | 142 # For your editing convenience: highest ID currently used: 350 |
143 # | 143 # |
144 # Placeholders: | 144 # Placeholders: |
145 # The following placeholder strings are automatically substituted: | 145 # The following placeholder strings are automatically substituted: |
146 # $1 -> Google Chrome / Chromium | 146 # $1 -> Google Chrome / Chromium |
147 # $2 -> Google Chrome OS / Chromium OS | 147 # $2 -> Google Chrome OS / Chromium OS |
148 # $3 -> Google Chrome Frame / Chromium Frame | 148 # $3 -> Google Chrome Frame / Chromium Frame |
149 # $6 is reserved for doc_writer | 149 # $6 is reserved for doc_writer |
150 # | 150 # |
151 # Device Policy: | 151 # Device Policy: |
152 # An additional flag 'device_only' (optional, defaults to False) indicates | 152 # An additional flag 'device_only' (optional, defaults to False) indicates |
(...skipping 8628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
8781 'supported_on': ['chrome.*:52-','chrome_os:52-'], | 8781 'supported_on': ['chrome.*:52-','chrome_os:52-'], |
8782 'features': { | 8782 'features': { |
8783 'dynamic_refresh': True, | 8783 'dynamic_refresh': True, |
8784 'per_profile': False, | 8784 'per_profile': False, |
8785 }, | 8785 }, |
8786 'example_value': True, | 8786 'example_value': True, |
8787 'tags': [], | 8787 'tags': [], |
8788 'id': 327, | 8788 'id': 327, |
8789 }, | 8789 }, |
8790 { | 8790 { |
8791 'name': 'NetworkThrottlingEnabled', | |
8792 'caption': '''Enables throttling network bandwidth''', | |
8793 'desc': '''Allows choosing whether network throttling is enabled or not. | |
8794 | |
8795 If set to false, there is no throttling. | |
8796 If set to true, the system is throttled to achieve the provided upload and download rates (in kbits/s).''', | |
Andrew T Wilson (Slow)
2016/10/21 13:27:31
Should we update the documentation to make it clea
stevenjb
2016/10/21 19:41:21
+1
kirtika1
2016/10/23 00:04:49
Done.
| |
8797 'type': 'dict', | |
8798 'schema': { | |
8799 'type': 'object', | |
8800 'properties': { | |
8801 'enabled': { | |
8802 'description': 'A boolean flag indicating if throttling is enabled.' , | |
8803 'type': 'boolean' | |
8804 }, | |
8805 'upload_rate_kbits': { | |
8806 'description': 'Desired upload rate in kbits/s.', | |
8807 'type': 'integer' | |
8808 }, | |
8809 'download_rate_kbits': { | |
8810 'description': 'Desired download rate in kbits/s.', | |
8811 'type': 'integer' | |
8812 } | |
8813 }, | |
8814 'required': ['enabled', 'upload_rate_kbits', 'download_rate_kbits'] | |
8815 }, | |
8816 'supported_on': ['chrome.*:56-', 'chrome_os:56-'], | |
8817 'features': { | |
8818 'dynamic_refresh': True, | |
8819 'per_profile': False, | |
8820 }, | |
8821 'example_value': [{'enabled': 'true', 'upload_rate_kbits': '5600', 'downlo ad_rate_kbits': '5600'}], | |
8822 'tags': [], | |
8823 'id': 350, | |
8824 }, | |
8825 { | |
8791 'name': 'LoginVideoCaptureAllowedUrls', | 8826 'name': 'LoginVideoCaptureAllowedUrls', |
8792 'type': 'list', | 8827 'type': 'list', |
8793 'schema': { | 8828 'schema': { |
8794 'type': 'array', | 8829 'type': 'array', |
8795 'items': { 'type': 'string' }, | 8830 'items': { 'type': 'string' }, |
8796 }, | 8831 }, |
8797 'supported_on': ['chrome_os:52-'], | 8832 'supported_on': ['chrome_os:52-'], |
8798 'device_only': True, | 8833 'device_only': True, |
8799 'features': { | 8834 'features': { |
8800 'dynamic_refresh': True, | 8835 'dynamic_refresh': True, |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9207 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 9242 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
9208 'text': 'Default Settings (users can override)', | 9243 'text': 'Default Settings (users can override)', |
9209 }, | 9244 }, |
9210 'doc_complex_policies_on_windows': { | 9245 'doc_complex_policies_on_windows': { |
9211 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 9246 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
9212 '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>' '', | 9247 '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>' '', |
9213 }, | 9248 }, |
9214 }, | 9249 }, |
9215 'placeholders': [], | 9250 'placeholders': [], |
9216 } | 9251 } |
OLD | NEW |