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: 338 | 140 # For your editing convenience: highest ID currently used: 339 |
| 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 8637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8788 }, | 8788 }, |
| 8789 'example_value': True, | 8789 'example_value': True, |
| 8790 'id': 338, | 8790 'id': 338, |
| 8791 'caption': '''Show content suggestions on the New Tab page''', | 8791 'caption': '''Show content suggestions on the New Tab page''', |
| 8792 'tags': [], | 8792 'tags': [], |
| 8793 'desc': | 8793 'desc': |
| 8794 '''If this is set to true or not set, the New Tab page may show content su ggestions based on the user's browsing history, interests, or location. | 8794 '''If this is set to true or not set, the New Tab page may show content su ggestions based on the user's browsing history, interests, or location. |
| 8795 | 8795 |
| 8796 If this is set to false, automatically-generated content suggestions are n ot shown on the New Tab page.''', | 8796 If this is set to false, automatically-generated content suggestions are n ot shown on the New Tab page.''', |
| 8797 }, | 8797 }, |
| 8798 { | |
| 8799 'name': 'WebRtcUdpPortRange', | |
| 8800 'type': 'string', | |
| 8801 'schema': { 'type': 'string' }, | |
| 8802 'supported_on': ['chrome.*:54-', 'chrome_os:54-'], | |
| 8803 'features': { | |
| 8804 'dynamic_refresh': False, | |
| 8805 'per_profile': True, | |
| 8806 }, | |
| 8807 'example_value': '10000-11999', | |
| 8808 'id': 339, | |
| 8809 'caption': '''Restrict the UDP port range used by WebRTC''', | |
| 8810 'tags': [], | |
| 8811 'desc': '''Restricts the UDP port range used by WebRTC in this machine. | |
|
Thiemo Nagel
2016/08/11 09:29:26
Nit: I'm not in favour of duplicating the caption
Guido Urdaneta
2016/08/11 10:10:25
Done.
Thiemo Nagel
2016/08/11 10:22:31
As a second thought, I think it would be better sp
Guido Urdaneta
2016/08/11 10:31:19
Done.
| |
| 8812 | |
| 8813 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.''', | |
|
Thiemo Nagel
2016/08/11 09:29:26
Nit: In my opinion present tense is better style.
Guido Urdaneta
2016/08/11 10:10:25
Done.
Thiemo Nagel
2016/08/11 10:22:32
Optional nit: Actually it's still future tense. ;)
Guido Urdaneta
2016/08/11 10:31:19
Done. I originally thought you meant you didn't li
| |
| 8814 }, | |
| 8798 ], | 8815 ], |
| 8799 'messages': { | 8816 'messages': { |
| 8800 # Messages that are not associated to any policies. | 8817 # Messages that are not associated to any policies. |
| 8801 'win_supported_winxpsp2': { | 8818 'win_supported_winxpsp2': { |
| 8802 '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:'.''', | 8819 '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:'.''', |
| 8803 'text': '''Microsoft Windows XP SP2 or later''' | 8820 'text': '''Microsoft Windows XP SP2 or later''' |
| 8804 }, | 8821 }, |
| 8805 'mac_chrome_preferences': { | 8822 'mac_chrome_preferences': { |
| 8806 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', | 8823 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', |
| 8807 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' | 8824 '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... | |
| 8917 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 8934 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 8918 'text': 'Default Settings (users can override)', | 8935 'text': 'Default Settings (users can override)', |
| 8919 }, | 8936 }, |
| 8920 'doc_complex_policies_on_windows': { | 8937 'doc_complex_policies_on_windows': { |
| 8921 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 8938 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
| 8922 '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>' '', | 8939 '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>' '', |
| 8923 }, | 8940 }, |
| 8924 }, | 8941 }, |
| 8925 'placeholders': [], | 8942 'placeholders': [], |
| 8926 } | 8943 } |
| OLD | NEW |