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

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

Issue 1368373002: Add policy templates for URL filtering on WebView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 # Each policy has the list of products and version numbers where it is 81 # Each policy has the list of products and version numbers where it is
82 # supported under the key 'supported_on'. Each item of this list has the 82 # supported under the key 'supported_on'. Each item of this list has the
83 # form of 'product:since_version-until_version', which means that support 83 # form of 'product:since_version-until_version', which means that support
84 # for the policy in 'product' was introduced in 'since_version' and removed 84 # for the policy in 'product' was introduced in 'since_version' and removed
85 # after 'until_version'. Product names may contain a suffix specifying a 85 # after 'until_version'. Product names may contain a suffix specifying a
86 # platform name, e.g.: 'chrome.win' is read as 'Chrome on Windows'. Version 86 # platform name, e.g.: 'chrome.win' is read as 'Chrome on Windows'. Version
87 # numbers can be any string that does not contain ':' or '-' characters. 87 # numbers can be any string that does not contain ':' or '-' characters.
88 # 88 #
89 # Currently supported product names: 89 # Currently supported product names:
90 # 'chrome_frame', 'chrome_os', 'android', 'ios', 90 # 'chrome_frame', 'chrome_os', 'android', 'ios',
91 # 'chrome.win', 'chrome.linux', 'chrome.mac', 'chrome.*' 91 # 'chrome.win', 'chrome.linux', 'chrome.mac', 'chrome.*'
Andrew T Wilson (Slow) 2015/11/13 13:59:23 Should you document the new webview_android type h
dgn 2015/11/13 15:12:02 Thanks, I missed that. The documentation does not
92 # For example if 'chrome.*:5-10' is specified for a policy, then it should 92 # For example if 'chrome.*:5-10' is specified for a policy, then it should
93 # be read as: 93 # be read as:
94 # 'chrome.linux:5-10', 'chrome.mac:5-10', 'chrome.win:5-10' 94 # 'chrome.linux:5-10', 'chrome.mac:5-10', 'chrome.win:5-10'
95 # 95 #
96 # The product name also affects in which templates the policy is included: 96 # The product name also affects in which templates the policy is included:
97 # chrome.*, chrome.win, chrome_frame -> ADM, ADMX, ADML, doc 97 # chrome.*, chrome.win, chrome_frame -> ADM, ADMX, ADML, doc
98 # chrome.*, chrome.linux -> JSON, doc 98 # chrome.*, chrome.linux -> JSON, doc
99 # chrome.*, chrome.mac -> plist, plist_strings, doc 99 # chrome.*, chrome.mac -> plist, plist_strings, doc
100 # everything else -> doc 100 # everything else -> doc
101 # 101 #
(...skipping 4052 matching lines...) Expand 10 before | Expand all | Expand 10 after
4154 'name': 'URLBlacklist', 4154 'name': 'URLBlacklist',
4155 'type': 'list', 4155 'type': 'list',
4156 'schema': { 4156 'schema': {
4157 'type': 'array', 4157 'type': 'array',
4158 'items': { 'type': 'string' }, 4158 'items': { 'type': 'string' },
4159 }, 4159 },
4160 'supported_on': [ 4160 'supported_on': [
4161 'chrome.*:15-', 4161 'chrome.*:15-',
4162 'chrome_os:15-', 4162 'chrome_os:15-',
4163 'android:30-', 4163 'android:30-',
4164 'webview_android:47-',
4164 'ios:34-', 4165 'ios:34-',
4165 ], 4166 ],
4166 'features': { 4167 'features': {
4167 'dynamic_refresh': True, 4168 'dynamic_refresh': True,
4168 'per_profile': True, 4169 'per_profile': True,
4169 }, 4170 },
4170 'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/ba d_path', 'https://server:8080/path', '.exact.hostname.com', 'file://*', '*'], 4171 'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/ba d_path', 'https://server:8080/path', '.exact.hostname.com', 'file://*', '*'],
4171 'id': 103, 4172 'id': 103,
4172 'caption': '''Block access to a list of URLs''', 4173 'caption': '''Block access to a list of URLs''',
4173 'tags': ['filtering'], 4174 'tags': ['filtering'],
(...skipping 17 matching lines...) Expand all
4191 'name': 'URLWhitelist', 4192 'name': 'URLWhitelist',
4192 'type': 'list', 4193 'type': 'list',
4193 'schema': { 4194 'schema': {
4194 'type': 'array', 4195 'type': 'array',
4195 'items': { 'type': 'string' }, 4196 'items': { 'type': 'string' },
4196 }, 4197 },
4197 'supported_on': [ 4198 'supported_on': [
4198 'chrome.*:15-', 4199 'chrome.*:15-',
4199 'chrome_os:15-', 4200 'chrome_os:15-',
4200 'android:30-', 4201 'android:30-',
4202 'webview_android:47-',
4201 'ios:34-', 4203 'ios:34-',
4202 ], 4204 ],
4203 'features': { 4205 'features': {
4204 'dynamic_refresh': True, 4206 'dynamic_refresh': True,
4205 'per_profile': True, 4207 'per_profile': True,
4206 }, 4208 },
4207 'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/go od_path', 'https://server:8080/path', '.exact.hostname.com'], 4209 'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/go od_path', 'https://server:8080/path', '.exact.hostname.com'],
4208 'id': 104, 4210 'id': 104,
4209 'caption': '''Allows access to a list of URLs''', 4211 'caption': '''Allows access to a list of URLs''',
4210 'tags': [], 4212 'tags': [],
(...skipping 3809 matching lines...) Expand 10 before | Expand all | Expand 10 after
8020 'text': '''Windows registry location:''' 8022 'text': '''Windows registry location:'''
8021 }, 8023 },
8022 'doc_mac_linux_pref_name': { 8024 'doc_mac_linux_pref_name': {
8023 'desc': '''Caption text of the field 'mac/linux preference name' in the su mmary chart of a policy in the generated documentation''', 8025 'desc': '''Caption text of the field 'mac/linux preference name' in the su mmary chart of a policy in the generated documentation''',
8024 'text': '''Mac/Linux preference name:''' 8026 'text': '''Mac/Linux preference name:'''
8025 }, 8027 },
8026 'doc_android_restriction_name': { 8028 'doc_android_restriction_name': {
8027 'desc': '''Caption text of the field 'android restriction name' in the sum mary chart of a policy in the generated documentation''', 8029 'desc': '''Caption text of the field 'android restriction name' in the sum mary chart of a policy in the generated documentation''',
8028 'text': '''Android restriction name:''' 8030 'text': '''Android restriction name:'''
8029 }, 8031 },
8032 'doc_android_webview_restriction_name': {
8033 'desc': '''Caption text of the field 'android webview restriction name' in the summary chart of a policy in the generated documentation''',
8034 'text': '''Android WebView restriction name:'''
8035 },
8030 'doc_supported_on': { 8036 'doc_supported_on': {
8031 'desc': '''Caption text of the list of 'products, platforms and versions w here this policy is supported' in the summary chart of a policy in the generated documentation''', 8037 'desc': '''Caption text of the list of 'products, platforms and versions w here this policy is supported' in the summary chart of a policy in the generated documentation''',
8032 'text': '''Supported on:''' 8038 'text': '''Supported on:'''
8033 }, 8039 },
8034 'doc_since_version': { 8040 'doc_since_version': {
8035 'desc': '''Text in the summary chart of a policy that specifies the versio n number in which the policy was introduced.''', 8041 'desc': '''Text in the summary chart of a policy that specifies the versio n number in which the policy was introduced.''',
8036 'text': '''since version <ph name="SINCE_VERSION">$6<ex>8</ex></ph>''' 8042 'text': '''since version <ph name="SINCE_VERSION">$6<ex>8</ex></ph>'''
8037 }, 8043 },
8038 'doc_until_version': { 8044 'doc_until_version': {
8039 'desc': '''Text in the summary chart of a policy that specifies the versio n number after which the policy was dropped.''', 8045 'desc': '''Text in the summary chart of a policy that specifies the versio n number after which the policy was dropped.''',
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
8118 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 8124 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
8119 'text': 'Default Settings (users can override)', 8125 'text': 'Default Settings (users can override)',
8120 }, 8126 },
8121 'doc_complex_policies_on_windows': { 8127 'doc_complex_policies_on_windows': {
8122 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 8128 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
8123 '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>' '', 8129 '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>' '',
8124 }, 8130 },
8125 }, 8131 },
8126 'placeholders': [], 8132 'placeholders': [],
8127 } 8133 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698