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

Unified Diff: components/policy/resources/policy_templates.json

Issue 2364703002: Add network throttling as an enterprise policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add network bandwidth throttling as an enterprise policy Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
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': {

Powered by Google App Engine
This is Rietveld 408576698