Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 113 # templates and documentation. The policy definition list that Chrome sees | 113 # templates and documentation. The policy definition list that Chrome sees |
| 114 # will include policies marked with 'future'. If a WIP policy isn't meant to | 114 # will include policies marked with 'future'. If a WIP policy isn't meant to |
| 115 # be seen by the policy providers either, the 'supported_on' key should be set | 115 # be seen by the policy providers either, the 'supported_on' key should be set |
| 116 # to an empty list. | 116 # to an empty list. |
| 117 # | 117 # |
| 118 # IDs: | 118 # IDs: |
| 119 # Since a Protocol Buffer definition is generated from this file, unique and | 119 # Since a Protocol Buffer definition is generated from this file, unique and |
| 120 # persistent IDs for all fields (but not for groups!) are needed. These are | 120 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 121 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 121 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 122 # because doing so would break the deployed wire format! | 122 # because doing so would break the deployed wire format! |
| 123 # For your editing convenience: highest ID currently used: 270 | 123 # For your editing convenience: highest ID currently used: 270 |
|
Joao da Silva
2014/07/30 07:57:32
Update this ID
Bence
2014/07/30 13:19:31
Done.
| |
| 124 # | 124 # |
| 125 # Placeholders: | 125 # Placeholders: |
| 126 # The following placeholder strings are automatically substituted: | 126 # The following placeholder strings are automatically substituted: |
| 127 # $1 -> Google Chrome / Chromium | 127 # $1 -> Google Chrome / Chromium |
| 128 # $2 -> Google Chrome OS / Chromium OS | 128 # $2 -> Google Chrome OS / Chromium OS |
| 129 # $3 -> Google Chrome Frame / Chromium Frame | 129 # $3 -> Google Chrome Frame / Chromium Frame |
| 130 # $6 is reserved for doc_writer | 130 # $6 is reserved for doc_writer |
| 131 # | 131 # |
| 132 # Device Policy: | 132 # Device Policy: |
| 133 # An additional flag device_only (optional, defaults to False) indicates | 133 # An additional flag device_only (optional, defaults to False) indicates |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 304 'caption': '''Enable network prediction''', | 304 'caption': '''Enable network prediction''', |
| 305 'desc': '''Enables network prediction in <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph> and prevents users from changing this setting. | 305 'desc': '''Enables network prediction in <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph> and prevents users from changing this setting. |
| 306 | 306 |
| 307 This controls not only DNS prefetching but also TCP and SSL preconnection and prerendering of web pages. The policy name refers to DNS prefetching for his torical reasons. | 307 This controls not only DNS prefetching but also TCP and SSL preconnection and prerendering of web pages. The policy name refers to DNS prefetching for his torical reasons. |
| 308 | 308 |
| 309 If you enable or disable this setting, users cannot change or override thi s setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. | 309 If you enable or disable this setting, users cannot change or override thi s setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. |
| 310 | 310 |
| 311 If this policy is left not set, this will be enabled but the user will be able to change it.''', | 311 If this policy is left not set, this will be enabled but the user will be able to change it.''', |
| 312 }, | 312 }, |
| 313 { | 313 { |
| 314 'name': 'NetworkPredictionOptions', | |
| 315 'type': 'int-enum', | |
| 316 'schema': { | |
| 317 'type': 'integer', | |
| 318 'enum': [ 0, 1, 2, 3 ], | |
| 319 }, | |
| 320 'items': [ | |
| 321 { | |
| 322 'name': 'NetworkPredictionAlways', | |
| 323 'value': 0, | |
| 324 'caption': '''Predict network actions on any network connection''', | |
| 325 }, | |
| 326 { | |
| 327 'name': 'NetworkPredictionWifiOnly', | |
| 328 'value': 1, | |
| 329 'caption': '''Predict network actions on any network that is not | |
| 330 cellular''', | |
| 331 }, | |
| 332 { | |
| 333 'name': 'NetworkPredictionNever', | |
| 334 'value': 2, | |
| 335 'caption': '''Do not predict network actions on any network connection ''', | |
| 336 }, | |
| 337 { | |
| 338 'name': 'NetworkPredictionUnset', | |
| 339 'value': 3, | |
| 340 'caption': '''Preference value has not been set''', | |
|
Joao da Silva
2014/07/30 07:57:32
This value is not needed in the policy, since it's
Bence
2014/07/30 13:19:31
Done.
| |
| 341 }, | |
| 342 ], | |
| 343 'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'], | |
|
Joao da Silva
2014/07/30 07:57:32
The version should be 38
Bence
2014/07/30 13:19:31
Done.
What are the current/upcoming chrome_os and
Joao da Silva
2014/07/30 13:33:32
Same version, they should all be 38.
Bence
2014/07/31 20:41:11
Done.
| |
| 344 'features': { | |
| 345 'can_be_recommended': True, | |
| 346 'dynamic_refresh': True, | |
| 347 'per_profile': True, | |
| 348 }, | |
| 349 'example_value': True, | |
|
Joao da Silva
2014/07/30 07:57:32
The example value should be one of the int values
Bence
2014/07/30 13:19:31
Done.
| |
| 350 'id': 271, | |
| 351 'caption': '''Enable network prediction''', | |
| 352 'desc': '''Enables network prediction in <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph> and prevents users from changing this setting. | |
| 353 | |
| 354 This controls DNS prefetching, TCP and SSL preconnection and prerendering of web pages. | |
| 355 | |
| 356 If you set this preference to 'always', 'never', or 'WiFi only', users can not change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chro me</ex></ph>. | |
| 357 | |
| 358 If this policy is left not set, network prediction will be enabled but the user will be able to change it.''', | |
| 359 }, | |
| 360 { | |
| 314 'name': 'WPADQuickCheckEnabled', | 361 'name': 'WPADQuickCheckEnabled', |
| 315 'type': 'main', | 362 'type': 'main', |
| 316 'schema': { 'type': 'boolean' }, | 363 'schema': { 'type': 'boolean' }, |
| 317 'supported_on': [ 'chrome.*:35-', 'chrome_os:35-' ], | 364 'supported_on': [ 'chrome.*:35-', 'chrome_os:35-' ], |
| 318 'features': { | 365 'features': { |
| 319 'dynamic_refresh': False, | 366 'dynamic_refresh': False, |
| 320 'per_profile': False, | 367 'per_profile': False, |
| 321 }, | 368 }, |
| 322 'example_value': True, | 369 'example_value': True, |
| 323 'id': 261, | 370 'id': 261, |
| (...skipping 6313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6637 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', | 6684 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', |
| 6638 'text': 'deprecated', | 6685 'text': 'deprecated', |
| 6639 }, | 6686 }, |
| 6640 'doc_recommended': { | 6687 'doc_recommended': { |
| 6641 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 6688 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 6642 'text': 'Default Settings (users can override)', | 6689 'text': 'Default Settings (users can override)', |
| 6643 }, | 6690 }, |
| 6644 }, | 6691 }, |
| 6645 'placeholders': [], | 6692 'placeholders': [], |
| 6646 } | 6693 } |
| OLD | NEW |