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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 130 # templates and documentation. The policy definition list that Chrome sees | 130 # templates and documentation. The policy definition list that Chrome sees |
| 131 # will include policies marked with 'future'. If a WIP policy isn't meant to | 131 # will include policies marked with 'future'. If a WIP policy isn't meant to |
| 132 # be seen by the policy providers either, the 'supported_on' key should be set | 132 # be seen by the policy providers either, the 'supported_on' key should be set |
| 133 # to an empty list. | 133 # to an empty list. |
| 134 # | 134 # |
| 135 # IDs: | 135 # IDs: |
| 136 # Since a Protocol Buffer definition is generated from this file, unique and | 136 # Since a Protocol Buffer definition is generated from this file, unique and |
| 137 # persistent IDs for all fields (but not for groups!) are needed. These are | 137 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 138 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 138 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 139 # because doing so would break the deployed wire format! | 139 # because doing so would break the deployed wire format! |
| 140 # For your editing convenience: highest ID currently used: 329 | 140 # For your editing convenience: highest ID currently used: 330 |
| 141 # | 141 # |
| 142 # Placeholders: | 142 # Placeholders: |
| 143 # The following placeholder strings are automatically substituted: | 143 # The following placeholder strings are automatically substituted: |
| 144 # $1 -> Google Chrome / Chromium | 144 # $1 -> Google Chrome / Chromium |
| 145 # $2 -> Google Chrome OS / Chromium OS | 145 # $2 -> Google Chrome OS / Chromium OS |
| 146 # $3 -> Google Chrome Frame / Chromium Frame | 146 # $3 -> Google Chrome Frame / Chromium Frame |
| 147 # $6 is reserved for doc_writer | 147 # $6 is reserved for doc_writer |
| 148 # | 148 # |
| 149 # Device Policy: | 149 # Device Policy: |
| 150 # An additional flag 'device_only' (optional, defaults to False) indicates | 150 # An additional flag 'device_only' (optional, defaults to False) indicates |
| (...skipping 8361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8512 'schema': { 'type': 'boolean' }, | 8512 'schema': { 'type': 'boolean' }, |
| 8513 'supported_on': ['chrome_os:52-'], | 8513 'supported_on': ['chrome_os:52-'], |
| 8514 'features': { | 8514 'features': { |
| 8515 'dynamic_refresh': True, | 8515 'dynamic_refresh': True, |
| 8516 'per_profile': True, | 8516 'per_profile': True, |
| 8517 }, | 8517 }, |
| 8518 'example_value': False, | 8518 'example_value': False, |
| 8519 'tags': [], | 8519 'tags': [], |
| 8520 'id': 329, | 8520 'id': 329, |
| 8521 }, | 8521 }, |
| 8522 { | |
| 8523 'name': 'WebRestrictionsAuthority', | |
| 8524 'id': 330, | |
| 8525 'type': 'string', | |
| 8526 'schema' : { 'type': 'string' }, | |
| 8527 'tags': [], | |
| 8528 'supported_on': ['webview_android:52-'], | |
|
Bernhard Bauer
2016/05/19 10:00:15
Add android here as well? Alternatively, update th
aberent
2016/05/19 15:44:03
Removed browser from description for now (this wil
| |
| 8529 'caption': '''Set an external source of URL restrictions''', | |
| 8530 'desc' : '''When this policy is set to a non-empty string the browser or W ebView will read URL restrictions from the content provider with the given autho rity name.''', | |
| 8531 'features': { | |
| 8532 'dynamic_refresh': True, | |
| 8533 'per_profile': False, | |
| 8534 }, | |
| 8535 'example_value': 'com.android.chrome.SupervisedUserProvider' | |
| 8536 }, | |
| 8522 ], | 8537 ], |
| 8523 'messages': { | 8538 'messages': { |
| 8524 # Messages that are not associated to any policies. | 8539 # Messages that are not associated to any policies. |
| 8525 'win_supported_winxpsp2': { | 8540 'win_supported_winxpsp2': { |
| 8526 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', | 8541 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', |
| 8527 'text': '''Microsoft Windows XP SP2 or later''' | 8542 'text': '''Microsoft Windows XP SP2 or later''' |
| 8528 }, | 8543 }, |
| 8529 'mac_chrome_preferences': { | 8544 'mac_chrome_preferences': { |
| 8530 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', | 8545 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', |
| 8531 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' | 8546 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8641 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 8656 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 8642 'text': 'Default Settings (users can override)', | 8657 'text': 'Default Settings (users can override)', |
| 8643 }, | 8658 }, |
| 8644 'doc_complex_policies_on_windows': { | 8659 'doc_complex_policies_on_windows': { |
| 8645 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 8660 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
| 8646 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', | 8661 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', |
| 8647 }, | 8662 }, |
| 8648 }, | 8663 }, |
| 8649 'placeholders': [], | 8664 'placeholders': [], |
| 8650 } | 8665 } |
| OLD | NEW |