Index: components/policy/resources/policy_templates.json |
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json |
index 47f26f60d38f5d3c239b46bb5e8370fba5fbee04..e2b3c4c8abd99e993142e454af5f83b44807a1ef 100644 |
--- a/components/policy/resources/policy_templates.json |
+++ b/components/policy/resources/policy_templates.json |
@@ -120,7 +120,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: 270 |
+# For your editing convenience: highest ID currently used: 271 |
# |
# Placeholders: |
# The following placeholder strings are automatically substituted: |
@@ -311,6 +311,48 @@ |
If this policy is left not set, this will be enabled but the user will be able to change it.''', |
}, |
{ |
+ 'name': 'NetworkPredictionOptions', |
+ 'type': 'int-enum', |
+ 'schema': { |
+ 'type': 'integer', |
+ 'enum': [ 0, 1, 2 ], |
+ }, |
+ 'items': [ |
+ { |
+ 'name': 'NetworkPredictionAlways', |
+ 'value': 0, |
+ 'caption': '''Predict network actions on any network connection''', |
+ }, |
+ { |
+ 'name': 'NetworkPredictionWifiOnly', |
+ 'value': 1, |
+ 'caption': '''Predict network actions on any network that is not |
+ cellular''', |
+ }, |
+ { |
+ 'name': 'NetworkPredictionNever', |
+ 'value': 2, |
+ 'caption': '''Do not predict network actions on any network connection''', |
+ }, |
+ ], |
+ 'supported_on': ['chrome.*:38-', 'chrome_os:11-', 'android:30-'], |
Joao da Silva
2014/07/30 13:33:32
The first version supported should be 38 on all pl
Bence
2014/07/31 20:41:12
Done.
Thanks. I didn't realize version numbers a
|
+ 'features': { |
+ 'can_be_recommended': True, |
+ 'dynamic_refresh': True, |
+ 'per_profile': True, |
+ }, |
+ 'example_value': 1, |
+ 'id': 271, |
+ 'caption': '''Enable network prediction''', |
+ 'desc': '''Enables network prediction in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting. |
+ |
+ This controls DNS prefetching, TCP and SSL preconnection and prerendering of web pages. |
+ |
+ If you set this preference to 'always', 'never', or 'WiFi only', users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. |
+ |
+ If this policy is left not set, network prediction will be enabled but the user will be able to change it.''', |
+ }, |
+ { |
'name': 'WPADQuickCheckEnabled', |
'type': 'main', |
'schema': { 'type': 'boolean' }, |