Chromium Code Reviews| Index: components/policy/resources/policy_templates.json |
| diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json |
| index 3135c2cd2358da593b134a41548aa2205e62d8c3..83f3488e0b357174542c00e2143ada3ace8b56eb 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: 350 |
| # |
| # Placeholders: |
| # The following placeholder strings are automatically substituted: |
| @@ -8788,6 +8788,41 @@ |
| 'id': 327, |
| }, |
| { |
| + 'name': 'NetworkThrottlingEnabled', |
| + 'caption': '''Enables throttling network bandwidth''', |
| + 'desc': '''Allows choosing whether network throttling is enabled or not. |
| + |
| + 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).''', |
|
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.
|
| + '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.*:56-', 'chrome_os:56-'], |
| + 'features': { |
| + 'dynamic_refresh': True, |
| + 'per_profile': False, |
| + }, |
| + 'example_value': [{'enabled': 'true', 'upload_rate_kbits': '5600', 'download_rate_kbits': '5600'}], |
| + 'tags': [], |
| + 'id': 350, |
| + }, |
| + { |
| 'name': 'LoginVideoCaptureAllowedUrls', |
| 'type': 'list', |
| 'schema': { |