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

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

Issue 163433006: Updated the finalized list of policies supported on iOS for M34. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed unittests Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « components/policy/core/common/generate_policy_source_unittest.cc ('k') | 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 'label': '''Application locale''', 233 'label': '''Application locale''',
234 }, 234 },
235 { 235 {
236 'name': 'AlternateErrorPagesEnabled', 236 'name': 'AlternateErrorPagesEnabled',
237 'type': 'main', 237 'type': 'main',
238 'schema': { 'type': 'boolean' }, 238 'schema': { 'type': 'boolean' },
239 'supported_on': [ 239 'supported_on': [
240 'chrome.*:8-', 240 'chrome.*:8-',
241 'chrome_os:11-', 241 'chrome_os:11-',
242 'android:30-', 242 'android:30-',
243 'ios:99-',
244 ], 243 ],
245 'features': { 244 'features': {
246 'can_be_recommended': True, 245 'can_be_recommended': True,
247 'dynamic_refresh': True, 246 'dynamic_refresh': True,
248 'per_profile': True, 247 'per_profile': True,
249 }, 248 },
250 'example_value': True, 249 'example_value': True,
251 'id': 5, 250 'id': 5,
252 'caption': '''Enable alternate error pages''', 251 'caption': '''Enable alternate error pages''',
253 'desc': '''Enables the use of alternate error pages that are built into <p h name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> (such as 'page not found') a nd prevents users from changing this setting. 252 'desc': '''Enables the use of alternate error pages that are built into <p h name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> (such as 'page not found') a nd prevents users from changing this setting.
254 253
255 If you enable this setting, alternate error pages are used. 254 If you enable this setting, alternate error pages are used.
256 255
257 If you disable this setting, alternate error pages are never used. 256 If you disable this setting, alternate error pages are never used.
258 257
259 If you enable or disable this setting, users cannot change or override thi s setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. 258 If you enable or disable this setting, users cannot change or override thi s setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
260 259
261 If this policy is left not set, this will be enabled but the user will be able to change it.''', 260 If this policy is left not set, this will be enabled but the user will be able to change it.''',
262 }, 261 },
263 { 262 {
264 'name': 'SearchSuggestEnabled', 263 'name': 'SearchSuggestEnabled',
265 'type': 'main', 264 'type': 'main',
266 'schema': { 'type': 'boolean' }, 265 'schema': { 'type': 'boolean' },
267 'supported_on': [ 266 'supported_on': [
268 'chrome.*:8-', 267 'chrome.*:8-',
269 'chrome_os:11-', 268 'chrome_os:11-',
270 'android:30-', 269 'android:30-',
271 'ios:99-', 270 'ios:34-',
272 ], 271 ],
273 'features': { 272 'features': {
274 'can_be_recommended': True, 273 'can_be_recommended': True,
275 'dynamic_refresh': True, 274 'dynamic_refresh': True,
276 'per_profile': True, 275 'per_profile': True,
277 }, 276 },
278 'example_value': True, 277 'example_value': True,
279 'id': 6, 278 'id': 6,
280 'caption': '''Enable search suggestions''', 279 'caption': '''Enable search suggestions''',
281 'desc': '''Enables search suggestions in <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph>'s omnibox and prevents users from changing this setting. 280 'desc': '''Enables search suggestions in <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph>'s omnibox and prevents users from changing this setting.
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 { 417 {
419 'name': 'Forced', 418 'name': 'Forced',
420 'value': 2, 419 'value': 2,
421 'caption': '''Incognito mode forced''', 420 'caption': '''Incognito mode forced''',
422 }, 421 },
423 ], 422 ],
424 'supported_on': [ 423 'supported_on': [
425 'chrome.*:14-', 424 'chrome.*:14-',
426 'chrome_os:14-', 425 'chrome_os:14-',
427 'android:30-', 426 'android:30-',
428 'ios:99-',
429 ], 427 ],
430 'features': { 428 'features': {
431 'dynamic_refresh': True, 429 'dynamic_refresh': True,
432 'per_profile': True, 430 'per_profile': True,
433 }, 431 },
434 'example_value': 1, 432 'example_value': 1,
435 'id': 93, 433 'id': 93,
436 'caption': '''Incognito mode availability''', 434 'caption': '''Incognito mode availability''',
437 'desc': '''Specifies whether the user may open pages in Incognito mode in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. 435 'desc': '''Specifies whether the user may open pages in Incognito mode in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
438 436
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 'desc': '''Configures the password manager. If the password manager is ena bled, then you can choose to enable or disable whether the user may show stored passwords in clear text.''', 733 'desc': '''Configures the password manager. If the password manager is ena bled, then you can choose to enable or disable whether the user may show stored passwords in clear text.''',
736 'policies': [ 734 'policies': [
737 { 735 {
738 'name': 'PasswordManagerEnabled', 736 'name': 'PasswordManagerEnabled',
739 'type': 'main', 737 'type': 'main',
740 'schema': { 'type': 'boolean' }, 738 'schema': { 'type': 'boolean' },
741 'supported_on': [ 739 'supported_on': [
742 'chrome.*:8-', 740 'chrome.*:8-',
743 'chrome_os:11-', 741 'chrome_os:11-',
744 'android:30-', 742 'android:30-',
745 'ios:99-', 743 'ios:34-',
746 ], 744 ],
747 'features': { 745 'features': {
748 'can_be_recommended': True, 746 'can_be_recommended': True,
749 'dynamic_refresh': True, 747 'dynamic_refresh': True,
750 'per_profile': True, 748 'per_profile': True,
751 }, 749 },
752 'example_value': True, 750 'example_value': True,
753 'id': 16, 751 'id': 16,
754 'caption': '''Enable the password manager''', 752 'caption': '''Enable the password manager''',
755 'desc': '''Enables saving passwords and using saved passwords in <ph n ame="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. 753 'desc': '''Enables saving passwords and using saved passwords in <ph n ame="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
(...skipping 27 matching lines...) Expand all
783 ], 781 ],
784 }, 782 },
785 { 783 {
786 'name': 'AutoFillEnabled', 784 'name': 'AutoFillEnabled',
787 'type': 'main', 785 'type': 'main',
788 'schema': { 'type': 'boolean' }, 786 'schema': { 'type': 'boolean' },
789 'supported_on': [ 787 'supported_on': [
790 'chrome.*:8-', 788 'chrome.*:8-',
791 'chrome_os:11-', 789 'chrome_os:11-',
792 'android:30-', 790 'android:30-',
793 'ios:99-', 791 'ios:34-',
794 ], 792 ],
795 'features': { 793 'features': {
796 'can_be_recommended': True, 794 'can_be_recommended': True,
797 'dynamic_refresh': True, 795 'dynamic_refresh': True,
798 'per_profile': True, 796 'per_profile': True,
799 }, 797 },
800 'example_value': False, 798 'example_value': False,
801 'id': 18, 799 'id': 18,
802 'caption': '''Enable AutoFill''', 800 'caption': '''Enable AutoFill''',
803 'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s AutoFill feature and allows users to auto complete web forms using previously s tored information such as address or credit card information. 801 'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s AutoFill feature and allows users to auto complete web forms using previously s tored information such as address or credit card information.
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 { 1110 {
1113 'name': 'ProxyUseSystem', 1111 'name': 'ProxyUseSystem',
1114 'value': 'system', 1112 'value': 'system',
1115 'caption': '''Use system proxy settings''', 1113 'caption': '''Use system proxy settings''',
1116 }, 1114 },
1117 ], 1115 ],
1118 'supported_on': [ 1116 'supported_on': [
1119 'chrome.*:10-', 1117 'chrome.*:10-',
1120 'chrome_os:11-', 1118 'chrome_os:11-',
1121 'android:30-', 1119 'android:30-',
1122 'ios:99-', 1120 'ios:34-',
1123 ], 1121 ],
1124 'features': { 1122 'features': {
1125 'dynamic_refresh': True, 1123 'dynamic_refresh': True,
1126 'per_profile': True, 1124 'per_profile': True,
1127 }, 1125 },
1128 'example_value': 'direct', 1126 'example_value': 'direct',
1129 'id': 21, 1127 'id': 21,
1130 'caption': '''Choose how to specify proxy server settings''', 1128 'caption': '''Choose how to specify proxy server settings''',
1131 'desc': '''Allows you to specify the proxy server used by <ph name="PR ODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing proxy settings. 1129 'desc': '''Allows you to specify the proxy server used by <ph name="PR ODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing proxy settings.
1132 1130
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1171 { 1169 {
1172 'name': 'ProxyServerUseSystem', 1170 'name': 'ProxyServerUseSystem',
1173 'value': 3, 1171 'value': 3,
1174 'caption': '''Use system proxy settings''', 1172 'caption': '''Use system proxy settings''',
1175 }, 1173 },
1176 ], 1174 ],
1177 'supported_on': [ 1175 'supported_on': [
1178 'chrome.*:8-', 1176 'chrome.*:8-',
1179 'chrome_os:11-', 1177 'chrome_os:11-',
1180 'android:30-', 1178 'android:30-',
1181 'ios:99-', 1179 'ios:34-',
1182 ], 1180 ],
1183 'features': { 1181 'features': {
1184 'dynamic_refresh': True, 1182 'dynamic_refresh': True,
1185 'per_profile': True, 1183 'per_profile': True,
1186 }, 1184 },
1187 'deprecated': True, 1185 'deprecated': True,
1188 'example_value': 2, 1186 'example_value': 2,
1189 'id': 22, 1187 'id': 22,
1190 'caption': '''Choose how to specify proxy server settings''', 1188 'caption': '''Choose how to specify proxy server settings''',
1191 'desc': '''This policy is deprecated, use ProxyMode instead. 1189 'desc': '''This policy is deprecated, use ProxyMode instead.
(...skipping 14 matching lines...) Expand all
1206 Leaving this policy not set will allow the users to choose the proxy s ettings on their own.''', 1204 Leaving this policy not set will allow the users to choose the proxy s ettings on their own.''',
1207 }, 1205 },
1208 { 1206 {
1209 'name': 'ProxyServer', 1207 'name': 'ProxyServer',
1210 'type': 'string', 1208 'type': 'string',
1211 'schema': { 'type': 'string' }, 1209 'schema': { 'type': 'string' },
1212 'supported_on': [ 1210 'supported_on': [
1213 'chrome.*:8-', 1211 'chrome.*:8-',
1214 'chrome_os:11-', 1212 'chrome_os:11-',
1215 'android:30-', 1213 'android:30-',
1216 'ios:99-', 1214 'ios:34-',
1217 ], 1215 ],
1218 'features': { 1216 'features': {
1219 'dynamic_refresh': True, 1217 'dynamic_refresh': True,
1220 'per_profile': True, 1218 'per_profile': True,
1221 }, 1219 },
1222 'example_value': '123.123.123.123:8080', 1220 'example_value': '123.123.123.123:8080',
1223 'id': 23, 1221 'id': 23,
1224 'caption': '''Address or URL of proxy server''', 1222 'caption': '''Address or URL of proxy server''',
1225 'desc': '''You can specify the URL of the proxy server here. 1223 'desc': '''You can specify the URL of the proxy server here.
1226 1224
1227 This policy only takes effect if you have selected manual proxy settin gs at 'Choose how to specify proxy server settings'. 1225 This policy only takes effect if you have selected manual proxy settin gs at 'Choose how to specify proxy server settings'.
1228 1226
1229 You should leave this policy not set if you have selected any other mo de for setting proxy policies. 1227 You should leave this policy not set if you have selected any other mo de for setting proxy policies.
1230 1228
1231 For more options and detailed examples, visit: 1229 For more options and detailed examples, visit:
1232 <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-do cuments/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.c hromium.org/developers/design-documents/network-settings#TOC-Command-line-option s-for-proxy-sett</ex></ph>''', 1230 <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-do cuments/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.c hromium.org/developers/design-documents/network-settings#TOC-Command-line-option s-for-proxy-sett</ex></ph>''',
1233 }, 1231 },
1234 { 1232 {
1235 'name': 'ProxyPacUrl', 1233 'name': 'ProxyPacUrl',
1236 'type': 'string', 1234 'type': 'string',
1237 'schema': { 'type': 'string' }, 1235 'schema': { 'type': 'string' },
1238 'supported_on': [ 1236 'supported_on': [
1239 'chrome.*:8-', 1237 'chrome.*:8-',
1240 'chrome_os:11-', 1238 'chrome_os:11-',
1241 'android:30-', 1239 'android:30-',
1242 'ios:99-', 1240 'ios:34-',
1243 ], 1241 ],
1244 'features': { 1242 'features': {
1245 'dynamic_refresh': True, 1243 'dynamic_refresh': True,
1246 'per_profile': True, 1244 'per_profile': True,
1247 }, 1245 },
1248 'example_value': 'http://internal.site/example.pac', 1246 'example_value': 'http://internal.site/example.pac',
1249 'id': 24, 1247 'id': 24,
1250 'caption': '''URL to a proxy .pac file''', 1248 'caption': '''URL to a proxy .pac file''',
1251 'desc': '''You can specify a URL to a proxy .pac file here. 1249 'desc': '''You can specify a URL to a proxy .pac file here.
1252 1250
1253 This policy only takes effect if you have selected manual proxy settin gs at 'Choose how to specify proxy server settings'. 1251 This policy only takes effect if you have selected manual proxy settin gs at 'Choose how to specify proxy server settings'.
1254 1252
1255 You should leave this policy not set if you have selected any other mo de for setting proxy policies. 1253 You should leave this policy not set if you have selected any other mo de for setting proxy policies.
1256 1254
1257 For detailed examples, visit: 1255 For detailed examples, visit:
1258 <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-do cuments/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.c hromium.org/developers/design-documents/network-settings#TOC-Command-line-option s-for-proxy-sett</ex></ph>''', 1256 <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-do cuments/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.c hromium.org/developers/design-documents/network-settings#TOC-Command-line-option s-for-proxy-sett</ex></ph>''',
1259 }, 1257 },
1260 { 1258 {
1261 'name': 'ProxyBypassList', 1259 'name': 'ProxyBypassList',
1262 'type': 'string', 1260 'type': 'string',
1263 'schema': { 'type': 'string' }, 1261 'schema': { 'type': 'string' },
1264 'supported_on': [ 1262 'supported_on': [
1265 'chrome.*:8-', 1263 'chrome.*:8-',
1266 'chrome_os:11-', 1264 'chrome_os:11-',
1267 'android:30-', 1265 'android:30-',
1268 'ios:99-', 1266 'ios:34-',
1269 ], 1267 ],
1270 'features': { 1268 'features': {
1271 'dynamic_refresh': True, 1269 'dynamic_refresh': True,
1272 'per_profile': True, 1270 'per_profile': True,
1273 }, 1271 },
1274 'example_value': 'http://www.example1.com,http://www.example2.com,http ://internalsite/', 1272 'example_value': 'http://www.example1.com,http://www.example2.com,http ://internalsite/',
1275 'id': 25, 1273 'id': 25,
1276 'caption': '''Proxy bypass rules''', 1274 'caption': '''Proxy bypass rules''',
1277 'desc': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will bypass any proxy for the list of hosts given here. 1275 'desc': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will bypass any proxy for the list of hosts given here.
1278 1276
(...skipping 21 matching lines...) Expand all
1300 'ProxyPacUrl': { 'type': 'string' }, 1298 'ProxyPacUrl': { 'type': 'string' },
1301 'ProxyServer': { 'type': 'string' }, 1299 'ProxyServer': { 'type': 'string' },
1302 'ProxyBypassList': { 'type': 'string' }, 1300 'ProxyBypassList': { 'type': 'string' },
1303 'ProxyServerMode': { 'type': 'string' }, 1301 'ProxyServerMode': { 'type': 'string' },
1304 }, 1302 },
1305 }, 1303 },
1306 'supported_on': [ 1304 'supported_on': [
1307 'chrome.*:18-', 1305 'chrome.*:18-',
1308 'chrome_os:18-', 1306 'chrome_os:18-',
1309 'android:30-', 1307 'android:30-',
1310 'ios:99-', 1308 'ios:34-',
1311 ], 1309 ],
1312 'future': True, 1310 'future': True,
1313 'features': { 1311 'features': {
1314 'dynamic_refresh': True, 1312 'dynamic_refresh': True,
1315 'per_profile': True, 1313 'per_profile': True,
1316 }, 1314 },
1317 'example_value': { "ProxyMode": "direct" }, 1315 'example_value': { "ProxyMode": "direct" },
1318 'id': 116, 1316 'id': 116,
1319 'caption': '''Proxy settings''', 1317 'caption': '''Proxy settings''',
1320 'desc': '''Configures the proxy settings for <ph name="PRODUCT_NAME">$1<ex >Google Chrome</ex></ph>. 1318 'desc': '''Configures the proxy settings for <ph name="PRODUCT_NAME">$1<ex >Google Chrome</ex></ph>.
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1738 'desc': '''Configures the default search provider. You can specify the def ault search provider that the user will use or choose to disable default search. ''', 1736 'desc': '''Configures the default search provider. You can specify the def ault search provider that the user will use or choose to disable default search. ''',
1739 'policies': [ 1737 'policies': [
1740 { 1738 {
1741 'name': 'DefaultSearchProviderEnabled', 1739 'name': 'DefaultSearchProviderEnabled',
1742 'type': 'main', 1740 'type': 'main',
1743 'schema': { 'type': 'boolean' }, 1741 'schema': { 'type': 'boolean' },
1744 'supported_on': [ 1742 'supported_on': [
1745 'chrome.*:8-', 1743 'chrome.*:8-',
1746 'chrome_os:11-', 1744 'chrome_os:11-',
1747 'android:30-', 1745 'android:30-',
1748 'ios:99-', 1746 'ios:34-',
1749 ], 1747 ],
1750 'features': { 1748 'features': {
1751 'dynamic_refresh': True, 1749 'dynamic_refresh': True,
1752 'per_profile': True, 1750 'per_profile': True,
1753 }, 1751 },
1754 'example_value': True, 1752 'example_value': True,
1755 'id': 40, 1753 'id': 40,
1756 'caption': '''Enable the default search provider''', 1754 'caption': '''Enable the default search provider''',
1757 'desc': '''Enables the use of a default search provider. 1755 'desc': '''Enables the use of a default search provider.
1758 1756
1759 If you enable this setting, a default search is performed when the use r types text in the omnibox that is not a URL. 1757 If you enable this setting, a default search is performed when the use r types text in the omnibox that is not a URL.
1760 1758
1761 You can specify the default search provider to be used by setting the rest of the default search policies. If these are left empty, the user can choos e the default provider. 1759 You can specify the default search provider to be used by setting the rest of the default search policies. If these are left empty, the user can choos e the default provider.
1762 1760
1763 If you disable this setting, no search is performed when the user ente rs non-URL text in the omnibox. 1761 If you disable this setting, no search is performed when the user ente rs non-URL text in the omnibox.
1764 1762
1765 If you enable or disable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. 1763 If you enable or disable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1766 1764
1767 If this policy is left not set, the default search provider is enabled , and the user will be able to set the search provider list.''', 1765 If this policy is left not set, the default search provider is enabled , and the user will be able to set the search provider list.''',
1768 }, 1766 },
1769 { 1767 {
1770 'name': 'DefaultSearchProviderName', 1768 'name': 'DefaultSearchProviderName',
1771 'type': 'string', 1769 'type': 'string',
1772 'schema': { 'type': 'string' }, 1770 'schema': { 'type': 'string' },
1773 'supported_on': [ 1771 'supported_on': [
1774 'chrome.*:8-', 1772 'chrome.*:8-',
1775 'chrome_os:11-', 1773 'chrome_os:11-',
1776 'android:30-', 1774 'android:30-',
1777 'ios:99-', 1775 'ios:34-',
1778 ], 1776 ],
1779 'features': { 1777 'features': {
1780 'dynamic_refresh': True, 1778 'dynamic_refresh': True,
1781 'per_profile': True, 1779 'per_profile': True,
1782 }, 1780 },
1783 'example_value': 'My Intranet Search', 1781 'example_value': 'My Intranet Search',
1784 'id': 41, 1782 'id': 41,
1785 'caption': '''Default search provider name''', 1783 'caption': '''Default search provider name''',
1786 'desc': '''Specifies the name of the default search provider. If left empty or not set, the host name specified by the search URL will be used. 1784 'desc': '''Specifies the name of the default search provider. If left empty or not set, the host name specified by the search URL will be used.
1787 1785
1788 This policy is only considered if the 'DefaultSearchProviderEnabled' p olicy is enabled.''', 1786 This policy is only considered if the 'DefaultSearchProviderEnabled' p olicy is enabled.''',
1789 }, 1787 },
1790 { 1788 {
1791 'name': 'DefaultSearchProviderKeyword', 1789 'name': 'DefaultSearchProviderKeyword',
1792 'type': 'string', 1790 'type': 'string',
1793 'schema': { 'type': 'string' }, 1791 'schema': { 'type': 'string' },
1794 'supported_on': [ 1792 'supported_on': [
1795 'chrome.*:8-', 1793 'chrome.*:8-',
1796 'chrome_os:11-', 1794 'chrome_os:11-',
1797 'android:30-', 1795 'android:30-',
1798 'ios:99-', 1796 'ios:34-',
1799 ], 1797 ],
1800 'features': { 1798 'features': {
1801 'dynamic_refresh': True, 1799 'dynamic_refresh': True,
1802 'per_profile': True, 1800 'per_profile': True,
1803 }, 1801 },
1804 'example_value': 'mis', 1802 'example_value': 'mis',
1805 'id': 42, 1803 'id': 42,
1806 'caption': '''Default search provider keyword''', 1804 'caption': '''Default search provider keyword''',
1807 'desc': '''Specifies the keyword, which is the shortcut used in the om nibox to trigger the search for this provider. 1805 'desc': '''Specifies the keyword, which is the shortcut used in the om nibox to trigger the search for this provider.
1808 1806
1809 This policy is optional. If not set, no keyword will activate the sear ch provider. 1807 This policy is optional. If not set, no keyword will activate the sear ch provider.
1810 1808
1811 This policy is only considered if the 'DefaultSearchProviderEnabled' p olicy is enabled.''', 1809 This policy is only considered if the 'DefaultSearchProviderEnabled' p olicy is enabled.''',
1812 }, 1810 },
1813 { 1811 {
1814 'name': 'DefaultSearchProviderSearchURL', 1812 'name': 'DefaultSearchProviderSearchURL',
1815 'type': 'string', 1813 'type': 'string',
1816 'schema': { 'type': 'string' }, 1814 'schema': { 'type': 'string' },
1817 'supported_on': [ 1815 'supported_on': [
1818 'chrome.*:8-', 1816 'chrome.*:8-',
1819 'chrome_os:11-', 1817 'chrome_os:11-',
1820 'android:30-', 1818 'android:30-',
1821 'ios:99-', 1819 'ios:34-',
1822 ], 1820 ],
1823 'features': { 1821 'features': {
1824 'dynamic_refresh': True, 1822 'dynamic_refresh': True,
1825 'per_profile': True, 1823 'per_profile': True,
1826 }, 1824 },
1827 'example_value': 'http://search.my.company/search?q={searchTerms}', 1825 'example_value': 'http://search.my.company/search?q={searchTerms}',
1828 'id': 43, 1826 'id': 43,
1829 'caption': '''Default search provider search URL''', 1827 'caption': '''Default search provider search URL''',
1830 'desc': '''Specifies the URL of the search engine used when doing a de fault search. The URL should contain the string '<ph name="SEARCH_TERM_MARKER">{ searchTerms}</ph>', which will be replaced at query time by the terms the user i s searching for. 1828 'desc': '''Specifies the URL of the search engine used when doing a de fault search. The URL should contain the string '<ph name="SEARCH_TERM_MARKER">{ searchTerms}</ph>', which will be replaced at query time by the terms the user i s searching for.
1831 1829
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
2080 'name': 'BlockCookies', 2078 'name': 'BlockCookies',
2081 'value': 2, 2079 'value': 2,
2082 'caption': '''Do not allow any site to set local data''', 2080 'caption': '''Do not allow any site to set local data''',
2083 }, 2081 },
2084 { 2082 {
2085 'name': 'SessionOnly', 2083 'name': 'SessionOnly',
2086 'value': 4, 2084 'value': 4,
2087 'caption': '''Keep cookies for the duration of the session''', 2085 'caption': '''Keep cookies for the duration of the session''',
2088 }, 2086 },
2089 ], 2087 ],
2090 'supported_on': ['chrome.*:10-', 'chrome_os:11-', 'android:30-'], 2088 'supported_on': [
2089 'chrome.*:10-',
2090 'chrome_os:11-',
2091 'android:30-',
2092 'ios:34-',
2093 ],
2091 'features': { 2094 'features': {
2092 'dynamic_refresh': True, 2095 'dynamic_refresh': True,
2093 'per_profile': True, 2096 'per_profile': True,
2094 }, 2097 },
2095 'example_value': 1, 2098 'example_value': 1,
2096 'id': 48, 2099 'id': 48,
2097 'caption': '''Default cookies setting''', 2100 'caption': '''Default cookies setting''',
2098 'desc': '''Allows you to set whether websites are allowed to set local data. Setting local data can be either allowed for all websites or denied for a ll websites. 2101 'desc': '''Allows you to set whether websites are allowed to set local data. Setting local data can be either allowed for all websites or denied for a ll websites.
2099 2102
2100 If this policy is left not set, 'AllowCookies' will be used and the us er will be able to change it.''', 2103 If this policy is left not set, 'AllowCookies' will be used and the us er will be able to change it.''',
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
2214 }, 2217 },
2215 { 2218 {
2216 'name': 'BlockPopups', 2219 'name': 'BlockPopups',
2217 'value': 2, 2220 'value': 2,
2218 'caption': '''Do not allow any site to show popups''', 2221 'caption': '''Do not allow any site to show popups''',
2219 }, 2222 },
2220 ], 2223 ],
2221 'supported_on': [ 2224 'supported_on': [
2222 'chrome.*:10-', 2225 'chrome.*:10-',
2223 'chrome_os:11-', 2226 'chrome_os:11-',
2224 'ios:99-', 2227 'ios:34-',
2225 'android:33-', 2228 'android:33-',
2226 ], 2229 ],
2227 'features': { 2230 'features': {
2228 'dynamic_refresh': True, 2231 'dynamic_refresh': True,
2229 'per_profile': True, 2232 'per_profile': True,
2230 }, 2233 },
2231 'example_value': 1, 2234 'example_value': 1,
2232 'id': 52, 2235 'id': 52,
2233 'caption': '''Default popups setting''', 2236 'caption': '''Default popups setting''',
2234 'desc': '''Allows you to set whether websites are allowed to show pop- ups. Showing popups can be either allowed for all websites or denied for all web sites. 2237 'desc': '''Allows you to set whether websites are allowed to show pop- ups. Showing popups can be either allowed for all websites or denied for all web sites.
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
2358 2361
2359 If this policy is left not set no auto-selection will be done for any site.''', 2362 If this policy is left not set no auto-selection will be done for any site.''',
2360 }, 2363 },
2361 { 2364 {
2362 'name': 'CookiesAllowedForUrls', 2365 'name': 'CookiesAllowedForUrls',
2363 'type': 'list', 2366 'type': 'list',
2364 'schema': { 2367 'schema': {
2365 'type': 'array', 2368 'type': 'array',
2366 'items': { 'type': 'string' }, 2369 'items': { 'type': 'string' },
2367 }, 2370 },
2368 'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'], 2371 'supported_on': [
2372 'chrome.*:11-',
2373 'chrome_os:11-',
2374 'android:30-',
2375 'ios:34-',
2376 ],
2369 'features': { 2377 'features': {
2370 'dynamic_refresh': True, 2378 'dynamic_refresh': True,
2371 'per_profile': True, 2379 'per_profile': True,
2372 }, 2380 },
2373 'example_value': ['http://www.example.com', '[*.]example.edu'], 2381 'example_value': ['http://www.example.com', '[*.]example.edu'],
2374 'id': 77, 2382 'id': 77,
2375 'caption': '''Allow cookies on these sites''', 2383 'caption': '''Allow cookies on these sites''',
2376 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set cookies. 2384 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set cookies.
2377 2385
2378 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultCookiesSetting' policy if it is set, or the user's personal configuration otherwise.''', 2386 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultCookiesSetting' policy if it is set, or the user's personal configuration otherwise.''',
2379 }, 2387 },
2380 { 2388 {
2381 'name': 'CookiesBlockedForUrls', 2389 'name': 'CookiesBlockedForUrls',
2382 'type': 'list', 2390 'type': 'list',
2383 'schema': { 2391 'schema': {
2384 'type': 'array', 2392 'type': 'array',
2385 'items': { 'type': 'string' }, 2393 'items': { 'type': 'string' },
2386 }, 2394 },
2387 'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'], 2395 'supported_on': [
2396 'chrome.*:11-',
2397 'chrome_os:11-',
2398 'android:30-',
2399 'ios:34-',
2400 ],
2388 'features': { 2401 'features': {
2389 'dynamic_refresh': True, 2402 'dynamic_refresh': True,
2390 'per_profile': True, 2403 'per_profile': True,
2391 }, 2404 },
2392 'example_value': ['http://www.example.com', '[*.]example.edu'], 2405 'example_value': ['http://www.example.com', '[*.]example.edu'],
2393 'id': 67, 2406 'id': 67,
2394 'caption': '''Block cookies on these sites''', 2407 'caption': '''Block cookies on these sites''',
2395 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to set cookies. 2408 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to set cookies.
2396 2409
2397 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultCookiesSetting' policy if it is set, or the user's personal configuration otherwise.''', 2410 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultCookiesSetting' policy if it is set, or the user's personal configuration otherwise.''',
2398 }, 2411 },
2399 { 2412 {
2400 'name': 'CookiesSessionOnlyForUrls', 2413 'name': 'CookiesSessionOnlyForUrls',
2401 'type': 'list', 2414 'type': 'list',
2402 'schema': { 2415 'schema': {
2403 'type': 'array', 2416 'type': 'array',
2404 'items': { 'type': 'string' }, 2417 'items': { 'type': 'string' },
2405 }, 2418 },
2406 'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'], 2419 'supported_on': [
2420 'chrome.*:11-',
2421 'chrome_os:11-',
2422 'android:30-',
2423 'ios:34-',
2424 ],
2407 'features': { 2425 'features': {
2408 'dynamic_refresh': True, 2426 'dynamic_refresh': True,
2409 'per_profile': True, 2427 'per_profile': True,
2410 }, 2428 },
2411 'example_value': ['http://www.example.com', '[*.]example.edu'], 2429 'example_value': ['http://www.example.com', '[*.]example.edu'],
2412 'id': 68, 2430 'id': 68,
2413 'caption': '''Allow session only cookies on these sites''', 2431 'caption': '''Allow session only cookies on these sites''',
2414 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set session only cookies. 2432 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set session only cookies.
2415 2433
2416 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultCookiesSetting' policy if it is set, or the user's personal configuration otherwise. 2434 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultCookiesSetting' policy if it is set, or the user's personal configuration otherwise.
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
2534 { 2552 {
2535 'name': 'PopupsAllowedForUrls', 2553 'name': 'PopupsAllowedForUrls',
2536 'type': 'list', 2554 'type': 'list',
2537 'schema': { 2555 'schema': {
2538 'type': 'array', 2556 'type': 'array',
2539 'items': { 'type': 'string' }, 2557 'items': { 'type': 'string' },
2540 }, 2558 },
2541 'supported_on': [ 2559 'supported_on': [
2542 'chrome.*:11-', 2560 'chrome.*:11-',
2543 'chrome_os:11-', 2561 'chrome_os:11-',
2544 'ios:99-', 2562 'ios:34-',
2545 ], 2563 ],
2546 'features': { 2564 'features': {
2547 'dynamic_refresh': True, 2565 'dynamic_refresh': True,
2548 'per_profile': True, 2566 'per_profile': True,
2549 }, 2567 },
2550 'example_value': ['http://www.example.com', '[*.]example.edu'], 2568 'example_value': ['http://www.example.com', '[*.]example.edu'],
2551 'id': 75, 2569 'id': 75,
2552 'caption': '''Allow popups on these sites''', 2570 'caption': '''Allow popups on these sites''',
2553 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to open popups. 2571 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to open popups.
2554 2572
2555 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultPopupsSetting' policy if it is set, or the user's personal configuration otherwise.''', 2573 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultPopupsSetting' policy if it is set, or the user's personal configuration otherwise.''',
2556 }, 2574 },
2557 { 2575 {
2558 'name': 'PopupsBlockedForUrls', 2576 'name': 'PopupsBlockedForUrls',
2559 'type': 'list', 2577 'type': 'list',
2560 'schema': { 2578 'schema': {
2561 'type': 'array', 2579 'type': 'array',
2562 'items': { 'type': 'string' }, 2580 'items': { 'type': 'string' },
2563 }, 2581 },
2564 'supported_on': [ 2582 'supported_on': [
2565 'chrome.*:11-', 2583 'chrome.*:11-',
2566 'chrome_os:11-', 2584 'chrome_os:11-',
2567 'ios:99-', 2585 'ios:34-',
2568 ], 2586 ],
2569 'features': { 2587 'features': {
2570 'dynamic_refresh': True, 2588 'dynamic_refresh': True,
2571 'per_profile': True, 2589 'per_profile': True,
2572 }, 2590 },
2573 'example_value': ['http://www.example.com', '[*.]example.edu'], 2591 'example_value': ['http://www.example.com', '[*.]example.edu'],
2574 'id': 76, 2592 'id': 76,
2575 'caption': '''Block popups on these sites''', 2593 'caption': '''Block popups on these sites''',
2576 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to open popups. 2594 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to open popups.
2577 2595
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
2992 This setting has been removed from Chrome 29 and higher versions.''', 3010 This setting has been removed from Chrome 29 and higher versions.''',
2993 }, 3011 },
2994 { 3012 {
2995 'name': 'TranslateEnabled', 3013 'name': 'TranslateEnabled',
2996 'type': 'main', 3014 'type': 'main',
2997 'schema': { 'type': 'boolean' }, 3015 'schema': { 'type': 'boolean' },
2998 'supported_on': [ 3016 'supported_on': [
2999 'chrome.*:12-', 3017 'chrome.*:12-',
3000 'chrome_os:12-', 3018 'chrome_os:12-',
3001 'android:30-', 3019 'android:30-',
3002 'ios:99-', 3020 'ios:34-',
3003 ], 3021 ],
3004 'features': { 3022 'features': {
3005 'can_be_recommended': True, 3023 'can_be_recommended': True,
3006 'dynamic_refresh': True, 3024 'dynamic_refresh': True,
3007 'per_profile': True, 3025 'per_profile': True,
3008 }, 3026 },
3009 'example_value': True, 3027 'example_value': True,
3010 'id': 80, 3028 'id': 80,
3011 'caption': '''Enable Translate''', 3029 'caption': '''Enable Translate''',
3012 'desc': '''Enables the integrated Google Translate service on <ph name="PR ODUCT_NAME">$1<ex>Google Chrome</ex></ph>. 3030 'desc': '''Enables the integrated Google Translate service on <ph name="PR ODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
3297 'name': 'URLBlacklist', 3315 'name': 'URLBlacklist',
3298 'type': 'list', 3316 'type': 'list',
3299 'schema': { 3317 'schema': {
3300 'type': 'array', 3318 'type': 'array',
3301 'items': { 'type': 'string' }, 3319 'items': { 'type': 'string' },
3302 }, 3320 },
3303 'supported_on': [ 3321 'supported_on': [
3304 'chrome.*:15-', 3322 'chrome.*:15-',
3305 'chrome_os:15-', 3323 'chrome_os:15-',
3306 'android:30-', 3324 'android:30-',
3307 'ios:99-', 3325 'ios:34-',
3308 ], 3326 ],
3309 'features': { 3327 'features': {
3310 'dynamic_refresh': True, 3328 'dynamic_refresh': True,
3311 'per_profile': True, 3329 'per_profile': True,
3312 }, 3330 },
3313 'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/ba d_path', 'http://server:8080/path', '.exact.hostname.com', '*'], 3331 'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/ba d_path', 'http://server:8080/path', '.exact.hostname.com', '*'],
3314 'id': 103, 3332 'id': 103,
3315 'caption': '''Block access to a list of URLs''', 3333 'caption': '''Block access to a list of URLs''',
3316 'desc': '''Blocks access to the listed URLs. 3334 'desc': '''Blocks access to the listed URLs.
3317 3335
(...skipping 13 matching lines...) Expand all
3331 'name': 'URLWhitelist', 3349 'name': 'URLWhitelist',
3332 'type': 'list', 3350 'type': 'list',
3333 'schema': { 3351 'schema': {
3334 'type': 'array', 3352 'type': 'array',
3335 'items': { 'type': 'string' }, 3353 'items': { 'type': 'string' },
3336 }, 3354 },
3337 'supported_on': [ 3355 'supported_on': [
3338 'chrome.*:15-', 3356 'chrome.*:15-',
3339 'chrome_os:15-', 3357 'chrome_os:15-',
3340 'android:30-', 3358 'android:30-',
3341 'ios:99-', 3359 'ios:34-',
3342 ], 3360 ],
3343 'features': { 3361 'features': {
3344 'dynamic_refresh': True, 3362 'dynamic_refresh': True,
3345 'per_profile': True, 3363 'per_profile': True,
3346 }, 3364 },
3347 'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/ba d_path', 'http://server:8080/path', '.exact.hostname.com'], 3365 'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/ba d_path', 'http://server:8080/path', '.exact.hostname.com'],
3348 'id': 104, 3366 'id': 104,
3349 'caption': '''Allows access to a list of URLs''', 3367 'caption': '''Allows access to a list of URLs''',
3350 'desc': '''Allows access to the listed URLs, as exceptions to the URL blac klist. 3368 'desc': '''Allows access to the listed URLs, as exceptions to the URL blac klist.
3351 3369
(...skipping 2770 matching lines...) Expand 10 before | Expand all | Expand 10 after
6122 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 6140 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
6123 'text': 'deprecated', 6141 'text': 'deprecated',
6124 }, 6142 },
6125 'doc_recommended': { 6143 'doc_recommended': {
6126 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 6144 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
6127 'text': 'Default Settings (users can override)', 6145 'text': 'Default Settings (users can override)',
6128 }, 6146 },
6129 }, 6147 },
6130 'placeholders': [], 6148 'placeholders': [],
6131 } 6149 }
OLDNEW
« no previous file with comments | « components/policy/core/common/generate_policy_source_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698