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: 336 | 140 # For your editing convenience: highest ID currently used: 337 |
| 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 8585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8736 'features': { | 8736 'features': { |
| 8737 'dynamic_refresh': False, | 8737 'dynamic_refresh': False, |
| 8738 'per_profile': True, | 8738 'per_profile': True, |
| 8739 }, | 8739 }, |
| 8740 'example_value': True, | 8740 'example_value': True, |
| 8741 'id': 333, | 8741 'id': 333, |
| 8742 'caption': '''Enables cast''', | 8742 'caption': '''Enables cast''', |
| 8743 'tags': [], | 8743 'tags': [], |
| 8744 'desc': '''If this is set to true or is not set, users will be able to cas t tabs, sites or the desktop from the browser. If set to false, this option will be disabled.''' | 8744 'desc': '''If this is set to true or is not set, users will be able to cas t tabs, sites or the desktop from the browser. If set to false, this option will be disabled.''' |
| 8745 }, | 8745 }, |
| 8746 { | |
| 8747 'name': 'WebRtcUdpPortRange', | |
| 8748 'type': 'string', | |
| 8749 'schema': { 'type': 'string' }, | |
| 8750 'supported_on': ['chrome.*:54-', 'chrome_os:54-'], | |
| 8751 'features': { | |
| 8752 'dynamic_refresh': False, | |
| 8753 'per_profile': True, | |
| 8754 }, | |
| 8755 'example_value': '10400-10409', | |
|
tommi (sloooow) - chröme
2016/07/06 10:46:43
nit: as an example, we might want to have a wider
Guido Urdaneta
2016/07/07 09:27:55
Actually, it is not working as we expected since I
Guido Urdaneta
2016/07/11 17:18:37
I tested this on top of an updated IpcSocketFactor
| |
| 8756 'id': 337, | |
| 8757 'caption': '''Restrict the UDP port range used by WebRTC''', | |
| 8758 'tags': [], | |
| 8759 'desc': '''Restricts the UDP port range used by WebRTC in this machine. | |
| 8760 | |
| 8761 If this policy is left not set, or if it is set to an empty string or an i nvalid port range, WebRTC will be allowed to use any available port.''', | |
| 8762 }, | |
| 8746 ], | 8763 ], |
| 8747 'messages': { | 8764 'messages': { |
| 8748 # Messages that are not associated to any policies. | 8765 # Messages that are not associated to any policies. |
| 8749 'win_supported_winxpsp2': { | 8766 'win_supported_winxpsp2': { |
| 8750 '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:'.''', | 8767 '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:'.''', |
| 8751 'text': '''Microsoft Windows XP SP2 or later''' | 8768 'text': '''Microsoft Windows XP SP2 or later''' |
| 8752 }, | 8769 }, |
| 8753 'mac_chrome_preferences': { | 8770 'mac_chrome_preferences': { |
| 8754 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', | 8771 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', |
| 8755 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' | 8772 '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... | |
| 8865 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 8882 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 8866 'text': 'Default Settings (users can override)', | 8883 'text': 'Default Settings (users can override)', |
| 8867 }, | 8884 }, |
| 8868 'doc_complex_policies_on_windows': { | 8885 'doc_complex_policies_on_windows': { |
| 8869 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 8886 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
| 8870 '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>' '', | 8887 '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>' '', |
| 8871 }, | 8888 }, |
| 8872 }, | 8889 }, |
| 8873 'placeholders': [], | 8890 'placeholders': [], |
| 8874 } | 8891 } |
| OLD | NEW |