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

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

Issue 2463023002: Revert of Add network throttling as an enterprise policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted by hand Created 4 years, 1 month 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/network/shill_property_handler.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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
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: 350 142 # For your editing convenience: highest ID currently used: 349
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
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 'device_only': True,
8793 'caption': '''Enables throttling network bandwidth''',
8794 'desc': '''Allows choosing whether network throttling is enabled or not.
8795 This applies to all users, and to all interfaces on the device. Once set,
8796 the throttling persists until the policy is changed to disable it.
8797
8798 If set to false, there is no throttling.
8799 If set to true, the system is throttled to achieve the provided upload and download rates (in kbits/s).''',
8800 'type': 'dict',
8801 'schema': {
8802 'type': 'object',
8803 'properties': {
8804 'enabled': {
8805 'description': 'A boolean flag indicating if throttling is enabled.' ,
8806 'type': 'boolean'
8807 },
8808 'upload_rate_kbits': {
8809 'description': 'Desired upload rate in kbits/s.',
8810 'type': 'integer'
8811 },
8812 'download_rate_kbits': {
8813 'description': 'Desired download rate in kbits/s.',
8814 'type': 'integer'
8815 }
8816 },
8817 'required': ['enabled', 'upload_rate_kbits', 'download_rate_kbits']
8818 },
8819 'supported_on': ['chrome_os:56-'],
8820 'features': {
8821 'dynamic_refresh': True,
8822 'per_profile': False,
8823 },
8824 'example_value': [{'enabled': 'true', 'upload_rate_kbits': '5600', 'downlo ad_rate_kbits': '5600'}],
8825 'tags': [],
8826 'id': 350,
8827 },
8828 {
8829 'name': 'LoginVideoCaptureAllowedUrls', 8791 'name': 'LoginVideoCaptureAllowedUrls',
8830 'type': 'list', 8792 'type': 'list',
8831 'schema': { 8793 'schema': {
8832 'type': 'array', 8794 'type': 'array',
8833 'items': { 'type': 'string' }, 8795 'items': { 'type': 'string' },
8834 }, 8796 },
8835 'supported_on': ['chrome_os:52-'], 8797 'supported_on': ['chrome_os:52-'],
8836 'device_only': True, 8798 'device_only': True,
8837 'features': { 8799 'features': {
8838 'dynamic_refresh': True, 8800 'dynamic_refresh': True,
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
9245 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9207 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9246 'text': 'Default Settings (users can override)', 9208 'text': 'Default Settings (users can override)',
9247 }, 9209 },
9248 'doc_complex_policies_on_windows': { 9210 'doc_complex_policies_on_windows': {
9249 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9211 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9250 '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>' '', 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>' '',
9251 }, 9213 },
9252 }, 9214 },
9253 'placeholders': [], 9215 'placeholders': [],
9254 } 9216 }
OLDNEW
« no previous file with comments | « chromeos/network/shill_property_handler.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698