Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 2257363002: Define EnabledComponentUpdates group policy for the component updater. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@callback
Patch Set: . Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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: 341 140 # For your editing convenience: highest ID currently used: 342
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 8688 matching lines...) Expand 10 before | Expand all | Expand 10 after
8839 'tags': ['filtering'], 8839 'tags': ['filtering'],
8840 'supported_on': ['webview_android:54-'], 8840 'supported_on': ['webview_android:54-'],
8841 'caption': '''Set an external source of URL restrictions''', 8841 'caption': '''Set an external source of URL restrictions''',
8842 'desc' : '''When this policy is set to a non-empty string the WebView will read URL restrictions from the content provider with the given authority name.' '', 8842 'desc' : '''When this policy is set to a non-empty string the WebView will read URL restrictions from the content provider with the given authority name.' '',
8843 'features': { 8843 'features': {
8844 'dynamic_refresh': True, 8844 'dynamic_refresh': True,
8845 'per_profile': False, 8845 'per_profile': False,
8846 }, 8846 },
8847 'example_value': 'com.android.chrome.SupervisedUserProvider' 8847 'example_value': 'com.android.chrome.SupervisedUserProvider'
8848 }, 8848 },
8849 {
8850 'name': 'ComponentUpdates',
8851 'type': 'group',
8852 'caption': '''Configure component update options.''',
8853 'desc': '''These policies affect the behavior of the component updater in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
8854 'policies': [
8855 {
8856 'name': 'EnabledComponentUpdates',
Thiemo Nagel 2016/08/19 10:38:29 Please move "Enabled" to the end of the name to be
Sorin Jianu 2016/08/19 20:08:47 Changed the name to match the style. We struggled
8857 'type': 'main',
8858 'schema': { 'type': 'boolean' },
8859 'supported_on': ['chrome.*:54-', 'chrome_os:54-'],
8860 'features': {
8861 'dynamic_refresh': False,
8862 'per_profile': False,
8863 },
8864 'example_value': True,
8865 'id': 342,
8866 'caption': '''Enables component updates in <ph name="PRODUCT_NAME">$1< ex>Google Chrome</ex></ph>.''',
8867 'tags': [],
8868 'desc': '''Enables component updates for all components in <ph name="P RODUCT_NAME">$1<ex>Google Chrome</ex></ph> when not set or set to True.
8869
8870 If set to False, then updates for binary components are disabled. Bina ry components include plugins and components containing executable code.
8871 The updates for some components can't be disabled. These components ar e considered non-binary and they usually contain only data and no code.''',
Thiemo Nagel 2016/08/19 10:38:29 "some components" sounds as if we were trying to h
waffles 2016/08/19 16:42:03 I recommend that we instead drop every occurrence
Sorin Jianu 2016/08/19 20:08:47 Done.
8872 },
8873 ],
8874 },
8849 ], 8875 ],
8850 'messages': { 8876 'messages': {
8851 # Messages that are not associated to any policies. 8877 # Messages that are not associated to any policies.
8852 'win_supported_winxpsp2': { 8878 'win_supported_winxpsp2': {
8853 '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:'.''', 8879 '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:'.''',
8854 'text': '''Microsoft Windows XP SP2 or later''' 8880 'text': '''Microsoft Windows XP SP2 or later'''
8855 }, 8881 },
8856 'mac_chrome_preferences': { 8882 'mac_chrome_preferences': {
8857 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 8883 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
8858 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 8884 '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
8968 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 8994 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
8969 'text': 'Default Settings (users can override)', 8995 'text': 'Default Settings (users can override)',
8970 }, 8996 },
8971 'doc_complex_policies_on_windows': { 8997 'doc_complex_policies_on_windows': {
8972 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 8998 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
8973 '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>' '', 8999 '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>' '',
8974 }, 9000 },
8975 }, 9001 },
8976 'placeholders': [], 9002 'placeholders': [],
8977 } 9003 }
OLDNEW
« no previous file with comments | « components/component_updater/component_updater_service_unittest.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698