Index: components/policy/resources/policy_templates.json |
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json |
index 1684beb85cf59929a4566ff8395bca6222703ef2..6046e2b7d29c11de7908f99f8ec692cefb1aac27 100644 |
--- a/components/policy/resources/policy_templates.json |
+++ b/components/policy/resources/policy_templates.json |
@@ -139,7 +139,7 @@ |
# persistent IDs for all fields (but not for groups!) are needed. These are |
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
# because doing so would break the deployed wire format! |
-# For your editing convenience: highest ID currently used: 349 |
+# For your editing convenience: highest ID currently used: 351 |
# |
# Placeholders: |
# The following placeholder strings are automatically substituted: |
@@ -8788,6 +8788,44 @@ |
'id': 327, |
}, |
{ |
+ 'name': 'NetworkThrottlingEnabled', |
+ 'device_only': True, |
+ 'caption': '''Enables throttling network bandwidth''', |
+ 'desc': '''Allows choosing whether network throttling is enabled or not. |
+ This applies to all users, and to all interfaces on the device. Once set, |
+ the throttling persists until the policy is changed to disable it. |
+ |
+ If set to false, there is no throttling. |
+ If set to true, the system is throttled to achieve the provided upload and download rates (in kbits/s).''', |
+ 'type': 'dict', |
+ 'schema': { |
+ 'type': 'object', |
+ 'properties': { |
+ 'enabled': { |
+ 'description': 'A boolean flag indicating if throttling is enabled.', |
+ 'type': 'boolean' |
+ }, |
+ 'upload_rate_kbits': { |
+ 'description': 'Desired upload rate in kbits/s.', |
+ 'type': 'integer' |
+ }, |
+ 'download_rate_kbits': { |
+ 'description': 'Desired download rate in kbits/s.', |
+ 'type': 'integer' |
+ } |
+ }, |
+ 'required': ['enabled', 'upload_rate_kbits', 'download_rate_kbits'] |
+ }, |
+ 'supported_on': ['chrome_os:56-'], |
+ 'features': { |
+ 'dynamic_refresh': True, |
+ 'per_profile': False, |
+ }, |
+ 'example_value': [{'enabled': 'true', 'upload_rate_kbits': '5600', 'download_rate_kbits': '5600'}], |
+ 'tags': [], |
+ 'id': 351, |
+ }, |
+ { |
'name': 'LoginVideoCaptureAllowedUrls', |
'type': 'list', |
'schema': { |