Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / components / policy / resources / policy_templates.json
1 {
2 # policy_templates.json - Metafile for policy templates
3 #
4 # The content of this file is evaluated as a Python expression.
5 #
6 # This file is used as input to generate the following policy templates:
7 # ADM, ADMX+ADML, MCX/plist and html documentation.
8 #
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
11 # pair where the value has a given type. Chrome looks up the values using the
12 # names of the policies. In the user interface where the values can be set,
13 # related policies might appear together in policy groups. The grouping is not
14 # visible to Chrome.
15 #
16 # This file contains a list of policies and groups. Each group contains a list
17 # of policies under the key 'policies'. All the policies and groups must have
18 # unique names. Group names are not exposed to Chrome at all.
19 #
20 # Each policy has a type. The currently implemented types:
21 #   'group': - not a real policy, contains a list of policies
22 #     NOTE: Currently nesting groups inside other groups is not supported.
23 #   'string' - a string value
24 #   'int' - an integer value
25 #   'int-enum' - the user can select an integer value from a collection of
26 #     items
27 #   'string-enum' - the user can select a string value from a collection of
28 #     items
29 #   'main' - a boolean value
30 #   'list' - a list of string values
31 #   'dict' - a dictionary value, containing other values indexed by strings
32 #     NOTE: This type is not supported yet. http://crbug.com/108992
33 #   'external' - a policy that references external data.
34 #     NOTE: This type is currently supported on Chrome OS only.
35 #
36 # Policy group descriptions, policy captions and similar texts are localized
37 # strings taken from the <message> nodes of the .grd file. Their name
38 # attributes are generated from the JSON keys.
39 # Each item (policy or group) may have the following messages:
40 #   - description:
41 #     Describes the item it applies to.
42 #   - caption
43 #     A short, one-line summary of the item it applies to. This can appear
44 #     both in policy or group listings or on title bars of policy-setting
45 #     windows.
46 #   - label (Optional, defaults to caption if not specified.)
47 #     A short, one-line summary of the item it applies to. The difference
48 #     from caption is that label always appears next to the entry field
49 #     where the value of the policy can be entered. 'main' policies on
50 #     Windows ignore this. Policies on Mac are using this instead of caption.
51 #
52 # Generated grd names:
53 #   Each name has two parts: the second part is either CAPTION, DESC or LABEL,
54 #   and the first part identifies the item the text applies to:
55 #   -For policies and groups:
56 #     IDS_POLICY_<NAME OF THE POLICY OR GROUP>
57 #     e.g. the name of the caption of policy HomepageLocation:
58 #       IDS_POLICY_HOMEPAGELOCATION_CAPTION
59 #     or other messages of the policy HomepageLocation:
60 #       IDS_POLICY_HOMEPAGELOCATION_LABEL
61 #       IDS_POLICY_HOMEPAGELOCATION_DESC
62 #   -For enum items:
63 #     IDS_POLICY_ENUM_<NAME OF THE ITEM>
64 #     e.g. the name of the caption of ProxyServerDisabled:
65 #       IDS_POLICY_ENUM_PROXYSERVERDISABLED_CAPTION
66 #
67 # Products and versions:
68 #   Each policy has the list of products and version numbers where it is
69 #   supported under the key 'supported_on'. Each item of this list has the
70 #   form of 'product:since_version-until_version', which means that support
71 #   for the policy in 'product' was introduced in 'since_version' and removed
72 #   after 'until_version'. Product names may contain a suffix specifying a
73 #   platform name, e.g.: 'chrome.win' is read as 'Chrome on Windows'. Version
74 #   numbers can be any string that does not contain ':' or '-' characters.
75 #
76 #   Currently supported product names:
77 #       'chrome_frame', 'chrome_os', 'android', 'ios',
78 #       'chrome.win', 'chrome.linux', 'chrome.mac', 'chrome.*'
79 #     For example if 'chrome.*:5-10' is specified for a policy, then it should
80 #     be read as:
81 #       'chrome.linux:5-10', 'chrome.mac:5-10', 'chrome.win:5-10'
82 #
83 #   The product name also affects in which templates the policy is included:
84 #     chrome.*, chrome.win, chrome_frame -> ADM, ADMX, ADML, doc
85 #     chrome.*, chrome.linux -> JSON, doc
86 #     chrome.*, chrome.mac -> plist, plist_strings, doc
87 #     everything else -> doc
88 #
89 #   The default list of policies supported by Chrome is also generated based
90 #   on the product names:
91 #     chrome.* -> Chrome policy definition list
92 #     chrome_os -> Chrome policy definition list, when building OS_CHROMEOS
93 #
94 # Annotations:
95 #   Additional information is specified under keys 'features' and
96 #   'example_value'. These are used in the generated documentation and example
97 #   policy configuration files. 'dynamic_refresh' controls if the generated
98 #   documentation should state that the policy supports dynamic refresh or not.
99 #   Supporting dynamic refresh means that Chrome respects the changes to the
100 #   policy immediately, without the need for restart.
101 #   'can_be_recommended' can be set to True to include that policy in the
102 #   recommended policies templates. This only affects the template generation;
103 #   all policies can be at the recommended level. The default is False.
104 #
105 #   The 'max_size' key is used to specify the maximal size of the external data
106 #   that a policy can reference, in bytes. This annotation is compulsory for
107 #   policies of type 'external'. It is ignored for all other policy types.
108 #
109 #   The 'future' key is used to indicate that a policy isn't yet ready for
110 #   usage. It defaults to False, and currently affects the generated policy
111 #   templates and documentation. The policy definition list that Chrome sees
112 #   will include policies marked with 'future'. If a WIP policy isn't meant to
113 #   be seen by the policy providers either, the 'supported_on' key should be set
114 #   to an empty list.
115 #
116 # IDs:
117 #   Since a Protocol Buffer definition is generated from this file, unique and
118 #   persistent IDs for all fields (but not for groups!) are needed. These are
119 #   specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
120 #   because doing so would break the deployed wire format!
121 #   For your editing convenience: highest ID currently used: 256
122 #
123 # Placeholders:
124 #   The following placeholder strings are automatically substituted:
125 #     $1 -> Google Chrome / Chromium
126 #     $2 -> Google Chrome OS / Chromium OS
127 #     $3 -> Google Chrome Frame / Chromium Frame
128 #     $6 is reserved for doc_writer
129 #
130 # Device Policy:
131 #   An additional flag device_only (optional, defaults to False) indicates
132 #   that this policy is only supported as a device-level Cloud Policy.
133 #   In that case no entry in the UserPolicy Protobuf is generated and
134 #   it is assumed that it will be added to the DevicePolicy Protobuf manually.
135 #
136   'policy_definitions': [
137     {
138       'name': 'Homepage',
139       'type': 'group',
140       'caption': '''Home page''',
141       'desc': '''Configure the default home page in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing it.
142
143       The user's home page settings are only completely locked down, if you either select the home page to be the new tab page, or set it to be a URL and specify a home page URL. If you don't specify the home page URL, then the user is still able to set the home page to the new tab page by specifying 'chrome://newtab'.''',
144       'policies': [
145         {
146           'name': 'HomepageLocation',
147           'type': 'string',
148           'schema': { 'type': 'string' },
149           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
150           'features': {
151             'can_be_recommended': True,
152             'dynamic_refresh': True,
153             'per_profile': True,
154           },
155           'example_value': 'http://chromium.org',
156           'id': 1,
157           'caption': '''Configure the home page URL''',
158           'desc': '''Configures the default home page URL in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing it.
159
160           The home page is the page opened by the Home button. The pages that open on startup are controlled by the RestoreOnStartup policies.
161
162           The home page type can either be set to a URL you specify here or set to the New Tab Page. If you select the New Tab Page, then this policy does not take effect.
163
164           If you enable this setting, users cannot change their home page URL in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>, but they can still can choose the New Tab Page as their home page.
165
166           Leaving this policy not set will allow the user to choose his home page on his own if HomepageIsNewTabPage is not set too.''',
167           'label': '''Home page URL''',
168         },
169         {
170           'name': 'HomepageIsNewTabPage',
171           'type': 'main',
172           'schema': { 'type': 'boolean' },
173           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
174           'features': {
175             'can_be_recommended': True,
176             'dynamic_refresh': True,
177             'per_profile': True,
178           },
179           'example_value': True,
180           'id': 2,
181           'caption': '''Use New Tab Page as homepage''',
182           'desc': '''Configures the type of the default home page in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing home page preferences. The home page can either be set to a URL you specify or set to the New Tab Page.
183
184           If you enable this setting, the New Tab Page is always used for the home page, and the home page URL location is ignored.
185
186           If you disable this setting, the user's homepage will never be the New Tab Page, unless its URL is set to 'chrome://newtab'.
187
188           If you enable or disable this setting, users cannot change their homepage type in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
189
190           Leaving this policy not set will allow the user to choose whether the new tab page is his home page on his own.''',
191         },
192       ],
193     },
194     {
195       'name': 'DefaultBrowserSettingEnabled',
196       'type': 'main',
197       'schema': { 'type': 'boolean' },
198       'supported_on': ['chrome.*:11-'],
199       'features': {
200         'dynamic_refresh': True,
201         'per_profile': False,
202       },
203       'example_value': True,
204       'id': 3,
205       'caption': '''Set Chrome as Default Browser''',
206       'desc': '''Configures the default browser checks in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing them.
207
208       If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will always check on startup whether it is the default browser and automatically register itself if possible.
209
210       If this setting is disabled, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will never check if it is the default browser and will disable user controls for setting this option.
211
212       If this setting is not set, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will allow the user to control whether it is the default browser and whether user notifications should be shown when it isn't.''',
213       'label': '''Set Chrome as Default Browser''',
214     },
215     {
216       'name': 'ApplicationLocaleValue',
217       'type': 'string',
218       'schema': { 'type': 'string' },
219       'supported_on': ['chrome.win:8-'],
220       'features': {
221         'can_be_recommended': True,
222         'dynamic_refresh': False,
223         'per_profile': False,
224       },
225       'example_value': 'en',
226       'id': 4,
227       'caption': '''Application locale''',
228       'desc': '''Configures the application locale in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing the locale.
229
230       If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> uses the specified locale. If the configured locale is not supported, 'en-US' is used instead.
231
232       If this setting is disabled or not set, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> uses either the user-specified preferred locale (if configured), the system locale or the fallback locale 'en-US'.''',
233       'label': '''Application locale''',
234     },
235     {
236       'name': 'AlternateErrorPagesEnabled',
237       'type': 'main',
238       'schema': { 'type': 'boolean' },
239       'supported_on': [
240         'chrome.*:8-',
241         'chrome_os:11-',
242         'android:30-',
243       ],
244       'features': {
245         'can_be_recommended': True,
246         'dynamic_refresh': True,
247         'per_profile': True,
248       },
249       'example_value': True,
250       'id': 5,
251       'caption': '''Enable alternate error pages''',
252       'desc': '''Enables the use of alternate error pages that are built into <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> (such as 'page not found') and prevents users from changing this setting.
253
254       If you enable this setting, alternate error pages are used.
255
256       If you disable this setting, alternate error pages are never used.
257
258       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>.
259
260       If this policy is left not set, this will be enabled but the user will be able to change it.''',
261     },
262     {
263       'name': 'SearchSuggestEnabled',
264       'type': 'main',
265       'schema': { 'type': 'boolean' },
266       'supported_on': [
267         'chrome.*:8-',
268         'chrome_os:11-',
269         'android:30-',
270         'ios:34-',
271       ],
272       'features': {
273         'can_be_recommended': True,
274         'dynamic_refresh': True,
275         'per_profile': True,
276       },
277       'example_value': True,
278       'id': 6,
279       'caption': '''Enable search suggestions''',
280       'desc': '''Enables search suggestions in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s omnibox and prevents users from changing this setting.
281
282       If you enable this setting, search suggestions are used.
283
284       If you disable this setting, search suggestions are never used.
285
286       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>.
287
288       If this policy is left not set, this will be enabled but the user will be able to change it.''',
289     },
290     {
291       'name': 'DnsPrefetchingEnabled',
292       'type': 'main',
293       'schema': { 'type': 'boolean' },
294       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
295       'features': {
296         'can_be_recommended': True,
297         'dynamic_refresh': True,
298         'per_profile': True,
299       },
300       'example_value': True,
301       'id': 7,
302       'caption': '''Enable network prediction''',
303       'desc': '''Enables network prediction in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
304
305       This controls not only DNS prefetching but also TCP and SSL preconnection and prerendering of web pages. The policy name refers to DNS prefetching for historical reasons.
306
307       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>.
308
309       If this policy is left not set, this will be enabled but the user will be able to change it.''',
310     },
311     {
312       'name': 'DisableSpdy',
313       'type': 'main',
314       'schema': { 'type': 'boolean' },
315       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
316       'features': {
317         'dynamic_refresh': True,
318         'per_profile': False,
319       },
320       'example_value': True,
321       'id': 8,
322       'caption': '''Disable SPDY protocol''',
323       'desc': '''Disables use of the SPDY protocol in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
324
325       If this policy is enabled the SPDY protocol will not be available in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
326
327       Setting this policy to disabled will allow the usage of SPDY.
328
329       If this policy is left not set, SPDY will be available.''',
330     },
331     {
332       'name': 'DisabledSchemes',
333       'type': 'list',
334       'schema': {
335         'type': 'array',
336         'items': { 'type': 'string' },
337       },
338       'supported_on': ['chrome.*:12-', 'chrome_os:12-'],
339       'features': {
340         'dynamic_refresh': True,
341         'per_profile': False,
342       },
343       'deprecated': True,
344       'example_value': ['file', 'https'],
345       'id': 85,
346       'caption': '''Disable URL protocol schemes''',
347       'desc': '''This policy is deprecated, please use URLBlacklist instead.
348
349       Disables the listed protocol schemes in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
350
351       URLs using a scheme from this list will not load and can not be navigated to.
352
353       If this policy is left not set or the list is empty all schemes will be accessible in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
354       'label': '''List of disabled protocol schemes''',
355     },
356     {
357       'name': 'JavascriptEnabled',
358       'type': 'main',
359       'schema': { 'type': 'boolean' },
360       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
361       'features': {
362         'dynamic_refresh': True,
363         'per_profile': True,
364       },
365       'deprecated': True,
366       'example_value': True,
367       'id': 9,
368       'caption': '''Enable JavaScript''',
369       'desc': '''This policy is deprecated, please use DefaultJavaScriptSetting instead.
370
371       Can be used to disabled JavaScript in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
372
373       If this setting is disabled, web pages cannot use JavaScript and the user cannot change that setting.
374
375       If this setting is enabled or not set, web pages can use JavaScript but the user can change that setting.''',
376     },
377     {
378       'name': 'IncognitoEnabled',
379       'type': 'main',
380       'schema': { 'type': 'boolean' },
381       'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
382       'features': {
383         'dynamic_refresh': True,
384         'per_profile': True,
385       },
386       'deprecated': True,
387       'example_value': False,
388       'id': 10,
389       'caption': '''Enable Incognito mode''',
390       'desc': '''This policy is deprecated. Please, use IncognitoModeAvailability instead.
391       Enables Incognito mode in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
392
393       If this setting is enabled or not configured, users can open web pages in incognito mode.
394
395       If this setting is disabled, users cannot open web pages in incognito mode.
396
397       If this policy is left not set, this will be enabled and the user will be able to use incognito mode.''',
398     },
399     {
400       'name': 'IncognitoModeAvailability',
401       'type': 'int-enum',
402       'schema': {
403         'type': 'integer',
404         'enum': [ 0, 1, 2 ],
405       },
406       'items': [
407         {
408           'name': 'Enabled',
409           'value': 0,
410           'caption': '''Incognito mode available''',
411         },
412         {
413           'name': 'Disabled',
414           'value': 1,
415           'caption': '''Incognito mode disabled''',
416         },
417         {
418           'name': 'Forced',
419           'value': 2,
420           'caption': '''Incognito mode forced''',
421         },
422       ],
423       'supported_on': [
424         'chrome.*:14-',
425         'chrome_os:14-',
426         'android:30-',
427       ],
428       'features': {
429         'dynamic_refresh': True,
430         'per_profile': True,
431       },
432       'example_value': 1,
433       'id': 93,
434       'caption': '''Incognito mode availability''',
435       'desc': '''Specifies whether the user may open pages in Incognito mode in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
436
437       If 'Enabled' is selected or the policy is left unset, pages may be opened in Incognito mode.
438
439       If 'Disabled' is selected, pages may not be opened in Incognito mode.
440
441       If 'Forced' is selected, pages may be opened ONLY in Incognito mode.''',
442     },
443     {
444       'name': 'SavingBrowserHistoryDisabled',
445       'type': 'main',
446       'schema': { 'type': 'boolean' },
447       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
448       'features': {
449         'dynamic_refresh': True,
450         'per_profile': True,
451       },
452       'example_value': True,
453       'id': 11,
454       'caption': '''Disable saving browser history''',
455       'desc': '''Disables saving browser history in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
456
457       If this setting is enabled, browsing history is not saved.
458
459       If this setting is disabled or not set, browsing history is saved.''',
460     },
461     {
462       'name': 'AllowDeletingBrowserHistory',
463       'future': True,
464       'type': 'main',
465       'schema': { 'type': 'boolean' },
466       # TODO(pamg): Restore the correct 'supported' line when the UI properly
467       # shows that deleting browser history is disabled. Also fix the 'os' line
468       # in policy_test_cases.json.
469       # 'supported_on': ['chrome.*:27-', 'chrome_os:27-'],
470       'supported_on': [],
471       'features': {
472         'dynamic_refresh': True,
473         'per_profile': True,
474       },
475       'example_value': True,
476       'id': 187,
477       'caption': '''Enable deleting browser and download history''',
478       'desc': '''Enables deleting browser history and download history in <ph name="PRODUCT_NAME">$<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
479
480       Note that even with this policy disabled, the browsing and download history are not guaranteed to be retained: users may be able to edit or delete the history database files directly, and the browser itself may expire or archive any or all history items at any time.
481
482       If this setting is enabled or not set, browsing and download history can be deleted.
483
484       If this setting is disabled, browsing and download history cannot be deleted.''',
485     },
486     {
487       'name': 'RemoteAccess',
488       'type': 'group',
489       'caption': '''Configure remote access options''',
490       'desc': '''Configure remote access options in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
491
492       These features are ignored unless the Remote Access web application is installed.''',
493       'policies': [
494         {
495           'name': 'RemoteAccessClientFirewallTraversal',
496           'type': 'main',
497           'schema': { 'type': 'boolean' },
498           'supported_on': ['chrome.*:14-', 'chrome_os:14-'],
499           'features': {
500             'dynamic_refresh': True,
501           },
502           # Mark this 'removed' when http://crbug.com/100216 is resolved.
503           'deprecated': True,
504           'example_value': False,
505           'id': 94,
506           'caption': '''Enable firewall traversal from remote access client''',
507           'desc': '''This policy is no longer supported.
508           Enables usage of STUN and relay servers when connecting to a remote client.
509
510           If this setting is enabled, then this machine can discover and connect to remote host machines even if they are separated by a firewall.
511
512           If this setting is disabled and outgoing UDP connections are filtered by the firewall, then this machine can only connect to host machines within the local network.''',
513         },
514         {
515           'name': 'RemoteAccessHostFirewallTraversal',
516           'type': 'main',
517           'schema': { 'type': 'boolean' },
518           'supported_on': ['chrome.*:14-'],
519           'features': {
520             'dynamic_refresh': True,
521             'per_profile': False,
522           },
523           'example_value': False,
524           'id': 95,
525           'caption': '''Enable firewall traversal from remote access host''',
526           'desc': '''Enables usage of STUN and relay servers when remote clients are trying to establish a connection to this machine.
527
528           If this setting is enabled, then remote clients can discover and connect to this machines even if they are separated by a firewall.
529
530           If this setting is disabled and outgoing UDP connections are filtered by the firewall, then this machine will only allow connections from client machines within the local network.
531
532           If this policy is left not set the setting will be enabled.''',
533         },
534         {
535           'name': 'RemoteAccessHostDomain',
536           'type': 'string',
537           'schema': { 'type': 'string' },
538           'supported_on': ['chrome.*:22-'],
539           'features': {
540             'dynamic_refresh': True,
541             'per_profile': False,
542           },
543           'example_value': 'my-awesome-domain.com',
544           'id': 154,
545           'caption': '''Configure the required domain name for remote access hosts''',
546           'desc': '''Configures the required host domain name that will be imposed on remote access hosts and prevents users from changing it.
547
548           If this setting is enabled, then hosts can be shared only using accounts registered on the specified domain name.
549
550           If this setting is disabled or not set, then hosts can be shared using any account.''',
551         },
552         {
553           'name': 'RemoteAccessHostRequireTwoFactor',
554           'type': 'main',
555           'schema': { 'type': 'boolean' },
556           'supported_on': ['chrome.*:22-'],
557           'features': {
558             'dynamic_refresh': True,
559             'per_profile': False,
560           },
561           'example_value': False,
562           'id': 155,
563           'caption': '''Enable two-factor authentication for remote access hosts''',
564           'desc': '''Enables two-factor authentication for remote access hosts instead of a user-specified PIN.
565
566           If this setting is enabled, then users must provide a valid two-factor code when accessing a host.
567
568           If this setting is disabled or not set, then two-factor will not be enabled and the default behavior of having a user-defined PIN will be used.''',
569         },
570         {
571           'name': 'RemoteAccessHostTalkGadgetPrefix',
572           'type': 'string',
573           'schema': { 'type': 'string' },
574           'supported_on': ['chrome.*:22-'],
575           'features': {
576             'dynamic_refresh': True,
577             'per_profile': False,
578           },
579           'example_value': 'chromoting-host',
580           'id': 156,
581           'caption': '''Configure the TalkGadget prefix for remote access hosts''',
582           'desc': '''Configures the TalkGadget prefix that will be used by remote access hosts and prevents users from changing it.
583
584           If specified, this prefix is prepended to the base TalkGadget name to create a full domain name for the TalkGadget. The base TalkGadget domain name is '.talkgadget.google.com'.
585
586           If this setting is enabled, then hosts will use the custom domain name when accessing the TalkGadget instead of the default domain name.
587
588           If this setting is disabled or not set, then the default TalkGadget domain name ('chromoting-host.talkgadget.google.com') will be used for all hosts.
589
590           Remote access clients are not affected by this policy setting. They will always use 'chromoting-client.talkgadget.google.com' to access the TalkGadget.''',
591         },
592         {
593           'name': 'RemoteAccessHostRequireCurtain',
594           'type': 'main',
595           'schema': { 'type': 'boolean' },
596           'supported_on': ['chrome.*:23-'],
597           'features': {
598             'dynamic_refresh': True,
599             'per_profile': False,
600           },
601           'example_value': False,
602           'id': 157,
603           'caption': '''Enable curtaining of remote access hosts''',
604           'desc': '''Enables curtaining of remote access hosts while a connection is in progress.
605
606           If this setting is enabled, then hosts' physical input and output devices are disabled while a remote connection is in progress.
607
608           If this setting is disabled or not set, then both local and remote users can interact with the host when it is being shared.''',
609         },
610         {
611           'name': 'RemoteAccessHostAllowClientPairing',
612           'type': 'main',
613           'schema': { 'type': 'boolean' },
614           'supported_on': ['chrome.*:30-'],
615           'features': {
616             'dynamic_refresh': True,
617             'per_profile': False,
618           },
619           'example_value': False,
620           'id': 234,
621           'caption': '''Enable or disable PIN-less authentication''',
622           'desc': '''If this setting is enabled or not configured, then users can opt to pair clients and hosts at connection time, eliminating the need to enter a PIN every time.
623
624           If this setting is disabled, then this feature will not be available.''',
625         },
626       ],
627     },
628     {
629       'name': 'PrintingEnabled',
630       'type': 'main',
631       'schema': { 'type': 'boolean' },
632       'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
633       'features': {
634         'dynamic_refresh': True,
635         'per_profile': True,
636       },
637       'example_value': True,
638       'id': 12,
639       'caption': '''Enable printing''',
640       'desc': '''Enables printing in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
641
642       If this setting is enabled or not configured, users can print.
643
644       If this setting is disabled, users cannot print from <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. Printing is disabled in the wrench menu, extensions, JavaScript applications, etc. It is still possible to print from plugins that bypass <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> while printing. For example, certain Flash applications have the print option in their context menu, which is not covered by this policy.''',
645     },
646     {
647       'name': 'CloudPrintProxyEnabled',
648       'type': 'main',
649       'schema': { 'type': 'boolean' },
650       'supported_on': ['chrome.*:17-'],
651       'features': {
652         'dynamic_refresh': True,
653         'per_profile': True,
654       },
655       'example_value': True,
656       'id': 13,
657       'caption': '''Enable <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> proxy''',
658       'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to act as a proxy between <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> and legacy printers connected to the machine.
659
660       If this setting is enabled or not configured, users can enable the cloud print proxy by authentication with their Google account.
661
662       If this setting is disabled, users cannot enable the proxy, and the machine will not be allowed to share it's printers with <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph>.''',
663     },
664     {
665       'name': 'ForceSafeSearch',
666       'type': 'main',
667       'schema': { 'type': 'boolean' },
668       'supported_on': ['chrome.*:25-', 'chrome_os:25-', 'android:30-'],
669       'features': {
670         'can_be_recommended': False,
671         'dynamic_refresh': True,
672         'per_profile': True,
673       },
674       'example_value': False,
675       'id': 162,
676       'caption': '''Force SafeSearch''',
677       'desc': '''Forces queries in Google Web Search to be done with SafeSearch set to active and prevents users from changing this setting.
678
679       If you enable this setting, SafeSearch in Google Search is always active.
680
681       If you disable this setting or do not set a value, SafeSearch in Google Search is not enforced.''',
682     },
683     {
684       'name': 'SafeBrowsingEnabled',
685       'type': 'main',
686       'schema': { 'type': 'boolean' },
687       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
688       'features': {
689         'can_be_recommended': True,
690         'dynamic_refresh': True,
691         'per_profile': True,
692       },
693       'example_value': True,
694       'id': 14,
695       'caption': '''Enable Safe Browsing''',
696       'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s Safe Browsing feature and prevents users from changing this setting.
697
698       If you enable this setting, Safe Browsing is always active.
699
700       If you disable this setting, Safe Browsing is never active.
701
702       If you enable or disable this setting, users cannot change or override the "Enable phishing and malware protection" setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
703
704       If this policy is left not set, this will be enabled but the user will be able to change it.''',
705     },
706     {
707       'name': 'MetricsReportingEnabled',
708       'type': 'main',
709       'schema': { 'type': 'boolean' },
710       'supported_on': ['chrome.*:8-'],
711       'features': {
712         'can_be_recommended': True,
713         'dynamic_refresh': False,
714         'per_profile': False,
715       },
716       'example_value': True,
717       'id': 15,
718       'caption': '''Enable reporting of usage and crash-related data''',
719       'desc': '''Enables anonymous reporting of usage and crash-related data about <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to Google and prevents users from changing this setting.
720
721       If you enable this setting, anonymous reporting of usage and crash-related data is sent to Google.
722
723       If you disable this setting, anonymous reporting of usage and crash-related data is never sent to Google.
724
725       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>.
726
727       If this policy is left not set the setting will be what the user chose upon installation / first run.''',
728     },
729     {
730       'name': 'PasswordManager',
731       'type': 'group',
732       'caption': '''Password manager''',
733       'desc': '''Configures the password manager. If the password manager is enabled, then you can choose to enable or disable whether the user may show stored passwords in clear text.''',
734       'policies': [
735         {
736           'name': 'PasswordManagerEnabled',
737           'type': 'main',
738           'schema': { 'type': 'boolean' },
739           'supported_on': [
740             'chrome.*:8-',
741             'chrome_os:11-',
742             'android:30-',
743             'ios:34-',
744           ],
745           'features': {
746             'can_be_recommended': True,
747             'dynamic_refresh': True,
748             'per_profile': True,
749           },
750           'example_value': True,
751           'id': 16,
752           'caption': '''Enable the password manager''',
753           'desc': '''Enables saving passwords and using saved passwords in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
754
755           If you enable this setting, users can have <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> memorize passwords and provide them automatically the next time they log in to a site.
756
757           If you disable this setting, users are not able to save passwords or use already saved passwords.
758
759           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>.
760
761           If this policy is left not set, this will be enabled but the user will be able to change it.''',
762         },
763         {
764           'name': 'PasswordManagerAllowShowPasswords',
765           'type': 'main',
766           'schema': { 'type': 'boolean' },
767           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
768           'features': {
769             'dynamic_refresh': True,
770             'per_profile': True,
771           },
772           'example_value': False,
773           'id': 17,
774           'caption': '''Allow users to show passwords in Password Manager''',
775           'desc': '''Controls whether the user may show passwords in clear text in the password manager.
776
777           If you disable this setting, the password manager does not allow showing stored passwords in clear text in the password manager window.
778
779           If you enable or do not set this policy, users can view their passwords in clear text in the password manager.''',
780         },
781       ],
782     },
783     {
784       'name': 'AutoFillEnabled',
785       'type': 'main',
786       'schema': { 'type': 'boolean' },
787       'supported_on': [
788         'chrome.*:8-',
789         'chrome_os:11-',
790         'android:30-',
791         'ios:34-',
792       ],
793       'features': {
794         'can_be_recommended': True,
795         'dynamic_refresh': True,
796         'per_profile': True,
797       },
798       'example_value': False,
799       'id': 18,
800       'caption': '''Enable AutoFill''',
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 stored information such as address or credit card information.
802
803       If you disable this setting, AutoFill will be inaccessible to users.
804
805       If you enable this setting or do not set a value, AutoFill will remain under the control of the user. This will allow them to configure AutoFill profiles and to switch AutoFill on or off at their own discretion.''',
806     },
807     {
808       'name': 'DisabledPlugins',
809       'type': 'list',
810       'schema': {
811         'type': 'array',
812         'items': { 'type': 'string' },
813       },
814       'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
815       'features': {
816         'dynamic_refresh': True,
817         'per_profile': True,
818       },
819       'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
820       'id': 19,
821       'caption': '''Specify a list of disabled plugins''',
822       'desc': '''Specifies a list of plugins that are disabled in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
823
824       The wildcard characters '*' and '?' can be used to match sequences of arbitrary characters. '*' matches an arbitrary number of characters while '?' specifies an optional single character, i.e. matches zero or one characters. The escape character is '\\', so to match actual '*', '?', or '\\' characters, you can put a '\\' in front of them.
825
826       If you enable this setting, the specified list of plugins is never used in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. The plugins are marked as disabled in 'about:plugins' and users cannot enable them.
827
828       Note that this policy can be overridden by EnabledPlugins and DisabledPluginsExceptions.
829
830       If this policy is left not set the user can use any plugin installed on the system except for hard-coded incompatible, outdated or dangerous plugins.''',
831       'label': '''List of disabled plugins''',
832     },
833     {
834       'name': 'EnabledPlugins',
835       'type': 'list',
836       'schema': {
837         'type': 'array',
838         'items': { 'type': 'string' },
839       },
840       'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
841       'features': {
842         'dynamic_refresh': True,
843         'per_profile': True,
844       },
845       'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
846       'id': 78,
847       'caption': '''Specify a list of enabled plugins''',
848       'desc': '''Specifies a list of plugins that are enabled in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
849
850       The wildcard characters '*' and '?' can be used to match sequences of arbitrary characters. '*' matches an arbitrary number of characters while '?' specifies an optional single character, i.e. matches zero or one characters. The escape character is '\\', so to match actual '*', '?', or '\\' characters, you can put a '\\' in front of them.
851
852       The specified list of plugins is always used in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> if they are installed. The plugins are marked as enabled in 'about:plugins' and users cannot disable them.
853
854       Note that this policy overrides both DisabledPlugins and DisabledPluginsExceptions.
855
856       If this policy is left not set the user can disable any plugin installed on the system.''',
857       'label': '''List of enabled plugins''',
858     },
859     {
860       'name': 'DisabledPluginsExceptions',
861       'type': 'list',
862       'schema': {
863         'type': 'array',
864         'items': { 'type': 'string' },
865       },
866       'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
867       'features': {
868         'dynamic_refresh': True,
869         'per_profile': True,
870       },
871       'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
872       'id': 79,
873       'caption': '''Specify a list of plugins that the user can enable or disable''',
874       'desc': '''Specifies a list of plugins that user can enable or disable in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
875
876       The wildcard characters '*' and '?' can be used to match sequences of arbitrary characters. '*' matches an arbitrary number of characters while '?' specifies an optional single character, i.e. matches zero or one characters. The escape character is '\\', so to match actual '*', '?', or '\\' characters, you can put a '\\' in front of them.
877
878       If you enable this setting, the specified list of plugins can be used in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. Users can enable or disable them in 'about:plugins', even if the plugin also matches a pattern in DisabledPlugins. Users can also enable and disable plugins that don't match any patterns in DisabledPlugins, DisabledPluginsExceptions and EnabledPlugins.
879
880       This policy is meant to allow for strict plugin blacklisting where the 'DisabledPlugins' list contains wildcarded entries like disable all plugins '*' or disable all Java plugins '*Java*' but the administrator wishes to enable some particular version like 'IcedTea Java 2.3'. This particular versions can be specified in this policy.
881
882       Note that both the plugin name and the plugin's group name have to be exempted. Each plugin group is shown in a separate section in about:plugins; each section may have one or more plugins. For example, the "Shockwave Flash" plugin belongs to the "Adobe Flash Player" group, and both names have to have a match in the exceptions list if that plugin is to be exempted from the blacklist.
883
884       If this policy is left not set any plugin that matches the patterns in the 'DisabledPlugins' will be locked disabled and the user won't be able to enable them.''',
885       'label': '''List of exceptions to the list of disabled plugins''',
886     },
887     {
888       'name': 'DisablePluginFinder',
889       'type': 'main',
890       'schema': { 'type': 'boolean' },
891       'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
892       'features': {
893         'dynamic_refresh': True,
894         'per_profile': False,
895       },
896       'example_value': True,
897       'id': 66,
898       'caption': '''Specify whether the plugin finder should be disabled''',
899       'desc': '''If you set this setting to enabled the automatic search and installation of missing plugins will be disabled in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
900
901       Setting this option to disabled or leave it not set the plugin finder will be active.''',
902       'label': '''Disable plugin finder''',
903     },
904     {
905       'name': 'SyncDisabled',
906       'type': 'main',
907       'schema': { 'type': 'boolean' },
908       'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
909       'features': {
910         'dynamic_refresh': True,
911         'per_profile': True,
912       },
913       'example_value': True,
914       'id': 20,
915       'caption': '''Disable synchronization of data with Google''',
916       'desc': '''Disables data synchronization in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> using Google-hosted synchronization services and prevents users from changing this setting.
917
918       If you enable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
919
920       If this policy is left not set Google Sync will be available for the user to choose whether to use it or not.''',
921     },
922     {
923       'name': 'SigninAllowed',
924       'type': 'main',
925       'schema': { 'type': 'boolean' },
926       'supported_on': ['chrome.*:27-'],
927       'features': {
928         'dynamic_refresh': True,
929         'per_profile': True,
930       },
931       'example_value': True,
932       'id': 190,
933       'caption': '''Allows sign in to Chrome''',
934       'desc': '''Allows the user to sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
935
936       If you set this policy, you can configure if a user is allowed to sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> or not.''',
937     },
938     {
939       'name': 'UserDataDir',
940       'type': 'string',
941       'schema': { 'type': 'string' },
942       'supported_on': ['chrome.win:11-', 'chrome.mac:11-'],
943       'features': {
944         'dynamic_refresh': False,
945         'per_profile': False,
946       },
947       'example_value': '${users}/${user_name}/Chrome',
948       'id': 63,
949       'caption': '''Set user data directory''',
950       'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for storing user data.
951
952       If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use the provided directory regardless whether the user has specified the '--user-data-dir' flag or not.
953
954       See http://www.chromium.org/administrators/policy-list-3/user-data-directory-variables for a list of variables that can be used.
955
956       If this policy is left not set the default profile path will be used and the user will be able to override it with the '--user-data-dir' command line flag.''',
957       'label': '''Set user data directory''',
958     },
959     {
960       'name': 'DiskCacheDir',
961       'type': 'string',
962       'schema': { 'type': 'string' },
963       'supported_on': ['chrome.*:13-'],
964       'features': {
965         'dynamic_refresh': False,
966         'per_profile': False,
967       },
968       'example_value': '${user_home}/Chrome_cache',
969       'id': 88,
970       'caption': '''Set disk cache directory''',
971       'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for storing cached files on the disk.
972
973       If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use the provided directory regardless whether the user has specified the '--disk-cache-dir' flag or not.
974
975       See http://www.chromium.org/administrators/policy-list-3/user-data-directory-variables for a list of variables that can be used.
976
977       If this policy is left not set the default cache directory will be used and the user will be able to override it with the '--disk-cache-dir' command line flag.''',
978       'label': '''Set disk cache directory''',
979     },
980     {
981       'name': 'DiskCacheSize',
982       'type': 'int',
983       'schema': { 'type': 'integer' },
984       'supported_on': ['chrome.*:17-'],
985       'features': {
986         'dynamic_refresh': False,
987         'per_profile': False,
988       },
989       'example_value': 104857600,
990       'id': 110,
991       'caption': '''Set disk cache size in bytes''',
992       'desc': '''Configures the cache size that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for storing cached files on the disk.
993
994       If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use the provided cache size regardless whether the user has specified the '--disk-cache-size' flag or not. The value specified in this policy is not a hard boundary but rather a suggestion to the caching system, any value below a few megabytes is too small and will be rounded up to a sane minimum.
995
996       If the value of this policy is 0, the default cache size will be used but the user will not be able to change it.
997
998       If this policy is not set the default size will be used and the user will be able to override it with the --disk-cache-size flag.''',
999       'label': '''Set disk cache size''',
1000     },
1001     {
1002       'name': 'MediaCacheSize',
1003       'type': 'int',
1004       'schema': { 'type': 'integer' },
1005       'supported_on': ['chrome.*:17-'],
1006       'features': {
1007         'dynamic_refresh': False,
1008         'per_profile': False,
1009       },
1010       'example_value': 104857600,
1011       'id': 111,
1012       'caption': '''Set media disk cache size in bytes''',
1013       'desc': '''Configures the cache size that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for storing cached media files on the disk.
1014
1015       If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use the provided cache size regardless whether the user has specified the '--media-cache-size' flag or not. The value specified in this policy is not a hard boundary but rather a suggestion to the caching system, any value below a few megabytes is too small and will be rounded up to a sane minimum.
1016
1017       If the value of this policy is 0, the default cache size will be used but the user will not be able to change it.
1018
1019       If this policy is not set the default size will be used and the user will be able to override it with the --media-cache-size flag.''',
1020       'label': '''Set media disk cache size''',
1021     },
1022     {
1023       'name': 'DownloadDirectory',
1024       'type': 'string',
1025       'schema': { 'type': 'string' },
1026       'supported_on': ['chrome.*:11-'],
1027       'features': {
1028         'can_be_recommended': True,
1029         'dynamic_refresh': True,
1030         'per_profile': True,
1031       },
1032       'example_value': '/home/${user_name}/Downloads',
1033       'id': 64,
1034       'caption': '''Set download directory''',
1035       'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for downloading files.
1036
1037       If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use the provided directory regardless whether the user has specified one or enabled the flag to be prompted for download location every time.
1038
1039       See http://www.chromium.org/administrators/policy-list-3/user-data-directory-variables for a list of variables that can be used.
1040
1041       If this policy is left not set the default download directory will be used and the user will be able to change it.''',
1042       'label': '''Set download directory''',
1043     },
1044     {
1045       'name': 'ClearSiteDataOnExit',
1046       'type': 'main',
1047       'schema': { 'type': 'boolean' },
1048       'supported_on': ['chrome.*:11-28', 'chrome_os:11-28'],
1049       'features': {
1050         'can_be_recommended': True,
1051         'dynamic_refresh': True,
1052         'per_profile': True,
1053       },
1054       'deprecated': True,
1055       'example_value': True,
1056       'id': 65,
1057       'caption': '''Clear site data on browser shutdown (deprecated)''',
1058       'desc': '''This policy has been retired as of <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> version 29.''',
1059       'label': '''Clear site data on browser shutdown (deprecated)''',
1060     },
1061     {
1062       'name': 'Proxy',
1063       'type': 'group',
1064       'caption': '''Proxy server''',
1065       'desc': '''Allows you to specify the proxy server used by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing proxy settings.
1066
1067       If you choose to never use a proxy server and always connect directly, all other options are ignored.
1068
1069       If you choose to auto detect the proxy server, all other options are ignored.
1070
1071       For detailed examples, visit:
1072       <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett</ex></ph>
1073
1074       If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> ignores all proxy-related options specified from the command line.
1075
1076       Leaving these policies not set will allow the users to choose the proxy settings on their own.''',
1077       'policies': [
1078         {
1079           'name': 'ProxyMode',
1080           'type': 'string-enum',
1081           'schema': {
1082             'type': 'string',
1083             'enum': [
1084               'direct',
1085               'auto_detect',
1086               'pac_script',
1087               'fixed_servers',
1088               'system'
1089             ],
1090           },
1091           'items': [
1092             {
1093               'name': 'ProxyDisabled',
1094               'value': 'direct',
1095               'caption': '''Never use a proxy''',
1096             },
1097             {
1098               'name': 'ProxyAutoDetect',
1099               'value': 'auto_detect',
1100               'caption': '''Auto detect proxy settings''',
1101             },
1102             {
1103               'name': 'ProxyPacScript',
1104               'value': 'pac_script',
1105               'caption': '''Use a .pac proxy script''',
1106             },
1107             {
1108               'name': 'ProxyFixedServers',
1109               'value': 'fixed_servers',
1110               'caption': '''Use fixed proxy servers''',
1111             },
1112             {
1113               'name': 'ProxyUseSystem',
1114               'value': 'system',
1115               'caption': '''Use system proxy settings''',
1116             },
1117           ],
1118           'supported_on': [
1119             'chrome.*:10-',
1120             'chrome_os:11-',
1121             'android:30-',
1122             'ios:34-',
1123           ],
1124           'features': {
1125             'dynamic_refresh': True,
1126             'per_profile': True,
1127           },
1128           'example_value': 'direct',
1129           'id': 21,
1130           'caption': '''Choose how to specify proxy server settings''',
1131           'desc': '''Allows you to specify the proxy server used by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing proxy settings.
1132
1133           If you choose to never use a proxy server and always connect directly, all other options are ignored.
1134
1135           If you choose to use system proxy settings or auto detect the proxy server, all other options are ignored.
1136
1137           If you choose fixed server proxy mode, you can specify further options in 'Address or URL of proxy server' and 'Comma-separated list of proxy bypass rules'.
1138
1139           If you choose to use a .pac proxy script, you must specify the URL to the script in 'URL to a proxy .pac file'.
1140
1141           For detailed examples, visit:
1142           <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett</ex></ph>
1143
1144           If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> ignores all proxy-related options specified from the command line.
1145
1146           Leaving this policy not set will allow the users to choose the proxy settings on their own.''',
1147         },
1148         {
1149           'name': 'ProxyServerMode',
1150           'type': 'int-enum',
1151           'schema': {
1152             'type': 'integer',
1153             'enum': [ 0, 1, 2, 3 ],
1154           },
1155           'items': [
1156             {
1157               'name': 'ProxyServerDisabled',
1158               'value': 0,
1159               'caption': '''Never use a proxy''',
1160             },
1161             {
1162               'name': 'ProxyServerAutoDetect',
1163               'value': 1,
1164               'caption': '''Auto detect proxy settings''',
1165             },
1166             {
1167               'name': 'ProxyServerManual',
1168               'value': 2,
1169               'caption': '''Manually specify proxy settings''',
1170             },
1171             {
1172               'name': 'ProxyServerUseSystem',
1173               'value': 3,
1174               'caption': '''Use system proxy settings''',
1175             },
1176           ],
1177           'supported_on': [
1178             'chrome.*:8-',
1179             'chrome_os:11-',
1180             'android:30-',
1181             'ios:34-',
1182           ],
1183           'features': {
1184             'dynamic_refresh': True,
1185             'per_profile': True,
1186           },
1187           'deprecated': True,
1188           'example_value': 2,
1189           'id': 22,
1190           'caption': '''Choose how to specify proxy server settings''',
1191           'desc': '''This policy is deprecated, use ProxyMode instead.
1192
1193           Allows you to specify the proxy server used by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing proxy settings.
1194
1195           If you choose to never use a proxy server and always connect directly, all other options are ignored.
1196
1197           If you choose to use system proxy settings or auto detect the proxy server, all other options are ignored.
1198
1199           If you choose manual proxy settings, you can specify further options in 'Address or URL of proxy server', 'URL to a proxy .pac file' and 'Comma-separated list of proxy bypass rules'.
1200
1201           For detailed examples, visit:
1202           <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett</ex></ph>
1203
1204           If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> ignores all proxy-related options specified from the command line.
1205
1206           Leaving this policy not set will allow the users to choose the proxy settings on their own.''',
1207         },
1208         {
1209           'name': 'ProxyServer',
1210           'type': 'string',
1211           'schema': { 'type': 'string' },
1212           'supported_on': [
1213             'chrome.*:8-',
1214             'chrome_os:11-',
1215             'android:30-',
1216             'ios:34-',
1217           ],
1218           'features': {
1219             'dynamic_refresh': True,
1220             'per_profile': True,
1221           },
1222           'example_value': '123.123.123.123:8080',
1223           'id': 23,
1224           'caption': '''Address or URL of proxy server''',
1225           'desc': '''You can specify the URL of the proxy server here.
1226
1227           This policy only takes effect if you have selected manual proxy settings at 'Choose how to specify proxy server settings'.
1228
1229           You should leave this policy not set if you have selected any other mode for setting proxy policies.
1230
1231           For more options and detailed examples, visit:
1232           <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett</ex></ph>''',
1233         },
1234         {
1235           'name': 'ProxyPacUrl',
1236           'type': 'string',
1237           'schema': { 'type': 'string' },
1238           'supported_on': [
1239             'chrome.*:8-',
1240             'chrome_os:11-',
1241             'android:30-',
1242             'ios:34-',
1243           ],
1244           'features': {
1245             'dynamic_refresh': True,
1246             'per_profile': True,
1247           },
1248           'example_value': 'http://internal.site/example.pac',
1249           'id': 24,
1250           'caption': '''URL to a proxy .pac file''',
1251           'desc': '''You can specify a URL to a proxy .pac file here.
1252
1253           This policy only takes effect if you have selected manual proxy settings at 'Choose how to specify proxy server settings'.
1254
1255           You should leave this policy not set if you have selected any other mode for setting proxy policies.
1256
1257           For detailed examples, visit:
1258           <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett</ex></ph>''',
1259         },
1260         {
1261           'name': 'ProxyBypassList',
1262           'type': 'string',
1263           'schema': { 'type': 'string' },
1264           'supported_on': [
1265             'chrome.*:8-',
1266             'chrome_os:11-',
1267             'android:30-',
1268             'ios:34-',
1269           ],
1270           'features': {
1271             'dynamic_refresh': True,
1272             'per_profile': True,
1273           },
1274           'example_value': 'http://www.example1.com,http://www.example2.com,http://internalsite/',
1275           'id': 25,
1276           '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.
1278
1279           This policy only takes effect if you have selected manual proxy settings at 'Choose how to specify proxy server settings'.
1280
1281           You should leave this policy not set if you have selected any other mode for setting proxy policies.
1282
1283           For more detailed examples, visit:
1284           <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett</ex></ph>''',
1285           'label': '''Comma-separated list of proxy bypass rules''',
1286         },
1287       ],
1288     },
1289     {
1290       # TODO(joaodasilva): Make this the default and deprecate the other proxy
1291       # policies once all providers are ready to load 'dict' policies.
1292       # This is currently an internal policy.
1293       # http://crbug.com/108992, http://crbug.com/108996
1294       'name': 'ProxySettings',
1295       'type': 'dict',
1296       'schema': {
1297         'type': 'object',
1298         'properties': {
1299           'ProxyMode': { 'type': 'string' },
1300           'ProxyPacUrl': { 'type': 'string' },
1301           'ProxyServer': { 'type': 'string' },
1302           'ProxyBypassList': { 'type': 'string' },
1303           'ProxyServerMode': { 'type': 'string' },
1304         },
1305       },
1306       'supported_on': [
1307         'chrome.*:18-',
1308         'chrome_os:18-',
1309         'android:30-',
1310         'ios:34-',
1311       ],
1312       'future': True,
1313       'features': {
1314         'dynamic_refresh': True,
1315         'per_profile': True,
1316       },
1317       'example_value': { "ProxyMode": "direct" },
1318       'id': 116,
1319       'caption': '''Proxy settings''',
1320       'desc': '''Configures the proxy settings for <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1321
1322       This policy isn't ready for usage yet, please don't use it.''',
1323     },
1324     {
1325       'name': 'HTTPAuthentication',
1326       'type': 'group',
1327       'caption': '''Policies for HTTP Authentication''',
1328       'desc': '''Policies related to integrated HTTP authentication.''',
1329       'policies': [
1330         {
1331           'name': 'AuthSchemes',
1332           'type': 'string',
1333           'schema': { 'type': 'string' },
1334           'supported_on': ['chrome.*:9-'],
1335           'features': {
1336             'dynamic_refresh': False,
1337             'per_profile': False,
1338           },
1339           'example_value': 'basic,digest,ntlm,negotiate',
1340           'id': 26,
1341           'caption': '''Supported authentication schemes''',
1342           'desc': '''Specifies which HTTP Authentication schemes are supported by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1343
1344           Possible values are 'basic', 'digest', 'ntlm' and 'negotiate'. Separate multiple values with commas.
1345
1346           If this policy is left not set, all four schemes will be used.''',
1347         },
1348         {
1349           'name': 'DisableAuthNegotiateCnameLookup',
1350           'type': 'main',
1351           'schema': { 'type': 'boolean' },
1352           'supported_on': ['chrome.*:9-'],
1353           'features': {
1354             'dynamic_refresh': False,
1355             'per_profile': False,
1356           },
1357           'example_value': False,
1358           'id': 27,
1359           'caption': '''Disable CNAME lookup when negotiating Kerberos authentication''',
1360           'desc': '''Specifies whether the generated Kerberos SPN is based on the canonical DNS name or the original name entered.
1361
1362           If you enable this setting, CNAME lookup will be skipped and the server name will be used as entered.
1363
1364           If you disable this setting or leave it not set, the canonical name of the server will be determined via CNAME lookup.''',
1365         },
1366         {
1367           'name': 'EnableAuthNegotiatePort',
1368           'type': 'main',
1369           'schema': { 'type': 'boolean' },
1370           'supported_on': ['chrome.*:9-'],
1371           'features': {
1372             'dynamic_refresh': False,
1373             'per_profile': False,
1374           },
1375           'example_value': False,
1376           'id': 28,
1377           'caption': '''Include non-standard port in Kerberos SPN''',
1378           'desc': '''Specifies whether the generated Kerberos SPN should include a non-standard port.
1379
1380           If you enable this setting, and a non-standard port (i.e., a port other than 80 or 443) is entered, it will be included in the generated Kerberos SPN.
1381
1382           If you disable this setting or leave it not set, the generated Kerberos SPN will not include a port in any case.''',
1383         },
1384         {
1385           'name': 'AuthServerWhitelist',
1386           'type': 'string',
1387           'schema': { 'type': 'string' },
1388           'supported_on': ['chrome.*:9-'],
1389           'features': {
1390             'dynamic_refresh': False,
1391             'per_profile': False,
1392           },
1393           'example_value': '*example.com,foobar.com,*baz',
1394           'id': 29,
1395           'caption': '''Authentication server whitelist''',
1396           'desc': '''Specifies which servers should be whitelisted for integrated authentication. Integrated authentication is only enabled when <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> receives an authentication challenge from a proxy or from a server which is in this permitted list.
1397
1398           Separate multiple server names with commas. Wildcards (*) are allowed.
1399
1400           If you leave this policy not set Chrome will try to detect if a server is on the Intranet and only then will it respond to IWA requests.  If a server is detected as Internet then IWA requests from it will be ignored by Chrome.''',
1401         },
1402         {
1403           'name': 'AuthNegotiateDelegateWhitelist',
1404           'type': 'string',
1405           'schema': { 'type': 'string' },
1406           'supported_on': ['chrome.*:9-'],
1407           'features': {
1408             'dynamic_refresh': False,
1409             'per_profile': False,
1410           },
1411           'example_value': 'foobar.example.com',
1412           'id': 30,
1413           'caption': '''Kerberos delegation server whitelist''',
1414           'desc': '''Servers that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> may delegate to.
1415
1416           Separate multiple server names with commas. Wildcards (*) are allowed.
1417
1418           If you leave this policy not set Chrome will not delegate user credentials even if a server is detected as Intranet.''',
1419         },
1420         {
1421           'name': 'GSSAPILibraryName',
1422           'type': 'string',
1423           'schema': { 'type': 'string' },
1424           'supported_on': ['chrome.linux:9-'],
1425           'features': {
1426             'dynamic_refresh': False,
1427             'per_profile': False,
1428           },
1429           'example_value': 'libgssapi_krb5.so.2',
1430           'id': 31,
1431           'caption': '''GSSAPI library name''',
1432           'desc': '''Specifies which GSSAPI library to use for HTTP Authentication. You can set either just a library name, or a full path.
1433
1434           If no setting is provided, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will fall back to using a default library name.''',
1435         },
1436         {
1437           'name': 'AllowCrossOriginAuthPrompt',
1438           'type': 'main',
1439           'schema': { 'type': 'boolean' },
1440           'supported_on': ['chrome.*:13-'],
1441           'features': {
1442             'dynamic_refresh': True,
1443             'per_profile': False,
1444           },
1445           'example_value': False,
1446           'id': 89,
1447           'caption': '''Cross-origin HTTP Basic Auth prompts''',
1448           'desc': '''Controls whether third-party sub-content on a page is allowed to pop-up an HTTP Basic Auth dialog box.
1449
1450           Typically this is disabled as a phishing defense. If this policy is not set, this is disabled and third-party sub-content will not be allowed to pop up a HTTP Basic Auth dialog box.''',
1451         },
1452       ],
1453     },
1454     {
1455       'name': 'Extensions',
1456       'type': 'group',
1457       'caption': '''Extensions''',
1458       'desc': '''Configures extension-related policies. The user is not allowed to install blacklisted extensions unless they are whitelisted. You can also force <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to automatically install extensions by specifying them in <ph name="EXTENSIONINSTALLFORCELIST_POLICY_NAME">ExtensionInstallForcelist</ph>. The blacklist takes precedence over the list of forced extensions.''',
1459       'policies': [
1460         {
1461           'name': 'ExtensionInstallBlacklist',
1462           'type': 'list',
1463           'schema': {
1464             'type': 'array',
1465             'items': { 'type': 'string' },
1466           },
1467           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
1468           'features': {
1469             'dynamic_refresh': True,
1470             'per_profile': True,
1471           },
1472           'example_value': ['extension_id1', 'extension_id2'],
1473           'id': 32,
1474           'caption': '''Configure extension installation blacklist''',
1475           'desc': '''Allows you to specify which extensions the users can NOT install. Extensions already installed will be removed if blacklisted.
1476
1477           A blacklist value of '*' means all extensions are blacklisted unless they are explicitly listed in the whitelist.
1478
1479           If this policy is left not set the user can install any extension in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
1480           'label': '''Extension IDs the user should be prevented from installing (or * for all)''',
1481         },
1482         {
1483           'name': 'ExtensionInstallWhitelist',
1484           'type': 'list',
1485           'schema': {
1486             'type': 'array',
1487             'items': { 'type': 'string' },
1488           },
1489           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
1490           'features': {
1491             'dynamic_refresh': True,
1492             'per_profile': True,
1493           },
1494           'example_value': ['extension_id1', 'extension_id2'],
1495           'id': 33,
1496           'caption': '''Configure extension installation whitelist''',
1497           'desc': '''Allows you to specify which extensions are not subject to the blacklist.
1498
1499           A blacklist value of * means all extensions are blacklisted and users can only install extensions listed in the whitelist.
1500
1501           By default, all extensions are whitelisted, but if all extensions have been blacklisted by policy, the whitelist can be used to override that policy.''',
1502           'label': '''Extension IDs to exempt from the blacklist''',
1503         },
1504         {
1505           'name': 'ExtensionInstallForcelist',
1506           'type': 'list',
1507           'schema': {
1508             'type': 'array',
1509             'items': { 'type': 'string' },
1510           },
1511           'supported_on': ['chrome.*:9-', 'chrome_os:11-'],
1512           'features': {
1513             'dynamic_refresh': True,
1514             'per_profile': True,
1515           },
1516           'example_value': ['lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx'],
1517           'id': 34,
1518           'caption': '''Configure the list of force-installed extensions''',
1519           'desc': '''Allows you to specify a list of extensions that will be installed silently, without user interaction.
1520
1521           Each item of the list is a string that contains an extension ID and an update URL delimited by a semicolon (<ph name="SEMICOLON">;</ph>). The extension ID is the 32-letter string found e.g. on <ph name="CHROME_EXTENSIONS_LINK">chrome://extensions</ph> when in developer mode. The update URL should point to an Update Manifest XML document as described at <ph name="LINK_TO_EXTENSION_DOC1">http://code.google.com/chrome/extensions/autoupdate.html</ph>. Note that the update URL set in this policy is only used for the initial installation; subsequent updates of the extension will use the update URL indicated in the extension's manifest.
1522
1523           For each item, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will retrieve the extension specified by the extension ID from the update service at the specified update URL and silently install it.
1524
1525           For example, <ph name="EXTENSION_POLICY_EXAMPLE">lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx</ph> installs the <ph name="EXTENSION_POLICY_EXAMPLE_EXTENSION_NAME">Google SSL Web Search</ph> extension from the standard Chrome Web Store update URL. For more information about hosting extensions, see: <ph name="LINK_TO_EXTENSION_DOC2">http://code.google.com/chrome/extensions/hosting.html</ph>.
1526
1527           Users will be unable to uninstall extensions that are specified by this policy. If you remove an extension from this list, then it will be automatically uninstalled by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. Extensions specified in this list are also automatically whitelisted for installation; the ExtensionsInstallBlacklist does not affect them.
1528
1529           If this policy is left not set the user can uninstall any extension  in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
1530           'label': '''Extension IDs and update URLs to be silently installed''',
1531         },
1532         {
1533           'name': 'ExtensionInstallSources',
1534           'type': 'list',
1535           'schema': {
1536             'type': 'array',
1537             'items': { 'type': 'string' },
1538           },
1539           'supported_on': ['chrome.*:21-', 'chrome_os:21-'],
1540           'features': {
1541             'dynamic_refresh': True,
1542             'per_profile': True,
1543           },
1544           'example_value': ['https://corp.mycompany.com/*'],
1545           'id': 148,
1546           'caption': '''Configure extension, app, and user script install sources''',
1547           'desc': '''Allows you to specify which URLs are allowed to install extensions, apps, and themes.
1548
1549           Starting in Chrome 21, it is more difficult to install extensions, apps, and user scripts from outside the Chrome Web Store. Previously, users could click on a link to a *.crx file, and Chrome would offer to install the file after a few warnings. After Chrome 21, such files must be downloaded and dragged onto the Chrome settings page. This setting allows specific URLs to have the old, easier installation flow.
1550
1551           Each item in this list is an extension-style match pattern (see http://code.google.com/chrome/extensions/match_patterns.html). Users will be able to easily install items from any URL that matches an item in this list. Both the location of the *.crx file and the page where the download is started from (i.e. the referrer) must be allowed by these patterns.
1552
1553           ExtensionInstallBlacklist takes precedence over this policy. That is, an extension on the blacklist won't be installed, even if it happens from a site on this list.''',
1554           'label': '''URL patterns to allow extension, app, and user script installs from''',
1555         },
1556         {
1557           'name': 'ExtensionAllowedTypes',
1558           'type': 'list',
1559           'schema': {
1560             'type': 'array',
1561             'items': {
1562               'type': 'string',
1563               'enum': [
1564                 'extension',
1565                 'theme',
1566                 'user_script',
1567                 'hosted_app',
1568                 'legacy_packaged_app',
1569                 'platform_app'
1570               ],
1571             },
1572           },
1573           'supported_on': ['chrome.*:25-', 'chrome_os:25-'],
1574           'features': {
1575             'dynamic_refresh': True,
1576             'per_profile': True,
1577           },
1578           'example_value': ['hosted_app'],
1579           'id': 168,
1580           'caption': '''Configure allowed app/extension types''',
1581           'desc': '''Controls which app/extension types are allowed to be installed.
1582
1583           This setting white-lists the allowed types of extension/apps that can be installed in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. The value is a list of strings, each of which should be one of the following: "extension", "theme", "user_script", "hosted_app", "legacy_packaged_app", "platform_app". See the Chrome extensions documentation for more information on these types.
1584
1585           Note that this policy also affects extensions and apps to be force-installed via ExtensionInstallForcelist.
1586
1587           If this setting is configured, extensions/apps which have a type that is not on the list will not be installed.
1588
1589           If this settings is left not-configured, no restrictions on the acceptable extension/app types are enforced.''',
1590           'label': '''Types of extensions/apps that are allowed to be installed''',
1591         },
1592       ],
1593     },
1594     {
1595       'name': 'ShowHomeButton',
1596       'type': 'main',
1597       'schema': { 'type': 'boolean' },
1598       'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
1599       'features': {
1600         'can_be_recommended': True,
1601         'dynamic_refresh': True,
1602         'per_profile': True,
1603       },
1604       'example_value': True,
1605       'id': 35,
1606       'caption': '''Show Home button on toolbar''',
1607       'desc': '''Shows the Home button on <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s toolbar.
1608
1609       If you enable this setting, the Home button is always shown.
1610
1611       If you disable this setting, the Home button is never shown.
1612
1613       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>.
1614
1615       Leaving this policy not set will allow the user to choose whether to show the home button.''',
1616     },
1617     {
1618       'name': 'DeveloperToolsDisabled',
1619       'type': 'main',
1620       'schema': { 'type': 'boolean' },
1621       'supported_on': ['chrome.*:9-', 'chrome_os:11-'],
1622       'features': {
1623         'dynamic_refresh': True,
1624         'per_profile': True,
1625       },
1626       'example_value': False,
1627       'id': 36,
1628       'caption': '''Disable Developer Tools''',
1629       'desc': '''Disables the Developer Tools and the JavaScript console.
1630
1631       If you enable this setting, the Developer Tools can not be accessed and web-site elements can not be inspected anymore. Any keyboard shortcuts and any menu or context menu entries to open the Developer Tools or the JavaScript Console will be disabled.
1632
1633       Setting this option to disabled or leaving it not set will allow the use to use the Developer Tools and the JavaScript console.''',
1634     },
1635     {
1636       'name': 'RestoreOnStartupGroup',
1637       'type': 'group',
1638       'caption': '''Startup pages''',
1639       'desc': '''Allows you to configure the pages that are loaded on startup.
1640
1641       The contents of the list 'URLs to open at startup' are ignored unless you select 'Open a list of URLs' in 'Action on startup'.''',
1642       'policies': [
1643         {
1644           'name': 'RestoreOnStartup',
1645           'type': 'int-enum',
1646           'schema': {
1647             'type': 'integer',
1648             'enum': [ 1, 4, 5 ],
1649           },
1650           'items': [
1651             {
1652               'name': 'RestoreOnStartupIsNewTabPage',
1653               'value': 5,
1654               'caption': '''Open New Tab Page''',
1655             },
1656             {
1657               'name': 'RestoreOnStartupIsLastSession',
1658               'value': 1,
1659               'caption': '''Restore the last session''',
1660             },
1661             {
1662               'name': 'RestoreOnStartupIsURLs',
1663               'value': 4,
1664               'caption': '''Open a list of URLs''',
1665             },
1666           ],
1667           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
1668           'features': {
1669             'can_be_recommended': True,
1670             'dynamic_refresh': True,
1671             'per_profile': True,
1672           },
1673           'example_value': 4,
1674           'id': 37,
1675           'caption': '''Action on startup''',
1676           'desc': '''Allows you to specify the behavior on startup.
1677
1678           If you choose 'Open New Tab Page' the New Tab Page will always be opened when you start <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1679
1680           If you choose 'Restore the last session', the URLs that were open last time <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> was closed will be reopened and the browsing session will be restored as it was left.
1681           Choosing this option disables some settings that rely on sessions or that perform actions on exit (such as Clear browsing data on exit or session-only cookies).
1682
1683           If you choose 'Open a list of URLs', the list of 'URLs to open on startup' will be opened when a user starts <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1684
1685           If you enable this setting, users cannot change or override it in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1686
1687           Disabling this setting is equivalent to leaving it not configured. The user will still be able to change it in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
1688         },
1689         {
1690           'name': 'RestoreOnStartupURLs',
1691           'type': 'list',
1692           'schema': {
1693             'type': 'array',
1694             'items': { 'type': 'string' },
1695           },
1696           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
1697           'features': {
1698             'can_be_recommended': True,
1699             'dynamic_refresh': True,
1700             'per_profile': True,
1701           },
1702           'example_value': ['http://example.com', 'http://chromium.org'],
1703           'id': 38,
1704           'caption': '''URLs to open on startup''',
1705           'desc': '''If 'Open a list of URLs' is selected as the startup action, this allows you to specify the list of URLs that are opened. If left not set no URL will be opened on start up.
1706
1707           This policy only works if the 'RestoreOnStartup' policy is set to 'RestoreOnStartupIsURLs'.''',
1708         },
1709       ],
1710     },
1711     {
1712       'name': 'BlockThirdPartyCookies',
1713       'type': 'main',
1714       'schema': { 'type': 'boolean' },
1715       'supported_on': ['chrome.*:10-', 'chrome_os:11-'],
1716       'features': {
1717         'can_be_recommended': True,
1718         'dynamic_refresh': True,
1719         'per_profile': True,
1720       },
1721       'example_value': False,
1722       'id': 39,
1723       'caption': '''Block third party cookies''',
1724       'desc': '''Blocks third party cookies.
1725
1726       Enabling this setting prevents cookies from being set by web page elements that are not from the domain that is in the browser's address bar.
1727
1728       Disabling this setting allows cookies to be set by web page elements that are not from the domain that is in the browser's address bar and prevents users from changing this setting.
1729
1730       If this policy is left not set, third party cookies will be enabled but the user will be able to change that.''',
1731     },
1732     {
1733       # TODO(joaodasilva): Flag these policies with 'can_be_recommended'
1734       # after fixing http://crbug.com/106683
1735       'name': 'DefaultSearchProvider',
1736       'type': 'group',
1737       'caption': '''Default search provider''',
1738       'desc': '''Configures the default search provider. You can specify the default search provider that the user will use or choose to disable default search.''',
1739       'policies': [
1740         {
1741           'name': 'DefaultSearchProviderEnabled',
1742           'type': 'main',
1743           'schema': { 'type': 'boolean' },
1744           'supported_on': [
1745             'chrome.*:8-',
1746             'chrome_os:11-',
1747             'android:30-',
1748             'ios:34-',
1749           ],
1750           'features': {
1751             'dynamic_refresh': True,
1752             'per_profile': True,
1753           },
1754           'example_value': True,
1755           'id': 40,
1756           'caption': '''Enable the default search provider''',
1757           'desc': '''Enables the use of a default search provider.
1758
1759           If you enable this setting, a default search is performed when the user types text in the omnibox that is not a URL.
1760
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 choose the default provider.
1762
1763           If you disable this setting, no search is performed when the user enters non-URL text in the omnibox.
1764
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>.
1766
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.''',
1768         },
1769         {
1770           'name': 'DefaultSearchProviderName',
1771           'type': 'string',
1772           'schema': { 'type': 'string' },
1773           'supported_on': [
1774             'chrome.*:8-',
1775             'chrome_os:11-',
1776             'android:30-',
1777             'ios:34-',
1778           ],
1779           'features': {
1780             'dynamic_refresh': True,
1781             'per_profile': True,
1782           },
1783           'example_value': 'My Intranet Search',
1784           'id': 41,
1785           '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.
1787
1788           This policy is only considered if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1789         },
1790         {
1791           'name': 'DefaultSearchProviderKeyword',
1792           'type': 'string',
1793           'schema': { 'type': 'string' },
1794           'supported_on': [
1795             'chrome.*:8-',
1796             'chrome_os:11-',
1797             'android:30-',
1798             'ios:34-',
1799           ],
1800           'features': {
1801             'dynamic_refresh': True,
1802             'per_profile': True,
1803           },
1804           'example_value': 'mis',
1805           'id': 42,
1806           'caption': '''Default search provider keyword''',
1807           'desc': '''Specifies the keyword, which is the shortcut used in the omnibox to trigger the search for this provider.
1808
1809           This policy is optional. If not set, no keyword will activate the search provider.
1810
1811           This policy is only considered if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1812         },
1813         {
1814           'name': 'DefaultSearchProviderSearchURL',
1815           'type': 'string',
1816           'schema': { 'type': 'string' },
1817           'supported_on': [
1818             'chrome.*:8-',
1819             'chrome_os:11-',
1820             'android:30-',
1821             'ios:34-',
1822           ],
1823           'features': {
1824             'dynamic_refresh': True,
1825             'per_profile': True,
1826           },
1827           'example_value': 'http://search.my.company/search?q={searchTerms}',
1828           'id': 43,
1829           'caption': '''Default search provider search URL''',
1830           'desc': '''Specifies the URL of the search engine used when doing a default 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 is searching for.
1831
1832           This option must be set when the 'DefaultSearchProviderEnabled' policy is enabled and will only be respected if this is the case.''',
1833         },
1834         {
1835           'name': 'DefaultSearchProviderSuggestURL',
1836           'type': 'string',
1837           'schema': { 'type': 'string' },
1838           'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
1839           'features': {
1840             'dynamic_refresh': True,
1841             'per_profile': True,
1842           },
1843           'example_value': 'http://search.my.company/suggest?q={searchTerms}',
1844           'id': 44,
1845           'caption': '''Default search provider suggest URL''',
1846           'desc': '''Specifies the URL of the search engine used to provide search suggestions. The URL should contain the string '<ph name="SEARCH_TERM_MARKER">{searchTerms}</ph>', which will be replaced at query time by the text the user has entered so far.
1847
1848           This policy is optional. If not set, no suggest URL will be used.
1849
1850           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1851         },
1852         {
1853           'name': 'DefaultSearchProviderInstantURL',
1854           'type': 'string',
1855           'schema': { 'type': 'string' },
1856           'supported_on': ['chrome.*:10-', 'chrome_os:11-', 'android:30-'],
1857           'features': {
1858             'dynamic_refresh': True,
1859             'per_profile': True,
1860           },
1861           'example_value': 'http://search.my.company/suggest?q={searchTerms}',
1862           'id': 45,
1863           'caption': '''Default search provider instant URL''',
1864           'desc': '''Specifies the URL of the search engine used to provide instant results. The URL should contain the string <ph name="SEARCH_TERM_MARKER">'{searchTerms}'</ph>, which will be replaced at query time by the text the user has entered so far.
1865
1866           This policy is optional. If not set, no instant search results will be provided.
1867
1868           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1869         },
1870         {
1871           'name': 'DefaultSearchProviderIconURL',
1872           'type': 'string',
1873           'schema': { 'type': 'string' },
1874           'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
1875           'features': {
1876             'dynamic_refresh': True,
1877             'per_profile': True,
1878           },
1879           'example_value': 'http://search.my.company/favicon.ico',
1880           'id': 46,
1881           'caption': '''Default search provider icon''',
1882           'desc': '''Specifies the favorite icon URL of the default search provider.
1883
1884           This policy is optional. If not set, no icon will be present for the search provider.
1885
1886           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1887         },
1888         {
1889           'name': 'DefaultSearchProviderEncodings',
1890           'type': 'list',
1891           'schema': {
1892             'type': 'array',
1893             'items': { 'type': 'string' },
1894           },
1895           'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
1896           'features': {
1897             'dynamic_refresh': True,
1898             'per_profile': True,
1899           },
1900           'example_value': ['UTF-8', 'UTF-16', 'GB2312', 'ISO-8859-1'],
1901           'id': 47,
1902           'caption': '''Default search provider encodings''',
1903           'desc': '''Specifies the character encodings supported by the search provider. Encodings are code page names like UTF-8, GB2312, and ISO-8859-1. They are tried in the order provided.
1904
1905           This policy is optional. If not set, the default will be used which is UTF-8.
1906
1907           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1908         },
1909         {
1910           'name': 'DefaultSearchProviderAlternateURLs',
1911           'type': 'list',
1912           'schema': {
1913             'type': 'array',
1914             'items': { 'type': 'string' },
1915           },
1916           'supported_on': ['chrome.*:24-', 'chrome_os:24-', 'android:30-'],
1917           'features': {
1918             'dynamic_refresh': True,
1919             'per_profile': True,
1920           },
1921           'example_value': ['http://search.my.company/suggest#q={searchTerms}', 'http://search.my.company/suggest/search#q={searchTerms}'],
1922           'id': 161,
1923           'caption': '''List of alternate URLs for the default search provider''',
1924           'desc': '''Specifies a list of alternate URLs that can be used to extract search terms from the search engine. The URLs should contain the string <ph name="SEARCH_TERM_MARKER">'{searchTerms}'</ph>, which will be used to extract the search terms.
1925
1926           This policy is optional. If not set, no alternate urls will be used to extract search terms.
1927
1928           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1929         },
1930         {
1931           'name': 'DefaultSearchProviderSearchTermsReplacementKey',
1932           'type': 'string',
1933           'schema': { 'type': 'string' },
1934           'supported_on': ['chrome.*:25-', 'chrome_os:25-', 'android:30-'],
1935           'features': {
1936             'dynamic_refresh': True,
1937             'per_profile': True,
1938           },
1939           'example_value': 'espv',
1940           'id': 171,
1941           'caption': '''Parameter controlling search term placement for the default search provider''',
1942           'desc': '''If this policy is set and a search URL suggested from the omnibox contains this parameter in the query string or in the fragment identifier, then the suggestion will show the search terms and search provider instead of the raw search URL.
1943
1944           This policy is optional. If not set, no search term replacement will be performed.
1945
1946           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1947         },
1948         {
1949           'name': 'DefaultSearchProviderImageURL',
1950           'type': 'string',
1951           'schema': { 'type': 'string' },
1952           'supported_on': ['chrome.*:29-', 'chrome_os:29-', 'android:30-'],
1953           'features': {
1954             'dynamic_refresh': True,
1955             'per_profile': True,
1956           },
1957           'example_value': 'http://search.my.company/searchbyimage/upload',
1958           'id': 229,
1959           'caption': '''Parameter providing search-by-image feature for the default search provider''',
1960           'desc': '''Specifies the URL of the search engine used to provide image search. Search requests will be sent using the GET method. If the DefaultSearchProviderImageURLPostParams policy is set then image search requests will use the POST method instead.
1961
1962           This policy is optional. If not set, no image search will be used.
1963
1964           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1965         },
1966         {
1967           'name': 'DefaultSearchProviderNewTabURL',
1968           'type': 'string',
1969           'schema': { 'type': 'string' },
1970           'supported_on': ['chrome.*:30-', 'chrome_os:30-', 'android:30-'],
1971           'features': {
1972             'dynamic_refresh': True,
1973             'per_profile': True,
1974           },
1975           'example_value': 'http://search.my.company/newtab',
1976           'id': 237,
1977           'caption': '''Default search provider new tab page URL''',
1978           'desc': '''Specifies the URL that a search engine uses to provide a new tab page.
1979
1980           This policy is optional. If not set, no new tab page will be provided.
1981
1982           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1983         },
1984         {
1985           'name': 'DefaultSearchProviderSearchURLPostParams',
1986           'type': 'string',
1987           'schema': { 'type': 'string' },
1988           'supported_on': ['chrome.*:29-', 'chrome_os:29-', 'android:30-'],
1989           'features': {
1990             'dynamic_refresh': True,
1991             'per_profile': True,
1992           },
1993           'example_value': 'q={searchTerms},ie=utf-8,oe=utf-8',
1994           'id': 230,
1995           'caption': '''Parameters for search URL which uses POST''',
1996           'desc': '''Specifies the parameters used when searching a URL with POST. It consists of comma-separated name/value pairs. If a value is a template parameter, like {searchTerms} in above example, it will be replaced with real search terms data.
1997
1998           This policy is optional. If not set, search request will be sent using the GET method.
1999
2000           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
2001         },
2002         {
2003           'name': 'DefaultSearchProviderSuggestURLPostParams',
2004           'type': 'string',
2005           'schema': { 'type': 'string' },
2006           'supported_on': ['chrome.*:29-', 'chrome_os:29-', 'android:30-'],
2007           'features': {
2008             'dynamic_refresh': True,
2009             'per_profile': True,
2010           },
2011           'example_value': 'q={searchTerms},ie=utf-8,oe=utf-8',
2012           'id': 231,
2013           'caption': '''Parameters for suggest URL which uses POST''',
2014           'desc': '''Specifies the parameters used when doing suggestion search with POST. It consists of comma-separated name/value pairs. If a value is a template parameter, like {searchTerms} in above example, it will be replaced with real search terms data.
2015
2016           This policy is optional. If not set, suggest search request will be sent using the GET method.
2017
2018           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
2019         },
2020         {
2021           'name': 'DefaultSearchProviderInstantURLPostParams',
2022           'type': 'string',
2023           'schema': { 'type': 'string' },
2024           'supported_on': ['chrome.*:29-', 'chrome_os:29-', 'android:30-'],
2025           'features': {
2026             'dynamic_refresh': True,
2027             'per_profile': True,
2028           },
2029           'example_value': 'q={searchTerms},ie=utf-8,oe=utf-8',
2030           'id': 232,
2031           'caption': '''Parameters for instant URL which uses POST''',
2032           'desc': '''Specifies the parameters used when doing instant search with POST. It consists of comma-separated name/value pairs. If a value is a template parameter, like {searchTerms} in above example, it will be replaced with real search terms data.
2033
2034           This policy is optional. If not set, instant search request will be sent using the GET method.
2035
2036           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
2037         },
2038         {
2039           'name': 'DefaultSearchProviderImageURLPostParams',
2040           'type': 'string',
2041           'schema': { 'type': 'string' },
2042           'supported_on': ['chrome.*:29-', 'chrome_os:29-', 'android:30-'],
2043           'features': {
2044             'dynamic_refresh': True,
2045             'per_profile': True,
2046           },
2047           'example_value': 'content={imageThumbnail},url={imageURL},sbisrc={SearchSource}',
2048           'id': 233,
2049           'caption': '''Parameters for image URL which uses POST''',
2050           'desc': '''Specifies the parameters used when doing image search with POST. It consists of comma-separated name/value pairs. If a value is a template parameter, like {imageThumbnail} in above example, it will be replaced with real image thumbnail data.
2051
2052           This policy is optional. If not set, image search request will be sent using the GET method.
2053
2054           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
2055         },
2056       ],
2057     },
2058     {
2059       # TODO(joaodasilva): Flag these policies with 'can_be_recommended'
2060       # after fixing http://crbug.com/106682
2061       'name': 'ContentSettings',
2062       'type': 'group',
2063       'caption': '''Content Settings''',
2064       'desc': '''Content Settings allow you to specify how contents of a specific type (for example Cookies, Images or JavaScript) is handled.''',
2065       'policies': [
2066         {
2067           'name': 'DefaultCookiesSetting',
2068           'type': 'int-enum',
2069           'schema': {
2070             'type': 'integer',
2071             'enum': [ 1, 2, 4 ],
2072           },
2073           'items': [
2074             {
2075               'name': 'AllowCookies',
2076               'value': 1,
2077               'caption': '''Allow all sites to set local data''',
2078             },
2079             {
2080               'name': 'BlockCookies',
2081               'value': 2,
2082               'caption': '''Do not allow any site to set local data''',
2083             },
2084             {
2085               'name': 'SessionOnly',
2086               'value': 4,
2087               'caption': '''Keep cookies for the duration of the session''',
2088             },
2089           ],
2090           'supported_on': [
2091             'chrome.*:10-',
2092             'chrome_os:11-',
2093             'android:30-',
2094             'ios:34-',
2095           ],
2096           'features': {
2097             'dynamic_refresh': True,
2098             'per_profile': True,
2099           },
2100           'example_value': 1,
2101           'id': 48,
2102           'caption': '''Default cookies setting''',
2103           '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 all websites.
2104
2105           If this policy is left not set, 'AllowCookies' will be used and the user will be able to change it.''',
2106         },
2107         {
2108           'name': 'DefaultImagesSetting',
2109           'type': 'int-enum',
2110           'schema': {
2111             'type': 'integer',
2112             'enum': [ 1, 2 ],
2113           },
2114           'items': [
2115             {
2116               'name': 'AllowImages',
2117               'value': 1,
2118               'caption': '''Allow all sites to show all images''',
2119             },
2120             {
2121               'name': 'BlockImages',
2122               'value': 2,
2123               'caption': '''Do not allow any site to show images''',
2124             },
2125           ],
2126           'supported_on': ['chrome.*:10-', 'chrome_os:11-', 'android:30-'],
2127           'features': {
2128             'dynamic_refresh': True,
2129             'per_profile': True,
2130           },
2131           'example_value': 1,
2132           'id': 49,
2133           'caption': '''Default images setting''',
2134           'desc': '''Allows you to set whether websites are allowed to display images. Displaying images can be either allowed for all websites or denied for all websites.
2135
2136           If this policy is left not set, 'AllowImages' will be used and the user will be able to change it.''',
2137         },
2138         {
2139           'name': 'DefaultJavaScriptSetting',
2140           'type': 'int-enum',
2141           'schema': {
2142             'type': 'integer',
2143             'enum': [ 1, 2 ],
2144           },
2145           'items': [
2146             {
2147               'name': 'AllowJavaScript',
2148               'value': 1,
2149               'caption': '''Allow all sites to run JavaScript''',
2150             },
2151             {
2152               'name': 'BlockJavaScript',
2153               'value': 2,
2154               'caption': '''Do not allow any site to run JavaScript''',
2155             },
2156           ],
2157           'supported_on': ['chrome.*:10-', 'chrome_os:11-', 'android:30-'],
2158           'features': {
2159             'dynamic_refresh': True,
2160             'per_profile': True,
2161           },
2162           'example_value': 1,
2163           'id': 50,
2164           'caption': '''Default JavaScript setting''',
2165           'desc': '''Allows you to set whether websites are allowed to run JavaScript. Running JavaScript can be either allowed for all websites or denied for all websites.
2166
2167           If this policy is left not set, 'AllowJavaScript' will be used and the user will be able to change it.''',
2168         },
2169         {
2170           'name': 'DefaultPluginsSetting',
2171           'type': 'int-enum',
2172           'schema': {
2173             'type': 'integer',
2174             'enum': [ 1, 2, 3 ],
2175           },
2176           'items': [
2177             {
2178               'name': 'AllowPlugins',
2179               'value': 1,
2180               'caption': '''Allow all sites to automatically run plugins''',
2181             },
2182             {
2183               'name': 'BlockPlugins',
2184               'value': 2,
2185               'caption': '''Block all plugins''',
2186             },
2187             {
2188               'name': 'ClickToPlay',
2189               'value': 3,
2190               'caption': '''Click to play''',
2191             },
2192           ],
2193           'supported_on': ['chrome.*:10-', 'chrome_os:11-'],
2194           'features': {
2195             'dynamic_refresh': True,
2196             'per_profile': True,
2197           },
2198           'example_value': 1,
2199           'id': 51,
2200           'caption': '''Default plugins setting''',
2201           'desc': '''Allows you to set whether websites are allowed to automatically run plugins. Automatically running plugins can be either allowed for all websites or denied for all websites.
2202
2203           Click to play allows plugins to run but the user must click them to start their execution.
2204
2205           If this policy is left not set, 'AllowPlugins' will be used and the user will be able to change it.''',
2206         },
2207         {
2208           'name': 'DefaultPopupsSetting',
2209           'type': 'int-enum',
2210           'schema': {
2211             'type': 'integer',
2212             'enum': [ 1, 2 ],
2213           },
2214           'items': [
2215             {
2216               'name': 'AllowPopups',
2217               'value': 1,
2218               'caption': '''Allow all sites to show pop-ups''',
2219             },
2220             {
2221               'name': 'BlockPopups',
2222               'value': 2,
2223               'caption': '''Do not allow any site to show popups''',
2224             },
2225           ],
2226           'supported_on': [
2227             'chrome.*:10-',
2228             'chrome_os:11-',
2229             'ios:34-',
2230             'android:33-',
2231           ],
2232           'features': {
2233             'dynamic_refresh': True,
2234             'per_profile': True,
2235           },
2236           'example_value': 1,
2237           'id': 52,
2238           'caption': '''Default popups setting''',
2239           '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 websites.
2240
2241           If this policy is left not set, 'BlockPopups' will be used and the user will be able to change it.''',
2242         },
2243         {
2244           'name': 'DefaultNotificationsSetting',
2245           'type': 'int-enum',
2246           'schema': {
2247             'type': 'integer',
2248             'enum': [ 1, 2, 3 ],
2249           },
2250           'items': [
2251             {
2252               'name': 'AllowNotifications',
2253               'value': 1,
2254               'caption': '''Allow sites to show desktop notifications''',
2255             },
2256             {
2257               'name': 'BlockNotifications',
2258               'value': 2,
2259               'caption': '''Do not allow any site to show desktop notifications''',
2260             },
2261             {
2262               'name': 'AskNotifications',
2263               'value': 3,
2264               'caption': '''Ask every time a site wants to show desktop notifications''',
2265             },
2266           ],
2267           'supported_on': ['chrome.*:10-', 'chrome_os:11-'],
2268           'features': {
2269             'dynamic_refresh': True,
2270             'per_profile': True,
2271           },
2272           'example_value': 2,
2273           'id': 53,
2274           'caption': '''Default notification setting''',
2275           'desc': '''Allows you to set whether websites are allowed to display desktop notifications. Displaying desktop notifications can be allowed by default, denied by default or the user can be asked every time a website wants to show desktop notifications.
2276
2277           If this policy is left not set, 'AskNotifications' will be used and the user will be able to change it.''',
2278         },
2279         {
2280           'name': 'DefaultGeolocationSetting',
2281           'type': 'int-enum',
2282           'schema': {
2283             'type': 'integer',
2284             'enum': [ 1, 2, 3 ],
2285           },
2286           'items': [
2287             {
2288               'name': 'AllowGeolocation',
2289               'value': 1,
2290               'caption': '''Allow sites to track the users' physical location''',
2291             },
2292             {
2293               'name': 'BlockGeolocation',
2294               'value': 2,
2295               'caption': '''Do not allow any site to track the users' physical location''',
2296             },
2297             {
2298               'name': 'AskGeolocation',
2299               'value': 3,
2300               'caption': '''Ask whenever a site wants to track the users' physical location''',
2301             },
2302           ],
2303           'supported_on': ['chrome.*:10-', 'chrome_os:11-', 'android:30-'],
2304           'features': {
2305             'dynamic_refresh': True,
2306             'per_profile': True,
2307           },
2308           'example_value': 0,
2309           'id': 54,
2310           'caption': '''Default geolocation setting''',
2311           'desc': '''Allows you to set whether websites are allowed to track the users' physical location. Tracking the users' physical location can be allowed by default, denied by default or the user can be asked every time a website requests the physical location.
2312
2313           If this policy is left not set, 'AskGeolocation' will be used and the user will be able to change it.''',
2314         },
2315         {
2316           'name': 'DefaultMediaStreamSetting',
2317           'type': 'int-enum',
2318           'schema': {
2319             'type': 'integer',
2320             'enum': [ 2, 3 ],
2321           },
2322           'items': [
2323             {
2324               'name': 'BlockAccess',
2325               'value': 2,
2326               'caption': '''Do not allow any site to access the camera and microphone''',
2327             },
2328             {
2329               'name': 'PromptOnAccess',
2330               'value': 3,
2331               'caption': '''Ask every time a site wants to access the camera and/or microphone''',
2332             },
2333           ],
2334           'supported_on': ['chrome.*:22-', 'chrome_os:22-'],
2335           'features': {
2336             'dynamic_refresh': True,
2337             'per_profile': True,
2338           },
2339           'deprecated': True,
2340           'example_value': 2,
2341           'id': 149,
2342           'caption': '''Default mediastream setting''',
2343           'desc': '''Allows you to set whether websites are allowed to get access to media capture devices. Access to media capture devices can be allowed by default, or the user can be asked every time a website wants to get access to media capture devices.
2344
2345           If this policy is left not set, 'PromptOnAccess' will be used and the user will be able to change it.''',
2346         },
2347         {
2348           'name': 'AutoSelectCertificateForUrls',
2349           'type': 'list',
2350           'schema': {
2351             'type': 'array',
2352             'items': { 'type': 'string' },
2353           },
2354           'supported_on': ['chrome.*:15-', 'chrome_os:15-'],
2355           'features': {
2356             'dynamic_refresh': True,
2357             'per_profile': True,
2358           },
2359           'example_value': ["{\\\"pattern\\\":\\\"https://www.example.com\\\",\\\"filter\\\":{\\\"ISSUER\\\":{\\\"CN\\\":\\\"certificate issuer name\\\"}}}"],
2360           'id': 102,
2361           'caption': '''Automatically select client certificates for these sites''',
2362           'desc': '''Allows you to specify a list of url patterns that specify sites for which <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> should automatically select a client certificates, if the site requests a certificate.
2363
2364           If this policy is left not set no auto-selection will be done for any site.''',
2365         },
2366         {
2367           'name': 'CookiesAllowedForUrls',
2368           'type': 'list',
2369           'schema': {
2370             'type': 'array',
2371             'items': { 'type': 'string' },
2372           },
2373           'supported_on': [
2374             'chrome.*:11-',
2375             'chrome_os:11-',
2376             'android:30-',
2377             'ios:34-',
2378           ],
2379           'features': {
2380             'dynamic_refresh': True,
2381             'per_profile': True,
2382           },
2383           'example_value': ['http://www.example.com', '[*.]example.edu'],
2384           'id': 77,
2385           'caption': '''Allow cookies on these sites''',
2386           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set cookies.
2387
2388           If this policy is left not set the global default value will be used for all sites either from the 'DefaultCookiesSetting' policy if it is set, or the user's personal configuration otherwise.''',
2389         },
2390         {
2391           'name': 'CookiesBlockedForUrls',
2392           'type': 'list',
2393           'schema': {
2394             'type': 'array',
2395             'items': { 'type': 'string' },
2396           },
2397           'supported_on': [
2398             'chrome.*:11-',
2399             'chrome_os:11-',
2400             'android:30-',
2401             'ios:34-',
2402           ],
2403           'features': {
2404             'dynamic_refresh': True,
2405             'per_profile': True,
2406           },
2407           'example_value': ['http://www.example.com', '[*.]example.edu'],
2408           'id': 67,
2409           'caption': '''Block cookies on these sites''',
2410           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to set cookies.
2411
2412           If this policy is left not set the global default value will be used for all sites either from the 'DefaultCookiesSetting' policy if it is set, or the user's personal configuration otherwise.''',
2413         },
2414         {
2415           'name': 'CookiesSessionOnlyForUrls',
2416           'type': 'list',
2417           'schema': {
2418             'type': 'array',
2419             'items': { 'type': 'string' },
2420           },
2421           'supported_on': [
2422             'chrome.*:11-',
2423             'chrome_os:11-',
2424             'android:30-',
2425             'ios:34-',
2426           ],
2427           'features': {
2428             'dynamic_refresh': True,
2429             'per_profile': True,
2430           },
2431           'example_value': ['http://www.example.com', '[*.]example.edu'],
2432           'id': 68,
2433           'caption': '''Allow session only cookies on these sites''',
2434           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set session only cookies.
2435
2436           If this policy is left not set the global default value will be used for all sites either from the 'DefaultCookiesSetting' policy if it is set, or the user's personal configuration otherwise.
2437
2438           If the "RestoreOnStartup" policy is set to restore URLs from previous sessions this policy will not be respected and cookies will be stored permanently for those sites.''',
2439         },
2440         {
2441           'name': 'ImagesAllowedForUrls',
2442           'type': 'list',
2443           'schema': {
2444             'type': 'array',
2445             'items': { 'type': 'string' },
2446           },
2447           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
2448           'features': {
2449             'dynamic_refresh': True,
2450             'per_profile': True,
2451           },
2452           'example_value': ['http://www.example.com', '[*.]example.edu'],
2453           'id': 69,
2454           'caption': '''Allow images on these sites''',
2455           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to display images.
2456
2457           If this policy is left not set the global default value will be used for all sites either from the 'DefaultImagesSetting' policy if it is set, or the user's personal configuration otherwise.''',
2458         },
2459         {
2460           'name': 'ImagesBlockedForUrls',
2461           'type': 'list',
2462           'schema': {
2463             'type': 'array',
2464             'items': { 'type': 'string' },
2465           },
2466           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
2467           'features': {
2468             'dynamic_refresh': True,
2469             'per_profile': True,
2470           },
2471           'example_value': ['http://www.example.com', '[*.]example.edu'],
2472           'id': 70,
2473           'caption': '''Block images on these sites''',
2474           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to display images.
2475
2476           If this policy is left not set the global default value will be used for all sites either from the 'DefaultImagesSetting' policy if it is set, or the user's personal configuration otherwise.''',
2477         },
2478         {
2479           'name': 'JavaScriptAllowedForUrls',
2480           'type': 'list',
2481           'schema': {
2482             'type': 'array',
2483             'items': { 'type': 'string' },
2484           },
2485           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
2486           'features': {
2487             'dynamic_refresh': True,
2488             'per_profile': True,
2489           },
2490           'example_value': ['http://www.example.com', '[*.]example.edu'],
2491           'id': 71,
2492           'caption': '''Allow JavaScript on these sites''',
2493           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to run JavaScript.
2494
2495           If this policy is left not set the global default value will be used for all sites either from the 'DefaultJavaScriptSetting' policy if it is set, or the user's personal configuration otherwise.''',
2496         },
2497         {
2498           'name': 'JavaScriptBlockedForUrls',
2499           'type': 'list',
2500           'schema': {
2501             'type': 'array',
2502             'items': { 'type': 'string' },
2503           },
2504           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
2505           'features': {
2506             'dynamic_refresh': True,
2507             'per_profile': True,
2508           },
2509           'example_value': ['http://www.example.com', '[*.]example.edu'],
2510           'id': 72,
2511           'caption': '''Block JavaScript on these sites''',
2512           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to run JavaScript.
2513
2514           If this policy is left not set the global default value will be used for all sites either from the 'DefaultJavaScriptSetting' policy if it is set, or the user's personal configuration otherwise.''',
2515         },
2516         {
2517           'name': 'PluginsAllowedForUrls',
2518           'type': 'list',
2519           'schema': {
2520             'type': 'array',
2521             'items': { 'type': 'string' },
2522           },
2523           'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
2524           'features': {
2525             'dynamic_refresh': True,
2526             'per_profile': True,
2527           },
2528           'example_value': ['http://www.example.com', '[*.]example.edu'],
2529           'id': 73,
2530           'caption': '''Allow plugins on these sites''',
2531           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to run plugins.
2532
2533           If this policy is left not set the global default value will be used for all sites either from the 'DefaultPluginsSetting' policy if it is set, or the user's personal configuration otherwise.''',
2534         },
2535         {
2536           'name': 'PluginsBlockedForUrls',
2537           'type': 'list',
2538           'schema': {
2539             'type': 'array',
2540             'items': { 'type': 'string' },
2541           },
2542           'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
2543           'features': {
2544             'dynamic_refresh': True,
2545             'per_profile': True,
2546           },
2547           'example_value': ['http://www.example.com', '[*.]example.edu'],
2548           'id': 74,
2549           'caption': '''Block plugins on these sites''',
2550           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to run plugins.
2551
2552           If this policy is left not set the global default value will be used for all sites either from the 'DefaultPluginsSetting' policy if it is set, or the user's personal configuration otherwise.''',
2553         },
2554         {
2555           'name': 'PopupsAllowedForUrls',
2556           'type': 'list',
2557           'schema': {
2558             'type': 'array',
2559             'items': { 'type': 'string' },
2560           },
2561           'supported_on': [
2562             'chrome.*:11-',
2563             'chrome_os:11-',
2564             'ios:34-',
2565           ],
2566           'features': {
2567             'dynamic_refresh': True,
2568             'per_profile': True,
2569           },
2570           'example_value': ['http://www.example.com', '[*.]example.edu'],
2571           'id': 75,
2572           'caption': '''Allow popups on these sites''',
2573           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to open popups.
2574
2575           If this policy is left not set the global default value will be used for all sites either from the 'DefaultPopupsSetting' policy if it is set, or the user's personal configuration otherwise.''',
2576         },
2577         {
2578           'name': 'PopupsBlockedForUrls',
2579           'type': 'list',
2580           'schema': {
2581             'type': 'array',
2582             'items': { 'type': 'string' },
2583           },
2584           'supported_on': [
2585             'chrome.*:11-',
2586             'chrome_os:11-',
2587             'ios:34-',
2588           ],
2589           'features': {
2590             'dynamic_refresh': True,
2591             'per_profile': True,
2592           },
2593           'example_value': ['http://www.example.com', '[*.]example.edu'],
2594           'id': 76,
2595           'caption': '''Block popups on these sites''',
2596           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to open popups.
2597
2598           If this policy is left not set the global default value will be used for all sites either from the 'DefaultPopupsSetting' policy if it is set, or the user's personal configuration otherwise.''',
2599         },
2600         {
2601           'name': 'NotificationsAllowedForUrls',
2602           'type': 'list',
2603           'schema': {
2604             'type': 'array',
2605             'items': { 'type': 'string' },
2606           },
2607           'supported_on': ['chrome.*:16-', 'chrome_os:16-'],
2608           'features': {
2609             'dynamic_refresh': True,
2610             'per_profile': True,
2611           },
2612           'example_value': ['http://www.example.com', '[*.]example.edu'],
2613           'id': 105,
2614           'caption': '''Allow notifications on these sites''',
2615           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to display notifications.
2616
2617           If this policy is left not set the global default value will be used for all sites either from the 'DefaultNotificationsSetting' policy if it is set, or the user's personal configuration otherwise.''',
2618         },
2619         {
2620           'name': 'NotificationsBlockedForUrls',
2621           'type': 'list',
2622           'schema': {
2623             'type': 'array',
2624             'items': { 'type': 'string' },
2625           },
2626           'supported_on': ['chrome.*:16-', 'chrome_os:16-'],
2627           'features': {
2628             'dynamic_refresh': True,
2629             'per_profile': True,
2630           },
2631           'example_value': ['http://www.example.com', '[*.]example.edu'],
2632           'id': 106,
2633           'caption': '''Block notifications on these sites''',
2634           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to display notifications.
2635
2636           If this policy is left not set the global default value will be used for all sites either from the 'DefaultNotificationsSetting' policy if it is set, or the user's personal configuration otherwise.''',
2637         },
2638       ],
2639     },
2640     {
2641       'name': 'NativeMessaging',
2642       'type': 'group',
2643       'caption': '''Native Messaging''',
2644       'desc': '''Configures policies for Native Messaging. Blacklisted native messaging hosts won't be allowed unless they are whitelisted.''',
2645       'policies': [
2646         {
2647           'name': 'NativeMessagingBlacklist',
2648           'type': 'list',
2649           'schema': {
2650             'type': 'array',
2651             'items': { 'type': 'string' },
2652           },
2653           'supported_on': ['chrome.*:34-'],
2654           'features': {
2655             'dynamic_refresh': True,
2656             'per_profile': True,
2657           },
2658           'example_value': [
2659             'com.native.messaging.host.name1',
2660             'com.native.messaging.host.name2',
2661           ],
2662           'id': 251,
2663           'caption': '''Configure native messaging blacklist''',
2664           'desc': '''Allows you to specify which native messaging hosts that should not be loaded.
2665
2666           A blacklist value of '*' means all native messaging hosts are blacklisted unless they are explicitly listed in the whitelist.
2667
2668           If this policy is left not set <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will load all installed native messaging hosts.''',
2669           'label': '''Names of the forbidden native messaging hosts (or * for all)''',
2670         },
2671         {
2672           'name': 'NativeMessagingWhitelist',
2673           'type': 'list',
2674           'schema': {
2675             'type': 'array',
2676             'items': { 'type': 'string' },
2677           },
2678           'supported_on': ['chrome.*:34-'],
2679           'features': {
2680             'dynamic_refresh': True,
2681             'per_profile': True,
2682           },
2683           'example_value': [
2684             'com.native.messaging.host.name1',
2685             'com.native.messaging.host.name2',
2686           ],
2687           'id': 252,
2688           'caption': '''Configure native messaging whitelist''',
2689           'desc': '''Allows you to specify which native messaging hosts are not subject to the blacklist.
2690
2691           A blacklist value of * means all native messaging hosts are blacklisted and only native messaging hosts listed in the whitelist will be loaded.
2692
2693           By default, all native messaging hosts are whitelisted, but if all native messaging hosts have been blacklisted by policy, the whitelist can be used to override that policy.''',
2694           'label': '''Names of the native messaging hosts to exempt from the blacklist''',
2695         },
2696         {
2697           'name': 'NativeMessagingUserLevelHosts',
2698           'type': 'main',
2699           'schema': { 'type': 'boolean' },
2700           'supported_on': ['chrome.*:34-'],
2701           'features': {
2702             'dynamic_refresh': True,
2703             'per_profile': True,
2704           },
2705           'example_value': False,
2706           'id': 253,
2707           'caption': '''Allow user-level Native Messaging hosts (installed without admin permissions).''',
2708           'desc': '''Enables user-level installation of Native Messaging hosts.
2709
2710           If this setting is enabled then <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> allows
2711           usage of Native Messaging hosts installed on user level.
2712
2713           If this setting is disabled then <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will
2714           only use Native Messaging hosts installed on system level.
2715
2716           If this setting is left not set <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>
2717           will allow usage of user-level Native Messaging hosts.''',
2718         },
2719       ],
2720     },
2721     {
2722       'name': 'Disable3DAPIs',
2723       'type': 'main',
2724       'schema': { 'type': 'boolean' },
2725       'supported_on': ['chrome.*:9-', 'chrome_os:11-'],
2726       'features': {
2727         'dynamic_refresh': True,
2728         'per_profile': True,
2729       },
2730       'example_value': False,
2731       'id': 55,
2732       'caption': '''Disable support for 3D graphics APIs''',
2733       'desc': '''Disable support for 3D graphics APIs.
2734
2735       Enabling this setting prevents web pages from accessing the graphics processing unit (GPU). Specifically, web pages can not access the WebGL API and plugins can not use the Pepper 3D API.
2736
2737       Disabling this setting or leaving it not set potentially allows web pages to use the WebGL API and plugins to use the Pepper 3D API. The default settings of the browser may still require command line arguments to be passed in order to use these APIs.''',
2738     },
2739     {
2740       'name': 'PolicyRefreshRate',
2741       'type': 'int',
2742       'schema': { 'type': 'integer' },
2743       'supported_on': ['chrome_os:11-'],
2744       'features': {
2745         'dynamic_refresh': True,
2746         'per_profile': True,
2747       },
2748       'example_value': 3600000,
2749       'id': 56,
2750       'caption': '''Refresh rate for user policy''',
2751       'desc': '''Specifies the period in milliseconds at which the device management service is queried for user policy information.
2752
2753       Setting this policy overrides the default value of 3 hours. Valid values for this policy are in the range from 1800000 (30 minutes) to 86400000 (1 day). Any values not in this range will be clamped to the respective boundary.
2754
2755       Leaving this policy not set will make <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> use the default value of 3 hours.''',
2756     },
2757     {
2758       'name': 'MaxInvalidationFetchDelay',
2759       'type': 'int',
2760       'schema': { 'type': 'integer' },
2761       'supported_on': ['chrome.*:30-', 'chrome_os:30-'],
2762       'features': {
2763         'dynamic_refresh': True,
2764         'per_profile': True,
2765       },
2766       'example_value': 10000,
2767       'id': 228,
2768       'caption': '''Maximum fetch delay after a policy invalidation''',
2769       'desc': '''Specifies the maximum delay in milliseconds between receiving a policy invalidation and fetching the new policy from the device management service.
2770
2771       Setting this policy overrides the default value of 5000 milliseconds. Valid values for this policy are in the range from 1000 (1 second) to 300000 (5 minutes). Any values not in this range will be clamped to the respective boundary.
2772
2773       Leaving this policy not set will make <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> use the default value of 5000 milliseconds.''',
2774     },
2775     {
2776       'name': 'ChromeFrameRendererSettings',
2777       'type': 'group',
2778       'caption': '''Default HTML renderer for <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
2779       'desc': '''Allows you to configure the default HTML renderer when <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> is installed.
2780       The default setting is to allow the host browser do the rendering, but you
2781       can optionally override this and have <ph name="PRODUCT_FRAME_NAME">$3<ex>
2782       Google Chrome Frame</ex></ph> render HTML pages by default.''',
2783       'policies': [
2784         {
2785           'name': 'ChromeFrameRendererSettings',
2786           'type': 'int-enum',
2787           'schema': {
2788             'type': 'integer',
2789             'enum': [ 0, 1 ],
2790           },
2791           'items': [
2792             {
2793               'name': 'RenderInHost',
2794               'value': 0,
2795               'caption': '''Use the host browser by default''',
2796             },
2797             {
2798               'name': 'RenderInChromeFrame',
2799               'value': 1,
2800               'caption': '''Use <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> by default''',
2801             },
2802           ],
2803           'supported_on': ['chrome_frame:8-32'],
2804           'features': {
2805             'dynamic_refresh': False,
2806           },
2807           'example_value': 1,
2808           'id': 57,
2809           'caption': '''Default HTML renderer for <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
2810           'desc': '''Allows you to configure the default HTML renderer when <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> is installed.
2811           The default setting used when this policy is left not set is to allow the host browser do the rendering, but you can optionally override this and have <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> render HTML pages by default.''',
2812         },
2813         {
2814           'name': 'RenderInChromeFrameList',
2815           'type': 'list',
2816           'schema': {
2817             'type': 'array',
2818             'items': { 'type': 'string' },
2819           },
2820           'supported_on': ['chrome_frame:8-32'],
2821           'features': {
2822             'dynamic_refresh': False,
2823           },
2824           'example_value': ['http://www.example.com', 'http://www.example.edu'],
2825           'id': 58,
2826           'caption': '''Always render the following URL patterns in <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
2827           'desc': '''Customize the list of URL patterns that should always be rendered by <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>.
2828
2829           If this policy is not set the default renderer will be used for all sites as specified by the 'ChromeFrameRendererSettings' policy.
2830
2831           For example patterns see http://www.chromium.org/developers/how-tos/chrome-frame-getting-started.''',
2832         },
2833         {
2834           'name': 'RenderInHostList',
2835           'type': 'list',
2836           'schema': {
2837             'type': 'array',
2838             'items': { 'type': 'string' },
2839           },
2840           'supported_on': ['chrome_frame:8-32'],
2841           'features': {
2842             'dynamic_refresh': False,
2843           },
2844           'example_value': ['http://www.example.com', 'http://www.example.edu'],
2845           'id': 59,
2846           'caption': '''Always render the following URL patterns in the host browser''',
2847           'desc': '''Customize the list of URL patterns that should always be rendered by the host browser.
2848
2849           If this policy is not set the default renderer will be used for all sites as specified by the 'ChromeFrameRendererSettings' policy.
2850
2851           For example patterns see http://www.chromium.org/developers/how-tos/chrome-frame-getting-started.''',
2852         },
2853         {
2854           'name': 'AdditionalLaunchParameters',
2855           'type': 'string',
2856           'schema': { 'type': 'string' },
2857           'supported_on': ['chrome_frame:19-32'],
2858           'features': {
2859             'dynamic_refresh': False,
2860           },
2861           'example_value': '--enable-media-stream --enable-media-source',
2862           'id': 141,
2863           'caption': '''Additional command line parameters for <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>''',
2864           'desc': '''Allows you to specify additional parameters that are used when <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> launches <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
2865
2866           If this policy is not set the default command line will be used.''',
2867         },
2868         {
2869           'name': 'SkipMetadataCheck',
2870           'type': 'main',
2871           'schema': { 'type': 'boolean' },
2872           'supported_on': ['chrome_frame:31-32'],
2873           'features': {
2874             'dynamic_refresh': False,
2875           },
2876           'example_value': False,
2877           'id': 238,
2878           'caption': '''Skip the meta tag check in <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
2879           'desc': '''Normally pages with X-UA-Compatible set to chrome=1 will be rendered in <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> regardless of the 'ChromeFrameRendererSettings' policy.
2880
2881           If you enable this setting, pages will not be scanned for meta tags.
2882
2883           If you disable this setting, pages will be scanned for meta tags.
2884
2885           If this policy is not set, pages will be scanned for meta tags.'''
2886         },
2887       ],
2888     },
2889     {
2890       'name': 'ChromeFrameContentTypes',
2891       'type': 'group',
2892       'caption': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the following content types''',
2893       'desc': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the following content types.''',
2894       'policies': [
2895         {
2896           'name': 'ChromeFrameContentTypes',
2897           'type': 'list',
2898           'schema': {
2899             'type': 'array',
2900             'items': { 'type': 'string' },
2901           },
2902           'supported_on': ['chrome_frame:8-32'],
2903           'features': {
2904             'dynamic_refresh': False,
2905           },
2906           'example_value': ['text/xml', 'application/xml'],
2907           'id': 60,
2908           'caption': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the listed content types''',
2909           'desc': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the listed content types.
2910
2911           If this policy is not set the default renderer will be used for all sites as specified by the 'ChromeFrameRendererSettings' policy.''',
2912         },
2913       ],
2914     },
2915     {
2916       'name': 'ChromeOsLockOnIdleSuspend',
2917       'type': 'main',
2918       'schema': { 'type': 'boolean' },
2919       'supported_on': ['chrome_os:9-'],
2920       'features': {
2921         'can_be_recommended': True,
2922         'dynamic_refresh': True,
2923         'per_profile': True,
2924       },
2925       'example_value': True,
2926       'id': 61,
2927       'caption': '''Enable lock when the device become idle or suspended''',
2928       'desc': '''Enable lock when <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices become idle or suspended.
2929
2930       If you enable this setting, users will be asked for a password to unlock the device from sleep.
2931
2932       If you disable this setting, users will not be asked for a password to unlock the device from sleep.
2933
2934       If you enable or disable this setting, users cannot change or override it.
2935
2936       If the policy is left not set the user can choose whether he wants to be asked for password to unlock the device or not.''',
2937     },
2938     {
2939       'name': 'ChromeOsMultiProfileUserBehavior',
2940       'type': 'string-enum',
2941       'schema': {
2942         'type': 'string',
2943         'enum': [
2944           'unrestricted',
2945           'primary-only',
2946           'not-allowed',
2947         ],
2948       },
2949       'items': [
2950         {
2951           'name': 'MultiProfileUserBehaviorUnrestricted',
2952           'value': 'unrestricted',
2953           'caption': '''Allow enterprise user to be both primary and secondary  (Default behavior)''',
2954         },
2955         {
2956           'name': 'MultiProfileUserBehaviorMustBePrimary',
2957           'value': 'primary-only',
2958           'caption': '''Allow enterprise user to be primary multiprofile user only''',
2959         },
2960         {
2961           'name': 'MultiProfileUserBehaviorNotAllowed',
2962           'value': 'not-allowed',
2963           'caption': '''Do not allow enterprise user to be part of multiprofile (primary or secondary)''',
2964         },
2965       ],
2966       'supported_on': ['chrome_os:31-'],
2967       'features': {
2968         'dynamic_refresh': True,
2969         'per_profile': True,
2970       },
2971       'example_value': 'unrestricted',
2972       'id': 244,
2973       'caption': '''Control the user behavior in a multiprofile session''',
2974       'desc': '''Control the user behavior in a multiprofile session on <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices.
2975
2976       If this policy is set to 'MultiProfileUserBehaviorUnrestricted', the user can be either primary or secondary user in a multiprofile session.
2977
2978       If this policy is set to 'MultiProfileUserBehaviorMustBePrimary', the user can only be the primary user in a multiprofile session.
2979
2980       If this policy is set to 'MultiProfileUserBehaviorNotAllowed', the user cannot be part of a multiprofile session.
2981
2982       If you set this setting, users cannot change or override it.
2983
2984       If the setting is changed while the user is signed into a multiprofile session, all users in the session will be checked against their corresponding settings. The session will be closed if any one of the users is no longer allowed to be in the session.
2985
2986       If the policy is left not set, the default value 'MultiProfileUserBehaviorUnrestricted' will be used.''',
2987     },
2988     {
2989       'name': 'InstantEnabled',
2990       'type': 'main',
2991       'schema': { 'type': 'boolean' },
2992       'supported_on': ['chrome.*:11-28', 'chrome_os:11-28'],
2993       'deprecated': True,
2994       'features': {
2995         'can_be_recommended': True,
2996         'dynamic_refresh': True,
2997         'per_profile': True,
2998       },
2999       'example_value': True,
3000       'id': 62,
3001       'caption': '''Enable Instant''',
3002       'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s Instant feature and prevents users from changing this setting.
3003
3004       If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> Instant is enabled.
3005
3006       If you disable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> Instant is disabled.
3007
3008       If you enable or disable this setting, users cannot change or override this setting.
3009
3010       If this setting is left not set the user can decide to use this function or not.
3011
3012       This setting has been removed from Chrome 29 and higher versions.''',
3013     },
3014     {
3015       'name': 'TranslateEnabled',
3016       'type': 'main',
3017       'schema': { 'type': 'boolean' },
3018       'supported_on': [
3019         'chrome.*:12-',
3020         'chrome_os:12-',
3021         'android:30-',
3022         'ios:34-',
3023       ],
3024       'features': {
3025         'can_be_recommended': True,
3026         'dynamic_refresh': True,
3027         'per_profile': True,
3028       },
3029       'example_value': True,
3030       'id': 80,
3031       'caption': '''Enable Translate''',
3032       'desc': '''Enables the integrated Google Translate service on <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
3033
3034       If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will show an integrated toolbar offering to translate the page for the user, when appropriate.
3035
3036       If you disable this setting, users will never see the translation bar.
3037
3038       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>.
3039
3040       If this setting is left not set the user can decide to use this function or not.''',
3041     },
3042     {
3043       'name': 'AllowOutdatedPlugins',
3044       'type': 'main',
3045       'schema': { 'type': 'boolean' },
3046       'supported_on': ['chrome.*:12-', 'chrome_os:12-'],
3047       'features': {
3048         'dynamic_refresh': True,
3049         'per_profile': True,
3050       },
3051       'example_value': True,
3052       'id': 81,
3053       'caption': '''Allow running plugins that are outdated''',
3054       'desc': '''Allows <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to run plugins that are outdated.
3055
3056       If you enable this setting, outdated plugins are used as normal plugins.
3057
3058       If you disable this setting, outdated plugins will not be used and users will not be asked for permission to run them.
3059
3060       If this setting is not set, users will be asked for permission to run outdated plugins.''',
3061     },
3062     {
3063       'name': 'AlwaysAuthorizePlugins',
3064       'type': 'main',
3065       'schema': { 'type': 'boolean' },
3066       'supported_on': ['chrome.*:13-', 'chrome_os:13-'],
3067       'features': {
3068         'dynamic_refresh': True,
3069         'per_profile': True,
3070       },
3071       'example_value': True,
3072       'id': 86,
3073       'caption': '''Always runs plugins that require authorization''',
3074       'desc': '''Allows <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to run plugins that require authorization.
3075
3076       If you enable this setting, plugins that are not outdated always run.
3077
3078       If this setting is disabled or not set, users will be asked for permission to run plugins that require authorization. These are plugins that can compromise security.''',
3079     },
3080     {
3081       'name': 'BookmarkBarEnabled',
3082       'type': 'main',
3083       'schema': { 'type': 'boolean' },
3084       'supported_on': ['chrome.*:12-', 'chrome_os:12-'],
3085       'features': {
3086         'can_be_recommended': True,
3087         'dynamic_refresh': True,
3088         'per_profile': True,
3089       },
3090       'example_value': True,
3091       'id': 82,
3092       'caption': '''Enable Bookmark Bar''',
3093       'desc': '''Enables the bookmark bar on <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
3094
3095       If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will show a bookmark bar.
3096
3097       If you disable this setting, users will never see the bookmark bar.
3098
3099       If you enable or disable this setting, users cannot change or override it in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
3100
3101       If this setting is left not set the user can decide to use this function or not.''',
3102     },
3103     {
3104       'name': 'EditBookmarksEnabled',
3105       'type': 'main',
3106       'schema': { 'type': 'boolean' },
3107       'supported_on': ['chrome.*:12-', 'chrome_os:12-', 'android:30-'],
3108       'features': {
3109         'dynamic_refresh': True,
3110         'per_profile': True,
3111       },
3112       'example_value': False,
3113       'id': 83,
3114       'caption': '''Enables or disables bookmark editing''',
3115       'desc': '''Enables or disables editing bookmarks in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
3116
3117       If you enable this setting, bookmarks can be added, removed or modified. This is the default also when this policy is not set.
3118
3119       If you disable this setting, bookmarks can not be added, removed or modified. Existing bookmarks are still available.''',
3120     },
3121     {
3122       'name': 'AllowFileSelectionDialogs',
3123       'type': 'main',
3124       'schema': { 'type': 'boolean' },
3125       'supported_on': ['chrome.*:12-'],
3126       'features': {
3127         'dynamic_refresh': True,
3128         'per_profile': False,
3129       },
3130       'example_value': True,
3131       'id': 84,
3132       'caption': '''Allow invocation of file selection dialogs''',
3133       'desc': '''Allows access to local files on the machine by allowing <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to display file selection dialogs.
3134
3135       If you enable this setting, users can open file selection dialogs as normal.
3136
3137       If you disable this setting, whenever the user performs an action which would provoke a file selection dialog (like importing bookmarks, uploading files, saving links, etc.) a message is displayed instead and the user is assumed to have clicked Cancel on the file selection dialog.
3138
3139       If this setting is not set, users can open file selection dialogs as normal.''',
3140     },
3141     {
3142       'name': 'GCFUserDataDir',
3143       'type': 'string',
3144       'schema': { 'type': 'string' },
3145       'supported_on': ['chrome_frame:12-32'],
3146       'features': {
3147         'dynamic_refresh': False,
3148       },
3149       'example_value': '${user_home}/Chrome Frame',
3150       'id': 87,
3151       'caption': '''Set <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> user data directory''',
3152       'desc': '''Configures the directory that <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> will use for storing user data.
3153
3154       If you set this policy, <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> will use the provided directory.
3155
3156       See http://www.chromium.org/administrators/policy-list-3/user-data-directory-variables for a list of variables that can be used.
3157
3158       If this setting is left not set the default profile directory will be used.''',
3159       'label': '''Set user data directory''',
3160     },
3161     {
3162       'name': 'DevicePolicyRefreshRate',
3163       'type': 'int',
3164       'schema': { 'type': 'integer' },
3165       'supported_on': ['chrome_os:11-'],
3166       'device_only': True,
3167       'features': {
3168         'dynamic_refresh': True,
3169       },
3170       'example_value': 3600000,
3171       'id': 90,
3172       'caption': '''Refresh rate for Device Policy''',
3173       'desc': '''Specifies the period in milliseconds at which the device management service is queried for device policy information.
3174
3175       Setting this policy overrides the default value of 3 hours. Valid values for this policy are in the range from 1800000 (30 minutes) to 86400000 (1 day). Any values not in this range will be clamped to the respective boundary.
3176
3177       Leaving this policy not set will make <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> use the default value of 3 hours.''',
3178     },
3179     {
3180       'name': 'ImportBookmarks',
3181       'type': 'main',
3182       'schema': { 'type': 'boolean' },
3183       'supported_on': ['chrome.*:15-'],
3184       'features': {
3185         'can_be_recommended': True,
3186         'dynamic_refresh': True,
3187         'per_profile': True,
3188       },
3189       'example_value': True,
3190       'id': 97,
3191       'caption': '''Import bookmarks from default browser on first run''',
3192       'desc': '''This policy forces bookmarks to be imported from the current default browser if enabled. If enabled, this policy also affects the import dialog.
3193
3194       If disabled, no bookmarks are imported.
3195
3196       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
3197       'label': '''Import bookmarks from default browser on first run''',
3198     },
3199     {
3200       'name': 'ImportHistory',
3201       'type': 'main',
3202       'schema': { 'type': 'boolean' },
3203       'supported_on': ['chrome.*:15-'],
3204       'features': {
3205         'can_be_recommended': True,
3206         'dynamic_refresh': True,
3207         'per_profile': True,
3208       },
3209       'example_value': True,
3210       'id': 98,
3211       'caption': '''Import browsing history from default browser on first run''',
3212       'desc': '''This policy forces the browsing history to be imported from the current default browser if enabled. If enabled, this policy also affects the import dialog.
3213
3214       If disabled, no browsing history is imported.
3215
3216       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
3217       'label': '''Import browsing history from default browser on first run''',
3218     },
3219     {
3220       'name': 'ImportHomepage',
3221       'type': 'main',
3222       'schema': { 'type': 'boolean' },
3223       'supported_on': ['chrome.*:15-'],
3224       'features': {
3225         'dynamic_refresh': True,
3226         'per_profile': True,
3227       },
3228       'example_value': True,
3229       'id': 99,
3230       'caption': '''Import of homepage from default browser on first run''',
3231       'desc': '''This policy forces the home page to be imported from the current default browser if enabled.
3232
3233       If disabled, the home page is not imported.
3234
3235       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
3236       'label': '''Import of homepage from default browser on first run''',
3237     },
3238     {
3239       'name': 'ImportSearchEngine',
3240       'type': 'main',
3241       'schema': { 'type': 'boolean' },
3242       'supported_on': ['chrome.*:15-'],
3243       'features': {
3244         'can_be_recommended': True,
3245         'dynamic_refresh': True,
3246         'per_profile': True,
3247       },
3248       'example_value': True,
3249       'id': 100,
3250       'caption': '''Import search engines from default browser on first run''',
3251       'desc': '''This policy forces search engines to be imported from the current default browser if enabled. If enabled, this policy also affects the import dialog.
3252
3253       If disabled, the default search engine is not imported.
3254
3255       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
3256       'label': '''Import search engines from default browser on first run''',
3257     },
3258     {
3259       'name': 'ImportSavedPasswords',
3260       'type': 'main',
3261       'schema': { 'type': 'boolean' },
3262       'supported_on': ['chrome.*:15-'],
3263       'features': {
3264         'can_be_recommended': True,
3265         'dynamic_refresh': True,
3266         'per_profile': True,
3267       },
3268       'example_value': True,
3269       'id': 101,
3270       'caption': '''Import saved passwords from default browser on first run''',
3271       'desc': '''This policy forces the saved passwords to be imported from the previous default browser if enabled. If enabled, this policy also affects the import dialog.
3272
3273       If disabled, the saved passwords are not imported.
3274
3275       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
3276       'label': '''Import saved passwords from default browser on first run''',
3277     },
3278     {
3279       'name': 'MaxConnectionsPerProxy',
3280       'type': 'int',
3281       'schema': { 'type': 'integer' },
3282       'supported_on': ['chrome.*:14-'],
3283       'features': {
3284         'dynamic_refresh': False,
3285         'per_profile': False,
3286       },
3287       'example_value': 32,
3288       'id': 92,
3289       'caption': '''Maximal number of concurrent connections to the proxy server''',
3290       'desc': '''Specifies the maximal number of simultaneous connections to the proxy server.
3291
3292       Some proxy servers can not handle high number of concurrent connections per client and this can be solved by setting this policy to a lower value.
3293
3294       The value of this policy should be lower than 100 and higher than 6 and the default value is 32.
3295
3296       Some web apps are known to consume many connections with hanging GETs, so lowering below 32 may lead to browser networking hangs if too many such web apps are open. Lower below the default at your own risk.
3297
3298       If this policy is left not set the default value will be used which is 32.''',
3299     },
3300     {
3301       'name': 'HideWebStorePromo',
3302       'type': 'main',
3303       'schema': { 'type': 'boolean' },
3304       'supported_on': ['chrome.*:15-21', 'chrome_os:15-21'],
3305       'deprecated': True,
3306       'features': {
3307         'dynamic_refresh': False,
3308       },
3309       'example_value': False,
3310       'id': 96,
3311       'caption': '''Prevent app promotions from appearing on the new tab page''',
3312       'desc': '''When set to True, promotions for Chrome Web Store apps will not appear on the new tab page.
3313
3314       Setting this option to False or leaving it not set will make the promotions for Chrome Web Store apps appear on the new tab page''',
3315     },
3316     {
3317       'name': 'URLBlacklist',
3318       'type': 'list',
3319       'schema': {
3320         'type': 'array',
3321         'items': { 'type': 'string' },
3322       },
3323       'supported_on': [
3324         'chrome.*:15-',
3325         'chrome_os:15-',
3326         'android:30-',
3327         'ios:34-',
3328       ],
3329       'features': {
3330         'dynamic_refresh': True,
3331         'per_profile': True,
3332       },
3333       'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/bad_path', 'http://server:8080/path', '.exact.hostname.com', '*'],
3334       'id': 103,
3335       'caption': '''Block access to a list of URLs''',
3336       'desc': '''Blocks access to the listed URLs.
3337
3338       This policy prevents the user from loading web pages from blacklisted URLs.
3339
3340       A URL has the format 'scheme://host:port/path'.
3341       The optional scheme can be http, https or ftp. Only this scheme will be blocked; if none is specified, all schemes are blocked.
3342       The host can be a hostname or an IP address. Subdomains of a hostname will also be blocked. To prevent blocking subdomains, include a '.' before the hostname. The special hostname '*' will block all domains.
3343       The optional port is a valid port number from 1 to 65535. If none is specified, all ports are blocked.
3344       If the optional path is specified, only paths with that prefix will be blocked.
3345
3346       Exceptions can be defined in the URL whitelist policy. These policies are limited to 1000 entries; subsequent entries will be ignored.
3347
3348       If this policy is not set no URL will be blacklisted in the browser.''',
3349     },
3350     {
3351       'name': 'URLWhitelist',
3352       'type': 'list',
3353       'schema': {
3354         'type': 'array',
3355         'items': { 'type': 'string' },
3356       },
3357       'supported_on': [
3358         'chrome.*:15-',
3359         'chrome_os:15-',
3360         'android:30-',
3361         'ios:34-',
3362       ],
3363       'features': {
3364         'dynamic_refresh': True,
3365         'per_profile': True,
3366       },
3367       'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/bad_path', 'http://server:8080/path', '.exact.hostname.com'],
3368       'id': 104,
3369       'caption': '''Allows access to a list of URLs''',
3370       'desc': '''Allows access to the listed URLs, as exceptions to the URL blacklist.
3371
3372       See the description of the URL blacklist policy for the format of entries of this list.
3373
3374       This policy can be used to open exceptions to restrictive blacklists. For example, '*' can be blacklisted to block all requests, and this policy can be used to allow access to a limited list of URLs. It can be used to open exceptions to certain schemes, subdomains of other domains, ports, or specific paths.
3375
3376       The most specific filter will determine if a URL is blocked or allowed. The whitelist takes precedence over the blacklist.
3377
3378       This policy is limited to 1000 entries; subsequent entries will be ignored.
3379
3380       If this policy is not set there will be no exceptions to the blacklist from the 'URLBlacklist' policy.''',
3381     },
3382     {
3383       'name': 'OpenNetworkConfiguration',
3384       'type': 'string',
3385       'schema': { 'type': 'string' },
3386       'supported_on': ['chrome_os:16-'],
3387       'features': {
3388         'dynamic_refresh': True,
3389         'per_profile': True,
3390       },
3391       'example_value': '{ "NetworkConfigurations": [ { "GUID": "{4b224dfd-6849-7a63-5e394343244ae9c9}", "Name": "my WiFi", "Type": "WiFi", "WiFi": { "SSID": "my WiFi", "HiddenSSID": false, "Security": "None", "AutoConnect": true } } ] }',
3392       'id': 107,
3393       'caption': '''User-level network configuration''',
3394       'desc': '''Allows pushing network configuration to be applied per-user to a <ph name="PRODUCT_OS_NAME">$2<ex>Chromium OS</ex></ph> device. The network configuration is a JSON-formatted string as defined by the Open Network Configuration format described at <ph name="ONC_SPEC_URL">https://sites.google.com/a/chromium.org/dev/chromium-os/chromiumos-design-docs/open-network-configuration</ph>''',
3395     },
3396     {
3397       'name': 'DeviceOpenNetworkConfiguration',
3398       'type': 'string',
3399       'schema': { 'type': 'string' },
3400       'supported_on': ['chrome_os:16-'],
3401       'device_only': True,
3402       'features': {
3403         'dynamic_refresh': True,
3404       },
3405       'example_value': '{ "NetworkConfigurations": [ { "GUID": "{4b224dfd-6849-7a63-5e394343244ae9c9}", "Name": "my WiFi", "Type": "WiFi", "WiFi": { "SSID": "my WiFi", "HiddenSSID": false, "Security": "None", "AutoConnect": true } } ] }',
3406       'id': 108,
3407       'caption': '''Device-level network configuration''',
3408       'desc': '''Allows pushing network configuration to be applied for all users of a <ph name="PRODUCT_OS_NAME">$2<ex>Chromium OS</ex></ph> device. The network configuration is a JSON-formatted string as defined by the Open Network Configuration format described at <ph name="ONC_SPEC_URL">https://sites.google.com/a/chromium.org/dev/chromium-os/chromiumos-design-docs/open-network-configuration</ph>''',
3409     },
3410     {
3411       'name': 'CloudPrintSubmitEnabled',
3412       'type': 'main',
3413       'schema': { 'type': 'boolean' },
3414       'supported_on': ['chrome.*:17-'],
3415       'features': {
3416         'dynamic_refresh': True,
3417         'per_profile': True,
3418       },
3419       'example_value': True,
3420       'id': 109,
3421       'caption': '''Enable submission of documents to <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph>''',
3422       'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to submit documents to <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> for printing.  NOTE: This only affects <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> support in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.  It does not prevent users from submitting print jobs on web sites.
3423
3424       If this setting is enabled or not configured, users can print to <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> from the <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> print dialog.
3425
3426       If this setting is disabled, users cannot print to <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> from the <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> print dialog''',
3427     },
3428     {
3429       'name': 'EnterpriseWebStoreURL',
3430       'type': 'string',
3431       'schema': { 'type': 'string' },
3432       'supported_on': ['chrome.*:17-28', 'chrome_os:17-28'],
3433       'features': {
3434         'dynamic_refresh': True,
3435         'per_profile': True,
3436       },
3437       'deprecated': True,
3438       'example_value': 'http://company-intranet/chromeapps',
3439       'id': 112,
3440       'caption': '''Enterprise web store URL (deprecated)''',
3441       'desc': '''This setting has been retired as of <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> version 29. The recommended way to set up organization-hosted extension/app collections is to include the site hosting the CRX packages in ExtensionInstallSources and put direct download links to the packages on a web page. A launcher for that web page can be created using the ExtensionInstallForcelist policy.''',
3442     },
3443     {
3444       'name': 'EnterpriseWebStoreName',
3445       'type': 'string',
3446       'schema': { 'type': 'string' },
3447       'supported_on': ['chrome.*:17-28', 'chrome_os:17-28'],
3448       'features': {
3449         'dynamic_refresh': True,
3450         'per_profile': True,
3451       },
3452       'deprecated': True,
3453       'example_value': 'WidgCo Chrome Apps',
3454       'id': 113,
3455       'caption': '''Enterprise web store name (deprecated)''',
3456       'desc': '''This setting has been retired as of <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> version 29. The recommended way to set up organization-hosted extension/app collections is to include the site hosting the CRX packages in ExtensionInstallSources and put direct download links to the packages on a web page. A launcher for that web page can be created using the ExtensionInstallForcelist policy.''',
3457     },
3458     {
3459       'name': 'EnableOriginBoundCerts',
3460       'type': 'main',
3461       'schema': { 'type': 'boolean' },
3462       'supported_on': ['chrome.*:17-'],
3463       'features': {
3464         'dynamic_refresh': True,
3465         'per_profile': False,
3466       },
3467       'future': True,
3468       'example_value': True,
3469       'id': 114,
3470       'caption': '''Enable TLS domain-bound certificates extension''',
3471       'desc': '''Specifies whether the TLS domain-bound certificates extension should be enabled.
3472
3473       This setting is used to enable the TLS domain-bound certificates extension for testing.  This experimental setting will be removed in the future.''',
3474     },
3475     {
3476       'name': 'EnableMemoryInfo',
3477       'type': 'main',
3478       'schema': { 'type': 'boolean' },
3479       'supported_on': ['chrome.*:17-', 'chrome_os:18-'],
3480       'features': {
3481         'dynamic_refresh': True,
3482         'per_profile': True,
3483       },
3484       'future': True,
3485       'example_value': False,
3486       'id': 115,
3487       'caption': '''Enable reporting memory info (JS heap size) to page''',
3488       'desc': '''Allows pages to access JavaScript memory usage statistics.
3489
3490       This settings makes the memory statistics from the Developer Tools Profiles panel available to the web page itself.''',
3491     },
3492     {
3493       'name': 'DisablePrintPreview',
3494       'type': 'main',
3495       'schema': { 'type': 'boolean' },
3496       'supported_on': ['chrome.*:18-'],
3497       'features': {
3498         'dynamic_refresh': False,
3499         'per_profile': True,
3500       },
3501       'example_value': False,
3502       'id': 117,
3503       'caption': '''Disable Print Preview''',
3504       'desc': '''Show the system print dialog instead of print preview.
3505
3506       When this setting is enabled, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will open the system print dialog instead of the built-in print preview when a user requests a page to be printed.
3507
3508       If this policy is not set or is set to false, print commands trigger the print preview screen.''',
3509     },
3510     {
3511       'name': 'DisableSSLRecordSplitting',
3512       'type': 'main',
3513       'schema': { 'type': 'boolean' },
3514       'supported_on': ['chrome.*:18-', 'chrome_os:18-'],
3515       'features': {
3516         'dynamic_refresh': True,
3517         'per_profile': False,
3518       },
3519       'example_value': True,
3520       'id': 118,
3521       'caption': '''Disable SSL record splitting''',
3522       'desc': '''Specifies whether SSL record splitting should be disabled. Record splitting is a workaround for a weakness in SSL 3.0 and TLS 1.0 but can cause compatibility issues with some HTTPS servers and proxies.
3523
3524       If the policy is not set, or is set to false, then record splitting will be used on SSL/TLS connections which use CBC ciphersuites.''',
3525     },
3526     {
3527       'name': 'EnableOnlineRevocationChecks',
3528       'type': 'main',
3529       'schema': { 'type': 'boolean' },
3530       'supported_on': ['chrome.*:19-', 'chrome_os:19-'],
3531       'features': {
3532         'dynamic_refresh': True,
3533         'per_profile': False,
3534       },
3535       'example_value': False,
3536       'id': 129,
3537       'caption': '''Whether online OCSP/CRL checks are performed''',
3538       'desc': '''In light of the fact that soft-fail, online revocation checks provide no effective security benefit, they are disabled by default in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> version 19 and later. By setting this policy to true, the previous behavior is restored and online OCSP/CRL checks will be performed.
3539
3540       If the policy is not set, or is set to false, then Chrome will not perform online revocation checks in Chrome 19 and later.''',
3541     },
3542     {
3543       'name': 'RequireOnlineRevocationChecksForLocalAnchors',
3544       'type': 'main',
3545       'schema': { 'type': 'boolean' },
3546       'supported_on': ['chrome_os:30-', 'chrome.linux:30-', 'chrome.win:30-'],
3547       'features': {
3548         'dynamic_refresh': True,
3549         'per_profile': False,
3550       },
3551       'example_value': False,
3552       'id': 235,
3553       'caption': '''Whether online OCSP/CRL checks are required for local trust anchors''',
3554       'desc': '''When this setting is enabled, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will always perform revocation checking for server certificates that successfully validate and are signed by locally-installed CA certificates.
3555
3556       If <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> is unable to obtain revocation status information, such certificates will be treated as revoked ('hard-fail').
3557
3558       If this policy is not set, or it is set to false, then Chrome will use the existing online revocation checking settings.''',
3559     },
3560     {
3561       'name': 'ForceEphemeralProfiles',
3562       'type': 'main',
3563       'schema': { 'type': 'boolean' },
3564       'supported_on': ['chrome.*:32-'],
3565       'features': {
3566         'dynamic_refresh': False,
3567         'per_profile': True,
3568       },
3569       'example_value': True,
3570       'id': 245,
3571       'caption': '''Ephemeral profile''',
3572       'desc': '''If set to enabled this policy forces the profile to be switched to ephemeral mode. If this policy is specified as an OS policy (e.g. GPO on Windows) it will apply to every profile on the system; if the policy is set as a Cloud policy it will apply only to a profile signed in with a managed account.
3573
3574       In this mode the profile data is persisted on disk only for the length of the user session. Features like browser history, extensions and their data, web data like cookies and web databases are not preserved after the browser is closed. However this does not prevent the user from downloading any data to disk manually, save pages or print them.
3575
3576       If the user has enabled sync all this data is preserved in his sync profile just like with regular profiles. Incognito mode is also available if not explicitly disabled by policy.
3577
3578       If the policy is set to disabled or left not set signing in leads to regular profiles.'''
3579     },
3580     {
3581       'name': 'SAMLOfflineSigninTimeLimit',
3582       'type': 'int',
3583       'schema': { 'type': 'integer', 'minimum': -1 },
3584       'supported_on': ['chrome_os:34-'],
3585       'features': {
3586         'dynamic_refresh': True,
3587         'per_profile': True,
3588       },
3589       'example_value': 32,
3590       'id': 254,
3591       'caption': '''Limit the time for which a user authenticated via SAML can log in offline''',
3592       'desc': '''Limit the time for which a user authenticated via SAML can log in offline.
3593
3594       During login, Chrome OS can authenticate against a server (online) or using a cached password (offline).
3595
3596       When this policy is set to a value of -1, the user can authenticate offline indefinitely. When this policy is set to any other value, it specifies the length of time since the last online authentication after which the user must use online authentication again.
3597
3598       Leaving this policy not set will make <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> use a default time limit of 14 days after which the user must use online authentication again.
3599
3600       This policy affects only users who authenticated using SAML.
3601
3602       The policy value should be specified in seconds.''',
3603     },
3604     {
3605       'name': 'AutoCleanUpStrategy',
3606       'type': 'string-enum',
3607       'schema': {
3608         'type': 'string',
3609         'enum': [ 'remove-lru', 'remove-lru-if-dormant' ],
3610       },
3611       'items': [
3612         {
3613           'name': 'RemoveLRU',
3614           'value': 'remove-lru',
3615           'caption': '''Least recently used users are removed until there is enough free space''',
3616         },
3617         {
3618           'name': 'RemoveLRUIfDormant',
3619           'value': 'remove-lru-if-dormant',
3620           'caption': '''Least recently used users who have not logged in within last 3 months are removed until there is enough free space''',
3621         },
3622       ],
3623       'supported_on': ['chrome_os:32-'],
3624       'device_only': True,
3625       'features': {
3626         'dynamic_refresh': True,
3627         'per_profile': False,
3628       },
3629       'example_value': 'remove-lru',
3630       'id': 246,
3631       'caption': '''Selects the strategy used to free up disk space during automatic clean-up''',
3632       'desc': '''Controls the automatic clean-up behavior on <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices. Automatic clean-up is triggered when the amount of free disk space reaches a critical level to recover some disk space.
3633
3634       If this policy is set to 'RemoveLRU', the automatic clean-up will keep removing users from the device in least-recently-logged-in order until there is enough free space.
3635
3636       If this policy is set to 'RemoveLRUIfDormant', the automatic clean-up will keep removing users who have not logged in for at least 3 months in least-recently-logged-in order until there is enough free space.
3637
3638       If this policy is not set, automatic clean-up uses the default built-in strategy. Currently, it is the 'RemoveLRUIfDormant' strategy.'''
3639     },
3640     {
3641       'name': 'ReportDeviceVersionInfo',
3642       'type': 'main',
3643       'schema': { 'type': 'boolean' },
3644       'supported_on': ['chrome_os:18-'],
3645       'device_only': True,
3646       'features': {
3647         'dynamic_refresh': True,
3648       },
3649       'example_value': False,
3650       'id': 119,
3651       'caption': '''Report OS and firmware version''',
3652       'desc': '''Report OS and firmware version of enrolled devices.
3653
3654       If this setting is set to True, enrolled devices will report the OS and firmware version periodically. If this setting is not set or set to False, version info will not be reported.''',
3655     },
3656     {
3657       'name': 'ReportDeviceActivityTimes',
3658       'type': 'main',
3659       'schema': { 'type': 'boolean' },
3660       'supported_on': ['chrome_os:18-'],
3661       'device_only': True,
3662       'features': {
3663         'dynamic_refresh': True,
3664       },
3665       'example_value': False,
3666       'id': 120,
3667       'caption': '''Report device activity times''',
3668       'desc': '''Report device activity times.
3669
3670       If this setting is set to True, enrolled devices will report time periods when a user is active on the device. If this setting is not set or set to False, device activity times will not be recorded or reported.''',
3671     },
3672     {
3673       'name': 'ReportDeviceBootMode',
3674       'type': 'main',
3675       'schema': { 'type': 'boolean' },
3676       'supported_on': ['chrome_os:18-'],
3677       'device_only': True,
3678       'features': {
3679         'dynamic_refresh': True,
3680       },
3681       'example_value': False,
3682       'id': 121,
3683       'caption': '''Report device boot mode''',
3684       'desc': '''Report the state of the device's dev switch at boot.
3685
3686       If the policy is not set, or set to false, the state of the dev switch will not be reported.''',
3687     },
3688     {
3689       'name': 'ReportDeviceLocation',
3690       'type': 'main',
3691       'schema': { 'type': 'boolean' },
3692       'supported_on': ['chrome_os:20-'],
3693       'device_only': True,
3694       'features': {
3695         'dynamic_refresh': True,
3696       },
3697       'future': True,
3698       'example_value': False,
3699       'id': 143,
3700       'caption': '''Report device location''',
3701       'desc': '''Report the geographic location of the device.
3702
3703       If the policy is not set, or set to false, the location will not be reported.''',
3704     },
3705     {
3706       'name': 'ReportDeviceNetworkInterfaces',
3707       'type': 'main',
3708       'schema': { 'type': 'boolean' },
3709       'supported_on': ['chrome_os:29-'],
3710       'device_only': True,
3711       'features': {
3712         'dynamic_refresh': True,
3713       },
3714       'example_value': False,
3715       'id': 224,
3716       'caption': '''Report device network interfaces''',
3717       'desc': '''Report list of network interfaces with their types and hardware addresses to the server.
3718
3719       If the policy is not set, or set to false, the interface list will not be reported.''',
3720     },
3721     {
3722       'name': 'ReportDeviceUsers',
3723       'type': 'main',
3724       'schema': { 'type': 'boolean' },
3725       'supported_on': ['chrome_os:32-'],
3726       'device_only': True,
3727       'features': {
3728         'dynamic_refresh': True,
3729       },
3730       'example_value': False,
3731       'id': 248,
3732       'caption': '''Report device users''',
3733       'desc': '''Report list of device users that have recently logged in.
3734
3735       If the policy is not set, or set to false, the users will not be reported.''',
3736     },
3737     {
3738       'name': 'DeviceUserWhitelist',
3739       'type': 'list',
3740       'schema': {
3741         'type': 'array',
3742         'items': { 'type': 'string' },
3743       },
3744       'supported_on': ['chrome_os:12-'],
3745       'device_only': True,
3746       'features': {
3747         'dynamic_refresh': True,
3748       },
3749       'example_value': [ 'madmax@managedchrome.com' ],
3750       'id': 122,
3751       'caption': '''Login user white list''',
3752       'desc': '''Defines the list of users that are allowed to login to the device. Entries are of the form <ph name="USER_WHITELIST_ENTRY_FORMAT">user@domain</ph>, such as <ph name="USER_WHITELIST_ENTRY_EXAMPLE">madmax@managedchrome.com</ph>. To allow arbitrary users on a domain, use entries of the form <ph name="USER_WHITELIST_ENTRY_WILDCARD">*@domain</ph>.
3753
3754       If this policy is not configured, there are no restrictions on which users are allowed to sign in. Note that creating new users still requires the <ph name="DEVICEALLOWNEWUSERS_POLICY_NAME">DeviceAllowNewUsers</ph> policy to be configured appropriately.''',
3755     },
3756     {
3757       'name': 'DeviceAllowNewUsers',
3758       'type': 'main',
3759       'schema': { 'type': 'boolean' },
3760       'supported_on': ['chrome_os:12-'],
3761       'device_only': True,
3762       'features': {
3763         'dynamic_refresh': True,
3764       },
3765       'example_value': True,
3766       'id': 123,
3767       'caption': '''Allow creation of new user accounts''',
3768       'desc': '''Controls whether <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> allows new user accounts to be created. If this policy is set to false, users that do not have an account already will not be able to login.
3769
3770       If this policy is set to true or not configured, new user accounts will be allowed to be created provided that <ph name="DEVICEUSERWHITELISTPROTO_POLICY_NAME">DeviceUserWhitelist</ph> does not prevent the user from logging in.''',
3771     },
3772     {
3773       'name': 'DeviceGuestModeEnabled',
3774       'type': 'main',
3775       'schema': { 'type': 'boolean' },
3776       'supported_on': ['chrome_os:12-'],
3777       'device_only': True,
3778       'features': {
3779         'dynamic_refresh': True,
3780       },
3781       'example_value': True,
3782       'id': 124,
3783       'caption': '''Enable guest mode''',
3784       'desc': '''If this policy is set to true or not configured, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will enable guest logins. Guest logins are anonymous user sessions and do not require a password.
3785
3786       If this policy is set to false, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will not allow guest sessions to be started.''',
3787     },
3788     {
3789       'name': 'DeviceShowUserNamesOnSignin',
3790       'type': 'main',
3791       'schema': { 'type': 'boolean' },
3792       'supported_on': ['chrome_os:12-'],
3793       'device_only': True,
3794       'features': {
3795         'dynamic_refresh': True,
3796       },
3797       'example_value': True,
3798       'id': 125,
3799       'caption': '''Show usernames on login screen''',
3800       'desc': '''If this policy is set to true or not configured, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will show existing users on the login screen and allow to pick one. If this policy is set to false, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will use the username/password prompt for login.''',
3801     },
3802     {
3803       'name': 'DeviceDataRoamingEnabled',
3804       'type': 'main',
3805       'schema': { 'type': 'boolean' },
3806       'supported_on': ['chrome_os:12-'],
3807       'device_only': True,
3808       'features': {
3809         'dynamic_refresh': True,
3810       },
3811       'example_value': True,
3812       'id': 126,
3813       'caption': '''Enable data roaming''',
3814       'desc': '''Determines whether data roaming should be enabled for the device. If set to true, data roaming is allowed. If left unconfigured or set to false, data roaming will be not available.''',
3815     },
3816     {
3817       'name': 'DeviceMetricsReportingEnabled',
3818       'type': 'main',
3819       'schema': { 'type': 'boolean' },
3820       'supported_on': ['chrome_os:14-'],
3821       'device_only': True,
3822       'features': {
3823         'dynamic_refresh': True,
3824       },
3825       'example_value': True,
3826       'id': 127,
3827       'caption': '''Enable metrics reporting''',
3828       'desc': '''Controls whether usage metrics are reported back to Google. If set to true, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will report usage metrics. If not configured or set to false, metrics reporting will be disabled.''',
3829     },
3830     {
3831       'name': 'ChromeOsReleaseChannel',
3832       'type': 'string-enum',
3833       'schema': {
3834         'type': 'string',
3835         'enum': [ 'stable-channel', 'beta-channel', 'dev-channel' ],
3836       },
3837       'items': [
3838         {
3839           'name': 'StableChannel',
3840           'value': 'stable-channel',
3841           'caption': '''Stable channel''',
3842         },
3843         {
3844           'name': 'BetaChannel',
3845           'value': 'beta-channel',
3846           'caption': '''Beta channel''',
3847         },
3848         {
3849           'name': 'DevChannel',
3850           'value': 'dev-channel',
3851           'caption': '''Dev channel (may be unstable)''',
3852         },
3853       ],
3854       'supported_on': ['chrome_os:11-'],
3855       'device_only': True,
3856       'features': {
3857         'dynamic_refresh': True,
3858       },
3859       'example_value': 'stable-channel',
3860       'id': 91,
3861       'caption': '''Release channel''',
3862       'desc': '''Specifies the release channel that this device should be locked to.''',
3863     },
3864     {
3865       'name': 'ChromeOsReleaseChannelDelegated',
3866       'type': 'main',
3867       'schema': { 'type': 'boolean' },
3868       'supported_on': ['chrome_os:19-'],
3869       'device_only': True,
3870       'features': {
3871         'dynamic_refresh': True,
3872       },
3873       'example_value': False,
3874       'id': 134,
3875       'caption': '''Whether the release channel should be configurable by the user''',
3876       'desc': '''If this policy is set to True and the ChromeOsReleaseChannel policy is not specified then users of the enrolling domain will be allowed to change the release channel of the device. If this policy is set to false the device will be locked in whatever channel it was last set.
3877
3878       The user selected channel will be overridden by the ChromeOsReleaseChannel policy, but if the policy channel is more stable than the one that was installed on the device, then the channel will only switch after the version of the more stable channel reaches a higher version number than the one installed on the device.''',
3879     },
3880     {
3881       'name': 'DeviceEphemeralUsersEnabled',
3882       'type': 'main',
3883       'schema': { 'type': 'boolean' },
3884       'supported_on': ['chrome_os:19-'],
3885       'device_only': True,
3886       'features': {
3887         'dynamic_refresh': True,
3888       },
3889       'example_value': True,
3890       'id': 128,
3891       'caption': '''Wipe user data on sign-out''',
3892       'desc': '''Determines whether <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> keeps local account data after logout. If set to true, no persistent accounts are kept by <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> and all data from the user session will be discarded after logout. If this policy is set to false or not configured, the device may keep (encrypted) local user data.''',
3893     },
3894     {
3895       'name': 'DeviceStartUpUrls',
3896       'type': 'list',
3897       'schema': {
3898         'type': 'array',
3899         'items': { 'type': 'string' },
3900       },
3901       'supported_on': ['chrome_os:19-'],
3902       'device_only': True,
3903       'features': {
3904         'dynamic_refresh': True,
3905       },
3906       'example_value': [ 'http://google.com', 'chrome-extension://aaaaaaaaaaaaaaaaaaaaaaaa/' ],
3907       'id': 137,
3908       'caption': '''Load specified urls on demo login''',
3909       'desc': '''This policy is active in retail mode only.
3910
3911       Determines the set of URLs to be loaded when the demo session is started. This policy will override any other mechanisms for setting the initial URL and thus can only be applied to a session not associated with a particular user.''',
3912     },
3913     {
3914       'name': 'DeviceIdleLogoutTimeout',
3915       'type': 'int',
3916       'schema': { 'type': 'integer' },
3917       'supported_on': ['chrome_os:19-'],
3918       'device_only': True,
3919       'features': {
3920         'dynamic_refresh': True,
3921       },
3922       'example_value': 60000,
3923       'id': 130,
3924       'caption': '''Timeout until idle user log-out is executed''',
3925       'desc': '''This policy is active in retail mode only.
3926
3927       When the value of this policy is set and is not 0 then the currently logged in demo user will be logged out automatically after an inactivity time of the specified duration has elapsed.
3928
3929       The policy value should be specified in milliseconds.''',
3930     },
3931     {
3932       'name': 'DeviceIdleLogoutWarningDuration',
3933       'type': 'int',
3934       'schema': { 'type': 'integer' },
3935       'supported_on': ['chrome_os:19-'],
3936       'device_only': True,
3937       'features': {
3938         'dynamic_refresh': True,
3939       },
3940       'example_value': 15000,
3941       'id': 131,
3942       'caption': '''Duration of the idle log-out warning message''',
3943       'desc': '''This policy is active in retail mode only.
3944
3945       When DeviceIdleLogoutTimeout is specified this policy defines the duration of the warning box with a count down timer that is shown to the user before the logout is executed.
3946
3947       The policy value should be specified in milliseconds.''',
3948     },
3949     {
3950       'name': 'DeviceLoginScreenSaverId',
3951       'type': 'string',
3952       'schema': { 'type': 'string' },
3953       'supported_on': ['chrome_os:19-'],
3954       'device_only': True,
3955       'features': {
3956         'dynamic_refresh': True,
3957       },
3958       'example_value': 'fhblcfnmnbehmifidkddcenilbpddlfk',
3959       'id': 132,
3960       'caption': '''Screen saver to be used on the sign-in screen in retail mode''',
3961       'desc': '''This policy is active in retail mode only.
3962
3963       Determines the id of the extension to be used as a screen saver on the sign-in screen. The extension must be part of the AppPack that is configured for this domain through the DeviceAppPack policy.''',
3964     },
3965     {
3966       'name': 'DeviceLoginScreenSaverTimeout',
3967       'type': 'int',
3968       'schema': { 'type': 'integer' },
3969       'supported_on': ['chrome_os:19-'],
3970       'device_only': True,
3971       'features': {
3972         'dynamic_refresh': True,
3973       },
3974       'example_value': 120000,
3975       'id': 133,
3976       'caption': '''Duration of inactivity before the screen saver is shown on the sign-in screen in retail mode''',
3977       'desc': '''This policy is active in retail mode only.
3978
3979       Determines the duration before the screen saver is shown on the sign-in screen for devices in retail mode.
3980
3981       The policy value should be specified in milliseconds.''',
3982     },
3983     {
3984       'name': 'DeviceAppPack',
3985       'type': 'list',
3986       'schema': {
3987         'type': 'array',
3988         'items': { 'type': 'string' },
3989       },
3990       'supported_on': ['chrome_os:19-'],
3991       'device_only': True,
3992       'features': {
3993         'dynamic_refresh': True,
3994       },
3995       'example_value': [ { "extension-id": "khgabmflimjjbclkmljlpmgaleanedem", "update-url": "http://clients2.google.com/service/update2/crx" } ],
3996       'id': 135,
3997       'caption': '''List of AppPack extensions''',
3998       'desc': '''This policy is active in retail mode only.
3999
4000       Lists extensions that are automatically installed for the Demo user, for devices in retail mode. These extensions are saved in the device and can be installed while offline, after the installation.
4001
4002       Each list entry contains a dictionary that must include the extension ID in the 'extension-id' field, and its update URL in the 'update-url' field.''',
4003     },
4004     {
4005       'name': 'DeviceAutoUpdateDisabled',
4006       'type': 'main',
4007       'schema': { 'type': 'boolean' },
4008       'supported_on': ['chrome_os:19-'],
4009       'device_only': True,
4010       'features': {
4011         'dynamic_refresh': True,
4012       },
4013       'example_value': True,
4014       'id': 136,
4015       'caption': '''Disables Auto Update''',
4016       'desc': '''Disables automatic updates when set to True.
4017
4018       <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices automatically check for updates when this setting is not configured or set to False.''',
4019     },
4020     {
4021       'name': 'DeviceAutoUpdateP2PEnabled',
4022       'type': 'main',
4023       'schema': { 'type': 'boolean' },
4024       'supported_on': ['chrome_os:31-'],
4025       'device_only': True,
4026       'features': {
4027         'dynamic_refresh': True,
4028       },
4029       'example_value': False,
4030       'id': 242,
4031       'caption': '''Auto update p2p enabled''',
4032       'desc': '''Specifies whether p2p is to be used for OS update payloads. If set to True, devices will share and attempt to consume update payloads on the LAN, potentially reducing Internet bandwidth usage and congestion. If the update payload is not available on the LAN, the device will fall back to downloading from an update server. If set to False or not configured, p2p will not be used.''',
4033     },
4034     {
4035       'name': 'DeviceTargetVersionPrefix',
4036       'type': 'string',
4037       'schema': { 'type': 'string' },
4038       'supported_on': ['chrome_os:19-'],
4039       'device_only': True,
4040       'features': {
4041         'dynamic_refresh': True,
4042       },
4043       'example_value': '1412.',
4044       'id': 142,
4045       'caption': '''Target Auto Update Version''',
4046       'desc': '''Sets a target version for Auto Updates.
4047
4048       Specifies the prefix of a target version <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> should update to. If the device is running a version that's before the specified prefix, it will update to the latest version with the given prefix. If the device is already on a later version, there is no effect (i.e. no downgrades are performed) and the device will remain on the current version. The prefix format works component-wise as is demonstrated in the following example:
4049
4050       "" (or not configured): update to latest version available.
4051       "1412.": update to any minor version of 1412 (e.g. 1412.24.34 or 1412.60.2)
4052       "1412.2.": update to any minor version of 1412.2 (e.g. 1412.2.34 or 1412.2.2)
4053       "1412.24.34": update to this specific version only''',
4054     },
4055     {
4056       'name': 'DeviceUpdateScatterFactor',
4057       'type': 'int',
4058       'schema': { 'type': 'integer' },
4059       'supported_on': ['chrome_os:20-'],
4060       'device_only': True,
4061       'features': {
4062         'dynamic_refresh': True,
4063       },
4064       'example_value': 7200,
4065       'id': 145,
4066       'caption': '''Auto update scatter factor''',
4067       'desc': '''Specifies the number of seconds up to which a device may randomly delay its download of an update from the time the update was first pushed out to the server. The device may wait a portion of this time in terms of wall-clock-time and the remaining portion in terms of the number of update checks. In any case, the scatter is upper bounded to a constant amount of time so that a device does not ever get stuck waiting to download an update forever.''',
4068     },
4069     {
4070       'name': 'DeviceUpdateAllowedConnectionTypes',
4071       'type': 'list',
4072       'schema': {
4073         'type': 'array',
4074         'items': { 'type': 'string' },
4075       },
4076       'supported_on': ['chrome_os:21-'],
4077       'device_only': True,
4078       'features': {
4079         'dynamic_refresh': True,
4080       },
4081       'example_value': [ 'ethernet' ],
4082       'id': 146,
4083       'caption': '''Connection types allowed for updates''',
4084       'desc': ''' The types of connections that are allowed to use for OS updates. OS updates potentially put heavy strain on the connection due to their size and may incur additional cost. Therefore, they are by default not enabled for connection types that are considered expensive, which include WiMax, Bluetooth and Cellular at the moment.
4085
4086       The recognized connection type identifiers are "ethernet", "wifi", "wimax", "bluetooth" and "cellular".''',
4087     },
4088     {
4089       'name': 'DeviceUpdateHttpDownloadsEnabled',
4090       'type': 'main',
4091       'schema': {
4092         'type': 'boolean',
4093       },
4094       'supported_on': ['chrome_os:29-'],
4095       'device_only': True,
4096       'features': {
4097         'dynamic_refresh': True,
4098       },
4099       'example_value': True,
4100       'id': 243,
4101       'caption': '''Allow autoupdate downloads via HTTP''',
4102       'desc': '''Auto-update payloads on <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can be downloaded via HTTP instead of HTTPS. This allows transparent HTTP caching of HTTP downloads.
4103
4104       If this policy is set to true, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will attempt to download auto-update payloads via HTTP. If the policy is set to false or not set, HTTPS will be used for downloading auto-update payloads.''',
4105     },
4106     {
4107       'name': 'DeviceLocalAccounts',
4108       'type': 'list',
4109       'schema': {
4110         'type': 'array',
4111         'items': { 'type': 'string' },
4112       },
4113       'supported_on': ['chrome_os:25-'],
4114       'device_only': True,
4115       'features': {
4116         'dynamic_refresh': True,
4117       },
4118       'example_value': [ "demo@example.com" ],
4119       'id': 163,
4120       'caption': '''Device-local accounts''',
4121       'desc': '''Specifies the list of device-local accounts to be shown on the login screen.
4122
4123       Every list entry specifies an identifier, which is used internally to tell the different device-local accounts apart.''',
4124     },
4125     {
4126       'name': 'DeviceLocalAccountAutoLoginId',
4127       'type': 'string',
4128       'schema': { 'type': 'string' },
4129       'supported_on': ['chrome_os:26-'],
4130       'device_only': True,
4131       'features': {
4132         'dynamic_refresh': True,
4133       },
4134       'example_value': "public@example.com",
4135       'id': 194,
4136       'caption': '''Public session for auto-login''',
4137       'desc': '''A public session to auto-login after a delay.
4138
4139       If this policy is set, the specified session will be automatically logged in after a period of time has elapsed at the login screen without user interaction. The public session must already be configured (see |DeviceLocalAccounts|).
4140
4141       If this policy is unset, there will be no auto-login.''',
4142     },
4143     {
4144       'name': 'DeviceLocalAccountAutoLoginDelay',
4145       'type': 'int',
4146       'schema': { 'type': 'integer' },
4147       'supported_on': ['chrome_os:26-'],
4148       'device_only': True,
4149       'features': {
4150         'dynamic_refresh': True,
4151       },
4152       'example_value': 180000,
4153       'id': 195,
4154       'caption': '''Public session auto-login timer''',
4155       'desc': '''The public session auto-login delay.
4156
4157       If the |DeviceLocalAccountAutoLoginId| policy is unset, this policy has no effect. Otherwise:
4158
4159       If this policy is set, it determines the amount of time without user activity that should elapse before automatically logging into the public session specified by the |DeviceLocalAccountAutoLoginId| policy.
4160
4161       If this policy is unset, 0 milliseconds will be used as the timeout.
4162
4163       This policy is specified in milliseconds.'''
4164     },
4165     {
4166       'name': 'DeviceLocalAccountAutoLoginBailoutEnabled',
4167       'type': 'main',
4168       'schema': { 'type': 'boolean' },
4169       'supported_on': ['chrome_os:28-'],
4170       'device_only': True,
4171       'features': {
4172         'dynamic_refresh': True,
4173       },
4174       'example_value': True,
4175       'id': 202,
4176       'caption': '''Enable bailout keyboard shortcut for auto-login''',
4177       'desc': '''Enable bailout keyboard shortcut for auto-login.
4178
4179       If this policy is unset or set to True and a device-local account is configured for zero-delay auto-login, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will honor the keyboard shortcut Ctrl+Alt+S for bypassing auto-login and showing the login screen.
4180
4181       If this policy is set to False, zero-delay auto-login (if configured) cannot be bypassed.'''
4182     },
4183     {
4184       'name': 'DeviceLocalAccountPromptForNetworkWhenOffline',
4185       'type': 'main',
4186       'schema': { 'type': 'boolean' },
4187       'supported_on': ['chrome_os:33-'],
4188       'device_only': True,
4189       'features': {
4190         'dynamic_refresh': True,
4191       },
4192       'example_value': True,
4193       'id': 250,
4194       'caption': '''Enable network configuration prompt when offline''',
4195       'desc': '''Enable network configuration prompt when offline.
4196
4197       If this policy is unset or set to True and a device-local account is configured for zero-delay auto-login and the device does not have access to the Internet, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will show a network configuration prompt.
4198
4199       If this policy is set to False, an error message will be displayed instead of the network configuration prompt.'''
4200     },
4201     {
4202       'name': 'BackgroundModeEnabled',
4203       'type': 'main',
4204       'schema': { 'type': 'boolean' },
4205       'supported_on': ['chrome.win:19-', 'chrome.linux:19-'],
4206       'features': {
4207         'can_be_recommended': True,
4208         'dynamic_refresh': True,
4209         'per_profile': False,
4210       },
4211       'example_value': True,
4212       'id': 138,
4213       'caption': '''Continue running background apps when <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> is closed''',
4214       'desc': '''Determines whether a <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> process is started on OS login and keeps running when the last browser window is closed, allowing background apps to remain active. The background process displays an icon in the system tray and can always be closed from there.
4215
4216       If this policy is set to True, background mode is enabled and cannot be controlled by the user in the browser settings.
4217
4218       If this policy is set to False, background mode is disabled and cannot be controlled by the user in the browser settings.
4219
4220       If this policy is left unset, background mode is initially disabled and can be controlled by the user in the browser settings.''',
4221     },
4222     {
4223       'name': 'Drive',
4224       'type': 'group',
4225       'caption': '''Configure Google Drive options''',
4226       'desc': '''Configure Google Drive in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.''',
4227       'policies': [
4228         {
4229           'name': 'DriveDisabled',
4230           'type': 'main',
4231           'schema': { 'type': 'boolean' },
4232           'supported_on': ['chrome_os:19-'],
4233           'features': {
4234             'dynamic_refresh': True,
4235             'per_profile': True,
4236           },
4237           'example_value': True,
4238           'id': 139,
4239           'caption': '''Disables Drive in the Chrome OS Files app''',
4240           'desc': '''Disables Google Drive syncing in the Chrome OS Files app when set to True. In that case, no data is uploaded to Google Drive.
4241
4242           If not set or set to False, then users will be able to transfer files to Google Drive.''',
4243         },
4244         {
4245           'name': 'DriveDisabledOverCellular',
4246           'type': 'main',
4247           'schema': { 'type': 'boolean' },
4248           'supported_on': ['chrome_os:19-'],
4249           'features': {
4250             'dynamic_refresh': True,
4251             'per_profile': True,
4252           },
4253           'example_value': True,
4254           'id': 140,
4255           'caption': '''Disables Google Drive over Cellular connections in the Chrome OS Files app''',
4256           'desc': '''Disables Google Drive syncing in the Chrome OS Files app when using a cellular connection when set to True. In that case, data is only synced to Google Drive when connected via WiFi or Ethernet.
4257
4258           If not set or set to False, then users will be able to transfer files to Google Drive via cellular connections.''',
4259         },
4260       ],
4261     },
4262     {
4263       'name': 'PinnedLauncherApps',
4264       'type': 'list',
4265       'schema': {
4266         'type': 'array',
4267         'items': { 'type': 'string' },
4268       },
4269       'supported_on': ['chrome_os:20-' ],
4270       'features': {
4271         'can_be_recommended': True,
4272         'dynamic_refresh': True,
4273         'per_profile': True,
4274       },
4275       'example_value': ['pjkljhegncpnkpknbcohdijeoejaedia'],
4276       'id': 144,
4277       'caption': '''List of pinned apps to show in the launcher''',
4278       'desc': '''Lists the application identifiers <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> shows as pinned apps in the launcher bar.
4279
4280       If this policy is configured, the set of applications is fixed and can't be changed by the user.
4281
4282       If this policy is left unset, the user may change the list of pinned apps in the launcher.''',
4283     },
4284     {
4285       'name': 'RestrictSigninToPattern',
4286       'type': 'string',
4287       'schema': { 'type': 'string' },
4288       'supported_on': ['chrome.*:21-'],
4289       'features': {
4290         'dynamic_refresh': True,
4291         'per_profile': False,
4292       },
4293       'example_value': '*@domain.com',
4294       'id': 147,
4295       'caption': '''Restrict which users are allowed to sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>''',
4296       'desc': '''Contains a regular expression which is used to determine which users can sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
4297
4298       An appropriate error is displayed if a user tries to log in with a username that does not match this pattern.
4299
4300       If this policy is left not set or blank, then any user can sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
4301     },
4302     {
4303       'name': 'DisableSafeBrowsingProceedAnyway',
4304       'type': 'main',
4305       'schema': { 'type': 'boolean' },
4306       'supported_on': ['chrome.*:22-', 'chrome_os:22-', 'android:30-'],
4307       'features': {
4308         'dynamic_refresh': True,
4309         'per_profile': True,
4310       },
4311       'example_value': True,
4312       'id': 150,
4313       'caption': '''Disable proceeding from the Safe Browsing warning page''',
4314       'desc': '''The Safe Browsing service shows a warning page when users navigate to sites that are flagged as potentially malicious. Enabling this setting prevents users from proceeding anyway from the warning page to the malicious site.
4315
4316       If this setting is disabled or not configured then users can choose to proceed to the flagged site after being shown the warning.''',
4317     },
4318     {
4319       'name': 'SpellCheckServiceEnabled',
4320       'type': 'main',
4321       'schema': { 'type': 'boolean' },
4322       'supported_on': ['chrome.*:22-', 'chrome_os:22-'],
4323       'features': {
4324         'can_be_recommended': True,
4325         'dynamic_refresh': True,
4326         'per_profile': True,
4327       },
4328       'example_value': False,
4329       'id': 151,
4330       'caption': '''Enable or disable spell checking web service''',
4331       'desc': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> can use a Google web service to help resolve spelling errors. If this setting is enabled, then this service is always used. If this setting is disabled, then this service is never used.
4332
4333       Spell checking can still be performed using a downloaded dictionary; this policy only controls the usage of the online service.
4334
4335       If this setting is not configured then users can choose whether the spell checking service should be used or not.''',
4336     },
4337     {
4338       'name': 'ExternalStorageDisabled',
4339       'type': 'main',
4340       'schema': { 'type': 'boolean' },
4341       'supported_on': ['chrome_os:22-'],
4342       'features': {
4343         'dynamic_refresh': True,
4344         'per_profile': True,
4345       },
4346       'example_value': True,
4347       'id': 152,
4348       'caption': '''Disable mounting of external storage''',
4349       'desc': '''Disable mounting of external storage.
4350
4351       When this policy is set to true, external storage will not be available in the file browser.
4352
4353       This policy affects all types of storage media. For example: USB flash drives, external hard drives, SD and other memory cards, optical storage etc. Internal storage is not affected, therefore files saved in the Download folder can still be accessed. Google Drive is also not affected by this policy.
4354
4355       If this setting is disabled or not configured then users can use all supported types of external storage on their device.''',
4356     },
4357     {
4358       'name': 'AudioOutputAllowed',
4359       'type': 'main',
4360       'schema': { 'type': 'boolean' },
4361       'supported_on': ['chrome_os:23-'],
4362       'features': {
4363         'dynamic_refresh': True,
4364         'per_profile': False,
4365       },
4366       'example_value': False,
4367       'id': 159,
4368       'caption': '''Allow playing audio''',
4369       'desc': '''Allow playing audio.
4370
4371       When this policy is set to false, audio output will not be available on the device while the user is logged in.
4372
4373       This policy affects all types of audio output and not only the built-in speakers. Audio accessibility features are also inhibited by this policy. Do not enable this policy if a screen reader is required for the user.
4374
4375       If this setting is set to true or not configured then users can use all supported audio outputs on their device.''',
4376     },
4377     {
4378       'name': 'AudioCaptureAllowed',
4379       'type': 'main',
4380       'schema': { 'type': 'boolean' },
4381       'supported_on': ['chrome.*:25-', 'chrome_os:23-'],
4382       'features': {
4383         'dynamic_refresh': True,
4384         'per_profile': False,
4385       },
4386       'example_value': False,
4387       'id': 160,
4388       'caption': '''Allow or deny audio capture''',
4389       'desc': '''Allow or deny audio capture.
4390
4391       If enabled or not configured (default), the user will be prompted for
4392       audio capture access except for URLs configured in the
4393       AudioCaptureAllowedUrls list which will be granted access without prompting.
4394
4395       When this policy is disabled, the user will never be prompted and audio
4396       capture only be available to URLs configured in AudioCaptureAllowedUrls.
4397
4398       This policy affects all types of audio inputs and not only the built-in microphone.''',
4399     },
4400     {
4401       'name': 'AudioCaptureAllowedUrls',
4402       'type': 'list',
4403       'schema': {
4404         'type': 'array',
4405         'items': { 'type': 'string' },
4406       },
4407       'supported_on': ['chrome.*:29-', 'chrome_os:29-'],
4408       'features': {
4409         'dynamic_refresh': True,
4410         'per_profile': True,
4411       },
4412       'example_value': ['http://www.example.com/', 'http://[*.]example.edu/'],
4413       'id': 208,
4414       'caption': '''URLs that will be granted access to audio capture devices without prompt''',
4415       'desc': '''Patterns in this list will be matched against the security
4416       origin of the requesting URL.  If a match is found, access to audio
4417       capture devices will be granted without prompt.
4418
4419       NOTE: This policy is currently only supported when running in Kiosk mode.''',
4420     },
4421     {
4422       'name': 'VideoCaptureAllowed',
4423       'type': 'main',
4424       'schema': { 'type': 'boolean' },
4425       'supported_on': ['chrome.*:25-', 'chrome_os:25-'],
4426       'features': {
4427         'dynamic_refresh': True,
4428         'per_profile': True,
4429       },
4430       'example_value': False,
4431       'id': 167,
4432       'caption': '''Allow or deny video capture''',
4433       'desc': '''Allow or deny video capture.
4434
4435       If enabled or not configured (default), the user will be prompted for
4436       video capture access except for URLs configured in the
4437       VideoCaptureAllowedUrls list which will be granted access without prompting.
4438
4439       When this policy is disabled, the user will never be prompted and video
4440       capture only be available to URLs configured in VideoCaptureAllowedUrls.
4441
4442       This policy affects all types of video inputs and not only the built-in camera.''',
4443     },
4444     {
4445       'name': 'VideoCaptureAllowedUrls',
4446       'type': 'list',
4447       'schema': {
4448         'type': 'array',
4449         'items': { 'type': 'string' },
4450       },
4451       'supported_on': ['chrome.*:29-', 'chrome_os:29-'],
4452       'features': {
4453         'dynamic_refresh': True,
4454         'per_profile': True,
4455       },
4456       'example_value': ['http://www.example.com/', 'http://[*.]example.edu/'],
4457       'id': 209,
4458       'caption': '''URLs that will be granted access to video capture devices without prompt''',
4459       'desc': '''Patterns in this list will be matched against the security
4460       origin of the requesting URL.  If a match is found, access to audio
4461       capture devices will be granted without prompt.
4462
4463       NOTE: This policy is currently only supported when running in Kiosk mode.''',
4464     },
4465     {
4466       'name': 'DisableScreenshots',
4467       'type': 'main',
4468       'schema': { 'type': 'boolean' },
4469       'supported_on': ['chrome_os:22-', 'chrome.*:22-'],
4470       'features': {
4471         'dynamic_refresh': True,
4472         'per_profile': False,
4473       },
4474       'example_value': True,
4475       'id': 153,
4476       'caption': '''Disable taking screenshots''',
4477       'desc': '''Disables taking screenshots.
4478
4479       If enabled screenshots cannot be taken using keyboard shortcuts or extension APIs.
4480
4481       If disabled or not specified, taking screenshots is allowed.'''
4482     },
4483     {
4484       'name': 'SystemTimezone',
4485       'type': 'string',
4486       'schema': { 'type': 'string' },
4487       'supported_on': ['chrome_os:22-'],
4488       'device_only': True,
4489       'features': {
4490         'dynamic_refresh': True,
4491       },
4492       'example_value': 'America/Los_Angeles',
4493       'id': 158,
4494       'caption': '''Timezone''',
4495       'desc': '''Specifies the timezone to be used for the device. Users can override the specified timezone for the current session. However, on logout it is set back to the specified timezone. If an invalid value is provided, the policy is still activated using "GMT" instead. If an empty string is provided, the policy is ignored.
4496
4497       If this policy is not used, the currently active timezone will remain in use however users can change the timezone and the change is persistent. Thus a change by one user affects the login-screen and all other users.
4498
4499       New devices start out with the timezone set to "US/Pacific".
4500
4501       The format of the value follows the names of timezones in the "IANA Time Zone Database" (see "http://en.wikipedia.org/wiki/List_of_tz_database_time"). In particular, most timezones can be referred to by "continent/large_city" or "ocean/large_city".''',
4502     },
4503     {
4504       'name': 'SystemUse24HourClock',
4505       'type': 'main',
4506       'schema': { 'type': 'boolean' },
4507       'supported_on': ['chrome_os:30-'],
4508       'device_only': True,
4509       'features': {
4510         'dynamic_refresh': True,
4511       },
4512       'example_value': True,
4513       'id': 236,
4514       'caption': '''Use 24 hour clock by default''',
4515       'desc': '''Specifies the clock format be used for the device.
4516
4517       This policy configures the clock format to use on the login screen and as a default for user sessions. Users can still override the clock format for their account.
4518
4519       If the policy is not set to true, the device will use a 24 hour clock format. If the policy is set to false, the device will use 12 hour clock format.
4520
4521       If this policy is not set, the device will default to a 24 hour clock format.''',
4522     },
4523     {
4524       'name': 'ShowLogoutButtonInTray',
4525       'type': 'main',
4526       'schema': { 'type': 'boolean' },
4527       'supported_on': ['chrome_os:25-'],
4528       'features': {
4529         'dynamic_refresh': True,
4530         'per_profile': True,
4531       },
4532       'example_value': True,
4533       'id': 164,
4534       'caption': '''Add a logout button to the system tray''',
4535       'desc': '''Adds a logout button to the system tray.
4536
4537       If enabled, a big, red logout button is shown in the system tray while a session is active and the screen is not locked.
4538
4539       If disabled or not specified, no big, red logout button is shown in the system tray.''',
4540     },
4541     {
4542       'name': 'BuiltInDnsClientEnabled',
4543       'type': 'main',
4544       'schema': { 'type': 'boolean' },
4545       'supported_on': ['chrome.*:25-'],
4546       'features': {
4547         'dynamic_refresh': True,
4548         'per_profile': False,
4549       },
4550       'example_value': True,
4551       'id': 165,
4552       'caption': '''Use built-in DNS client''',
4553       'desc': '''Controls whether the built-in DNS client is used in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
4554
4555       If this policy is set to true, the built-in DNS client will be used, if available.
4556
4557       If this policy is set to false, the built-in DNS client will never be used.
4558
4559       If this policy is left not set, the users will be able to change whether the built-in DNS client is used by editing chrome://flags or specifying a command-line flag.''',
4560     },
4561     {
4562       'name': 'ShelfAutoHideBehavior',
4563       'type': 'string-enum',
4564       'schema': {
4565         'type': 'string',
4566         'enum': [
4567           'Always',
4568           'Never'
4569         ],
4570       },
4571       'items': [
4572         {
4573           'name': 'AlwaysAutoHideShelf',
4574           'value': 'Always',
4575           'caption': '''Always auto-hide the shelf''',
4576         },
4577         {
4578           'name': 'NeverAutoHideShelf',
4579           'value': 'Never',
4580           'caption': '''Never auto-hide the shelf''',
4581         },
4582       ],
4583       'supported_on': ['chrome_os:25-'],
4584       'features': {
4585         'can_be_recommended': True,
4586         'dynamic_refresh': True,
4587         'per_profile': False,
4588       },
4589       'example_value': 'Always',
4590       'id': 166,
4591       'caption': '''Control shelf auto-hiding''',
4592       'desc': '''Control auto-hiding of the <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> shelf.
4593
4594       If this policy is set to 'AlwaysAutoHideShelf', the shelf will always auto-hide.
4595
4596       If this policy is set to 'NeverAutoHideShelf', the shelf never auto-hide.
4597
4598       If you set this policy, users cannot change or override it.
4599
4600       If the policy is left not set, users can choose whether the shelf should auto-hide.''',
4601     },
4602     {
4603       'name': 'UserDisplayName',
4604       'type': 'string',
4605       'schema': { 'type': 'string' },
4606       'supported_on': ['chrome_os:25-'],
4607       'features': {
4608         'dynamic_refresh': True,
4609         'per_profile': False,
4610       },
4611       'example_value': 'Policy User',
4612       'id': 169,
4613       'caption': '''Set the display name for device-local accounts''',
4614       'desc': '''Controls the account name <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> shows on the login screen for the corresponding device-local account.
4615
4616       If this policy is set, the login screen will use the specified string in the picture-based login chooser for the corresponding device-local account.
4617
4618       If the policy is left not set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will use the device-local account's email account ID as the display name on the login screen.
4619
4620       This policy is ignored for regular user accounts.''',
4621     },
4622     {
4623       'name': 'SessionLengthLimit',
4624       'type': 'int',
4625       'schema': { 'type': 'integer' },
4626       'supported_on': ['chrome_os:25-'],
4627       'features': {
4628         'dynamic_refresh': True,
4629         'per_profile': False,
4630       },
4631       'example_value': 3600000,
4632       'id': 170,
4633       'caption': '''Limit the session length''',
4634       'desc': '''Limit the maximum length of a user session.
4635
4636       When this policy is set, it specifies the length of time after which a user is automatically logged out, terminating the session. The user is informed about the remaining time by a countdown timer shown in the system tray.
4637
4638       When this policy is not set, the session length is not limited.
4639
4640       If you set this policy, users cannot change or override it.
4641
4642       The policy value should be specified in milliseconds. Values are clamped to a range of 30 seconds to 24 hours.''',
4643     },
4644     {
4645       'name': 'FullscreenAllowed',
4646       'type': 'main',
4647       'schema': { 'type': 'boolean' },
4648       'supported_on': ['chrome.win:31-', 'chrome.linux:31-', 'chrome_os:31-'],
4649       'features': {
4650         'dynamic_refresh': True,
4651         'per_profile': True,
4652       },
4653       'example_value': True,
4654       'id': 240,
4655       'caption': '''Allow fullscreen mode''',
4656       'desc': '''Allow fullscreen mode.
4657
4658       This policy controls the availability of fullscreen mode in which all <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> UI is hidden and only web content is visible.
4659
4660       If this policy is set to true or not not configured, the user, apps and extensions with appropriate permissions can enter fullscreen mode.
4661
4662       If this policy is set to false, neither the user nor any apps or extensions can enter fullscreen mode.
4663
4664       On all platforms except <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>, kiosk mode is unavailable when fullscreen mode is disabled.''',
4665     },
4666     {
4667       'name': 'PowerManagement',
4668       'type': 'group',
4669       'caption': '''Power management''',
4670       'desc': '''Configure power management in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.
4671
4672       These policies let you configure how <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> behaves when the user remains idle for some amount of time.''',
4673       'policies': [
4674         {
4675           'name': 'ScreenDimDelayAC',
4676           'type': 'int',
4677           'schema': {
4678             'type': 'integer',
4679             'minimum': 0
4680           },
4681           'supported_on': ['chrome_os:26-'],
4682           'features': {
4683             'dynamic_refresh': True,
4684             'per_profile': False,
4685           },
4686           'example_value': 420000,
4687           'id': 172,
4688           'caption': '''Screen dim delay when running on AC power''',
4689           'desc': '''Specifies the length of time without user input after which the screen is dimmed when running on AC power.
4690
4691           When this policy is set to a value greater than zero, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> dims the screen.
4692
4693           When this policy is set to zero, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> does not dim the screen when the user becomes idle.
4694
4695           When this policy is unset, a default length of time is used.
4696
4697           The policy value should be specified in milliseconds. Values are clamped to be less than or equal the screen off delay (if set) and the idle delay.''',
4698         },
4699         {
4700           'name': 'ScreenOffDelayAC',
4701           'type': 'int',
4702           'schema': {
4703             'type': 'integer',
4704             'minimum': 0
4705           },
4706           'supported_on': ['chrome_os:26-'],
4707           'features': {
4708             'dynamic_refresh': True,
4709             'per_profile': False,
4710           },
4711           'example_value': 480000,
4712           'id': 173,
4713           'caption': '''Screen off delay when running on AC power''',
4714           'desc': '''Specifies the length of time without user input after which the screen is turned off when running on AC power.
4715
4716           When this policy is set to a value greater than zero, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> turns off the screen.
4717
4718           When this policy is set to zero, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> does not turn off the screen when the user becomes idle.
4719
4720           When this policy is unset, a default length of time is used.
4721
4722           The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
4723         },
4724         {
4725           'name': 'ScreenLockDelayAC',
4726           'type': 'int',
4727           'schema': {
4728             'type': 'integer',
4729             'minimum': 0
4730           },
4731           'supported_on': ['chrome_os:26-'],
4732           'features': {
4733             'dynamic_refresh': True,
4734             'per_profile': False,
4735           },
4736           'example_value': 600000,
4737           'id': 174,
4738           'caption': '''Screen lock delay when running on AC power''',
4739           'desc': '''Specifies the length of time without user input after which the screen is locked when running on AC power.
4740
4741           When this policy is set to a value greater than zero, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> locks the screen.
4742
4743           When this policy is set to zero, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> does not lock the screen when the user becomes idle.
4744
4745           When this policy is unset, a default length of time is used.
4746
4747           The recommended way to lock the screen on idle is to enable screen locking on suspend and have <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> suspend after the idle delay. This policy should only be used when screen locking should occur a significant amount of time sooner than suspend or when suspend on idle is not desired at all.
4748
4749           The policy value should be specified in milliseconds. Values are clamped to be less than the idle delay.''',
4750         },
4751         {
4752           'name': 'IdleWarningDelayAC',
4753           'type': 'int',
4754           'schema': {
4755             'type': 'integer',
4756             'minimum': 0
4757           },
4758           'supported_on': ['chrome_os:27-'],
4759           'features': {
4760             'dynamic_refresh': True,
4761             'per_profile': False,
4762           },
4763           'example_value': 545000,
4764           'id': 197,
4765           'caption': '''Idle warning delay when running on AC power''',
4766           'desc': '''Specifies the length of time without user input after which a warning dialog is shown when running on AC power.
4767
4768           When this policy is set, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> shows a warning dialog telling the user that the idle action is about to be taken.
4769
4770           When this policy is unset, no warning dialog is shown.
4771
4772           The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
4773         },
4774         {
4775           'name': 'IdleDelayAC',
4776           'type': 'int',
4777           'schema': {
4778             'type': 'integer',
4779             'minimum': 0
4780           },
4781           'supported_on': ['chrome_os:26-'],
4782           'features': {
4783             'dynamic_refresh': True,
4784             'per_profile': False,
4785           },
4786           'example_value': 1800000,
4787           'id': 175,
4788           'caption': '''Idle delay when running on AC power''',
4789           'desc': '''Specifies the length of time without user input after which the idle action is taken when running on AC power.
4790
4791           When this policy is set, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> takes the idle action, which can be configured separately.
4792
4793           When this policy is unset, a default length of time is used.
4794
4795           The policy value should be specified in milliseconds.''',
4796         },
4797         {
4798           'name': 'ScreenDimDelayBattery',
4799           'type': 'int',
4800           'schema': {
4801             'type': 'integer',
4802             'minimum': 0
4803           },
4804           'supported_on': ['chrome_os:26-'],
4805           'features': {
4806             'dynamic_refresh': True,
4807             'per_profile': False,
4808           },
4809           'example_value': 300000,
4810           'id': 176,
4811           'caption': '''Screen dim delay when running on battery power''',
4812           'desc': '''Specifies the length of time without user input after which the screen is dimmed when running on battery power.
4813
4814           When this policy is set to a value greater than zero, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> dims the screen.
4815
4816           When this policy is set to zero, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> does not dim the screen when the user becomes idle.
4817
4818           When this policy is unset, a default length of time is used.
4819
4820           The policy value should be specified in milliseconds. Values are clamped to be less than or equal the screen off delay (if set) and the idle delay.''',
4821         },
4822         {
4823           'name': 'ScreenOffDelayBattery',
4824           'type': 'int',
4825           'schema': {
4826             'type': 'integer',
4827             'minimum': 0
4828           },
4829           'supported_on': ['chrome_os:26-'],
4830           'features': {
4831             'dynamic_refresh': True,
4832             'per_profile': False,
4833           },
4834           'example_value': 360000,
4835           'id': 177,
4836           'caption': '''Screen off delay when running on battery power''',
4837           'desc': '''Specifies the length of time without user input after which the screen is turned off when running on battery power.
4838
4839           When this policy is set to a value greater than zero, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> turns off the screen.
4840
4841           When this policy is set to zero, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> does not turn off the screen when the user becomes idle.
4842
4843           When this policy is unset, a default length of time is used.
4844
4845           The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
4846         },
4847         {
4848           'name': 'ScreenLockDelayBattery',
4849           'type': 'int',
4850           'schema': {
4851             'type': 'integer',
4852             'minimum': 0
4853           },
4854           'supported_on': ['chrome_os:26-'],
4855           'features': {
4856             'dynamic_refresh': True,
4857             'per_profile': False,
4858           },
4859           'example_value': 600000,
4860           'id': 178,
4861           'caption': '''Screen lock delay when running on battery power''',
4862           'desc': '''Specifies the length of time without user input after which the screen is locked when running on battery power.
4863
4864           When this policy is set to a value greater than zero, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> locks the screen.
4865
4866           When this policy is set to zero, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> does not lock the screen when the user becomes idle.
4867
4868           When this policy is unset, a default length of time is used.
4869
4870           The recommended way to lock the screen on idle is to enable screen locking on suspend and have <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> suspend after the idle delay. This policy should only be used when screen locking should occur a significant amount of time sooner than suspend or when suspend on idle is not desired at all.
4871
4872           The policy value should be specified in milliseconds. Values are clamped to be less than the idle delay.''',
4873         },
4874         {
4875           'name': 'IdleWarningDelayBattery',
4876           'type': 'int',
4877           'schema': {
4878             'type': 'integer',
4879             'minimum': 0
4880           },
4881           'supported_on': ['chrome_os:27-'],
4882           'features': {
4883             'dynamic_refresh': True,
4884             'per_profile': False,
4885           },
4886           'example_value': 545000,
4887           'id': 198,
4888           'caption': '''Idle warning delay when running on battery power''',
4889           'desc': '''Specifies the length of time without user input after which a warning dialog is shown when running on battery power.
4890
4891           When this policy is set, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> shows a warning dialog telling the user that the idle action is about to be taken.
4892
4893           When this policy is unset, no warning dialog is shown.
4894
4895           The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
4896         },
4897         {
4898           'name': 'IdleDelayBattery',
4899           'type': 'int',
4900           'schema': {
4901             'type': 'integer',
4902             'minimum': 0
4903           },
4904           'supported_on': ['chrome_os:26-'],
4905           'features': {
4906             'dynamic_refresh': True,
4907             'per_profile': False,
4908           },
4909           'example_value': 600000,
4910           'id': 179,
4911           'caption': '''Idle delay when running on battery power''',
4912           'desc': '''Specifies the length of time without user input after which the idle action is taken when running on battery power.
4913
4914           When this policy is set, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> takes the idle action, which can be configured separately.
4915
4916           When this policy is unset, a default length of time is used.
4917
4918           The policy value should be specified in milliseconds.''',
4919         },
4920         {
4921           'name': 'IdleAction',
4922           'type': 'int-enum',
4923           'schema': {
4924             'type': 'integer',
4925             'enum': [ 0, 1, 2, 3 ],
4926           },
4927           'items': [
4928             {
4929               'name': 'IdleActionSuspend',
4930               'value': 0,
4931               'caption': '''Suspend''',
4932             },
4933             {
4934               'name': 'IdleActionLogout',
4935               'value': 1,
4936               'caption': '''Log the user out''',
4937             },
4938             {
4939               'name': 'IdleActionShutdown',
4940               'value': 2,
4941               'caption': '''Shut down''',
4942             },
4943             {
4944               'name': 'IdleActionDoNothing',
4945               'value': 3,
4946               'caption': '''Do nothing''',
4947             },
4948           ],
4949           'supported_on': ['chrome_os:26-'],
4950           'features': {
4951             'dynamic_refresh': True,
4952             'per_profile': False,
4953           },
4954           'deprecated': True,
4955           'example_value': 0,
4956           'id': 180,
4957           'caption': '''Action to take when the idle delay is reached''',
4958           'desc': '''Specify the action to take when the idle delay is reached.
4959
4960           Note that this policy is deprecated and will be removed in the future.
4961
4962           This policy provides a fallback value for the more-specific <ph name="IDLEACTIONAC_POLICY_NAME">IdleActionAC</ph> and <ph name="IDLEACTIONBATTERY_POLICY_NAME">IdleActionBattery</ph> policies. If this policy is set, its value gets used if the respective more-specific policy is not set.
4963
4964           When this policy is unset, behavior of the more-specific policies remains unaffected.''',
4965         },
4966         {
4967           'name': 'IdleActionAC',
4968           'type': 'int-enum',
4969           'schema': {
4970             'type': 'integer',
4971             'enum': [ 0, 1, 2, 3 ],
4972           },
4973           'items': [
4974             {
4975               'name': 'IdleActionSuspend',
4976               'value': 0,
4977               'caption': '''Suspend''',
4978             },
4979             {
4980               'name': 'IdleActionLogout',
4981               'value': 1,
4982               'caption': '''Log the user out''',
4983             },
4984             {
4985               'name': 'IdleActionShutdown',
4986               'value': 2,
4987               'caption': '''Shut down''',
4988             },
4989             {
4990               'name': 'IdleActionDoNothing',
4991               'value': 3,
4992               'caption': '''Do nothing''',
4993             },
4994           ],
4995           'supported_on': ['chrome_os:30-'],
4996           'features': {
4997             'dynamic_refresh': True,
4998             'per_profile': False,
4999           },
5000           'example_value': 0,
5001           'id': 226,
5002           'caption': '''Action to take when the idle delay is reached while running on AC power''',
5003           'desc': '''Specify the action to take when the idle delay is reached while running on AC power.
5004
5005           When this policy is set, it specifies the action that <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> takes when the user remains idle for the length of time given by the idle delay, which can be configured separately.
5006
5007           When this policy is unset, the default action is taken, which is suspend.
5008
5009           If the action is suspend, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can separately be configured to either lock or not lock the screen before suspending.''',
5010         },
5011         {
5012           'name': 'IdleActionBattery',
5013           'type': 'int-enum',
5014           'schema': {
5015             'type': 'integer',
5016             'enum': [ 0, 1, 2, 3 ],
5017           },
5018           'items': [
5019             {
5020               'name': 'IdleActionSuspend',
5021               'value': 0,
5022               'caption': '''Suspend''',
5023             },
5024             {
5025               'name': 'IdleActionLogout',
5026               'value': 1,
5027               'caption': '''Log the user out''',
5028             },
5029             {
5030               'name': 'IdleActionShutdown',
5031               'value': 2,
5032               'caption': '''Shut down''',
5033             },
5034             {
5035               'name': 'IdleActionDoNothing',
5036               'value': 3,
5037               'caption': '''Do nothing''',
5038             },
5039           ],
5040           'supported_on': ['chrome_os:30-'],
5041           'features': {
5042             'dynamic_refresh': True,
5043             'per_profile': False,
5044           },
5045           'example_value': 0,
5046           'id': 222,
5047           'caption': '''Action to take when the idle delay is reached while running on battery power''',
5048           'desc': '''Specify the action to take when the idle delay is reached while running on battery power.
5049
5050           When this policy is set, it specifies the action that <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> takes when the user remains idle for the length of time given by the idle delay, which can be configured separately.
5051
5052           When this policy is unset, the default action is taken, which is suspend.
5053
5054           If the action is suspend, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can separately be configured to either lock or not lock the screen before suspending.''',
5055         },
5056         {
5057           'name': 'LidCloseAction',
5058           'type': 'int-enum',
5059           'schema': {
5060             'type': 'integer',
5061             'enum': [ 0, 1, 2, 3 ],
5062           },
5063           'items': [
5064             {
5065               'name': 'LidCloseActionSuspend',
5066               'value': 0,
5067               'caption': '''Suspend''',
5068             },
5069             {
5070               'name': 'LidCloseActionLogout',
5071               'value': 1,
5072               'caption': '''Log the user out''',
5073             },
5074             {
5075               'name': 'LidCloseActionShutdown',
5076               'value': 2,
5077               'caption': '''Shut down''',
5078             },
5079             {
5080               'name': 'LidCloseActionDoNothing',
5081               'value': 3,
5082               'caption': '''Do nothing''',
5083             },
5084           ],
5085           'supported_on': ['chrome_os:26-'],
5086           'features': {
5087             'dynamic_refresh': True,
5088             'per_profile': False,
5089           },
5090           'example_value': 0,
5091           'id': 181,
5092           'caption': '''Action to take when the user closes the lid''',
5093           'desc': '''Specify the action to take when the user closes the lid.
5094
5095           When this policy is set, it specifies the action that <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> takes when the user closes the device's lid.
5096
5097           When this policy is unset, the default action is taken, which is suspend.
5098
5099           If the action is suspend, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can separately be configured to either lock or not lock the screen before suspending.''',
5100         },
5101         {
5102           'name': 'PowerManagementUsesAudioActivity',
5103           'type': 'main',
5104           'schema': { 'type': 'boolean' },
5105           'supported_on': ['chrome_os:26-'],
5106           'features': {
5107             'dynamic_refresh': True,
5108             'per_profile': False,
5109           },
5110           'example_value': True,
5111           'id': 182,
5112           'caption': '''Specify whether audio activity affects power management''',
5113           'desc': '''Specifies whether audio activity affects power management.
5114
5115           If this policy is set to True or is unset, the user is not considered to be idle while audio is playing. This prevents the idle timeout from being reached and the idle action from being taken. However, screen dimming, screen off and screen lock will be performed after the configured timeouts, irrespective of audio activity.
5116
5117           If this policy is set to False, audio activity does not prevent the user from being considered idle.''',
5118         },
5119         {
5120           'name': 'PowerManagementUsesVideoActivity',
5121           'type': 'main',
5122           'schema': { 'type': 'boolean' },
5123           'supported_on': ['chrome_os:26-'],
5124           'features': {
5125             'dynamic_refresh': True,
5126             'per_profile': False,
5127           },
5128           'example_value': True,
5129           'id': 183,
5130           'caption': '''Specify whether video activity affects power management''',
5131           'desc': '''Specifies whether video activity affects power management.
5132
5133           If this policy is set to True or is unset, the user is not considered to be idle while video is playing. This prevents the idle delay, screen dim delay, screen off delay and screen lock delay from being reached and the corresponding actions from being taken.
5134
5135           If this policy is set to False, video activity does not prevent the user from being considered idle.''',
5136         },
5137         {
5138           'name': 'PresentationIdleDelayScale',
5139           'type': 'int',
5140           'schema': { 'type': 'integer' },
5141           'supported_on': ['chrome_os:26-28'],
5142           'features': {
5143             'dynamic_refresh': True,
5144             'per_profile': False,
5145           },
5146           'deprecated': True,
5147           'example_value': 200,
5148           'id': 184,
5149           'caption': '''Percentage by which to scale the idle delay in presentation mode (deprecated)''',
5150           'desc': '''This policy has been retired as of <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> version 29. Please use the PresentationScreenDimDelayScale policy instead.''',
5151         },
5152         {
5153           'name': 'PresentationScreenDimDelayScale',
5154           'type': 'int',
5155           'schema': { 'type': 'integer' },
5156           'supported_on': ['chrome_os:29-'],
5157           'features': {
5158             'dynamic_refresh': True,
5159             'per_profile': False,
5160           },
5161           'example_value': 200,
5162           'id': 220,
5163           'caption': '''Percentage by which to scale the screen dim delay in presentation mode''',
5164           'desc': '''Specifies the percentage by which the screen dim delay is scaled when the device is in presentation mode.
5165
5166           If this policy is set, it specifies the percentage by which the screen dim delay is scaled when the device is in presentation mode. When the screen dim delay is scaled, the screen off, screen lock and idle delays get adjusted to maintain the same distances from the screen dim delay as originally configured.
5167
5168           If this policy is unset, a default scale factor is used.
5169
5170           The scale factor must be 100% or more. Values that would make the screen dim delay in presentation mode shorter than the regular screen dim delay are not allowed.''',
5171         },
5172         {
5173           'name': 'AllowScreenWakeLocks',
5174           'type': 'main',
5175           'schema': { 'type': 'boolean' },
5176           'supported_on': ['chrome_os:28-'],
5177           'features': {
5178             'dynamic_refresh': True,
5179             'per_profile': False,
5180           },
5181           'example_value': False,
5182           'id': 203,
5183           'caption': '''Allow screen wake locks''',
5184           'desc': '''Specifies whether screen wake locks are allowed. Screen wake locks can be requested by extensions via the power management extension API.
5185
5186           If this policy is set to true or left not set, screen wake locks will be honored for power management.
5187
5188           If this policy is set to false, screen wake lock requests will get ignored.''',
5189         },
5190         {
5191           'name': 'UserActivityScreenDimDelayScale',
5192           'type': 'int',
5193           'schema': { 'type': 'integer' },
5194           'supported_on': ['chrome_os:29-'],
5195           'features': {
5196             'dynamic_refresh': True,
5197             'per_profile': False,
5198           },
5199           'example_value': 200,
5200           'id': 210,
5201           'caption': '''Percentage by which to scale the screen dim delay if the user becomes active after dimming''',
5202           'desc': '''Specifies the percentage by which the screen dim delay is scaled when user activity is observed while the screen is dimmed or soon after the screen has been turned off.
5203
5204           If this policy is set, it specifies the percentage by which the screen dim delay is scaled when user activity is observed while the screen is dimmed or soon after the screen has been turned off. When the dim delay is scaled, the screen off, screen lock and idle delays get adjusted to maintain the same distances from the screen dim delay as originally configured.
5205
5206           If this policy is unset, a default scale factor is used.
5207
5208           The scale factor must be 100% or more.''',
5209         },
5210         {
5211           'name': 'WaitForInitialUserActivity',
5212           'type': 'main',
5213           'schema': { 'type': 'boolean' },
5214           'supported_on': ['chrome_os:32-'],
5215           'features': {
5216             'dynamic_refresh': True,
5217             'per_profile': False,
5218           },
5219           'example_value': True,
5220           'id': 247,
5221           'caption': '''Wait for initial user activity''',
5222           'desc': '''Specifies whether power management delays and the session length limit should only start running after the first user activity has been observed in a session.
5223
5224           If this policy is set to True, power management delays and the session length limit do not start running until after the first user activity has been observed in a session.
5225
5226           If this policy is set to False or left unset, power management delays and the session length limit start running immediately on session start.''',
5227         },
5228       ],
5229     },
5230     {
5231       # TODO(bartfab): Change the policy type to 'dict' once this is fully
5232       # supported. http://crbug.com/258339
5233       'name': 'DeviceLoginScreenPowerManagement',
5234       'type': 'string',
5235       'schema': { 'type': 'string' },
5236       'supported_on': ['chrome_os:30-'],
5237       'device_only': True,
5238       'features': {
5239         'dynamic_refresh': True,
5240       },
5241       'example_value': '{ "AC": { "IdleAction": "DoNothing" }, "Battery": { "IdleAction": "DoNothing" } }',
5242       'id': 225,
5243       'caption': '''Power management on the login screen''',
5244       'desc': '''Configure power management on the login screen in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.
5245
5246       This policy lets you configure how <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> behaves when there is no user activity for some amount of time while the login screen is being shown. The policy controls multiple settings. For their individual semantics and value ranges, see the corresponding policies that control power management within a session. The only deviations from these policies are:
5247       * The actions to take on idle or lid close cannot be to end the session.
5248       * The default action taken on idle when running on AC power is to shut down.
5249
5250       The policy should be specified as a string that expresses the individual settings in JSON format, conforming to the following schema:
5251       {
5252         "type": "object",
5253         "properties": {
5254           "AC": {
5255             "description": "Power management settings applicable only when running on AC power",
5256             "type": "object",
5257             "properties": {
5258               "Delays": {
5259                 "type": "object",
5260                 "properties": {
5261                   "ScreenDim": {
5262                     "description": "The length of time without user input after which the screen is dimmed, in milliseconds",
5263                     "type": "integer",
5264                     "minimum": 0
5265                   },
5266                   "ScreenOff": {
5267                     "description": "The length of time without user input after which the screen is turned off, in milliseconds",
5268                     "type": "integer",
5269                     "minimum": 0
5270                   },
5271                   "Idle": {
5272                     "description": "The length of time without user input after which the idle action is taken, in milliseconds",
5273                     "type": "integer",
5274                     "minimum": 0
5275                   }
5276                 }
5277               },
5278               "IdleAction": {
5279                 "description": "Action to take when the idle delay is reached",
5280                 "enum": [ "Suspend", "Shutdown", "DoNothing" ]
5281               }
5282             }
5283           },
5284           "Battery": {
5285             "description": "Power management settings applicable only when running on battery power",
5286             "type": "object",
5287             "properties": {
5288               "Delays": {
5289                 "type": "object",
5290                 "properties": {
5291                   "ScreenDim": {
5292                     "description": "The length of time without user input after which the screen is dimmed, in milliseconds",
5293                     "type": "integer",
5294                     "minimum": 0
5295                   },
5296                   "ScreenOff": {
5297                     "description": "The length of time without user input after which the screen is turned off, in milliseconds",
5298                     "type": "integer",
5299                     "minimum": 0
5300                   },
5301                   "Idle": {
5302                     "description": "The length of time without user input after which the idle action is taken, in milliseconds",
5303                     "type": "integer",
5304                     "minimum": 0
5305                   }
5306                 }
5307               },
5308               "IdleAction": {
5309                 "description": "Action to take when the idle delay is reached",
5310                 "enum": [ "Suspend", "Shutdown", "DoNothing" ]
5311               }
5312             }
5313           },
5314           "LidCloseAction": {
5315             "description": "Action to take when the lid is closed",
5316             "enum": [ "Suspend", "Shutdown", "DoNothing" ]
5317           },
5318           "UserActivityScreenDimDelayScale": {
5319             "description": "Percentage by which the screen dim delay is scaled when user activity is observed while the screen is dimmed or soon after the screen has been turned off",
5320             "type": "integer",
5321             "minimum": 100
5322           }
5323         }
5324       }
5325
5326       If a setting is left unspecified, a default value is used.
5327
5328       If this policy is unset, defaults are used for all settings.''',
5329     },
5330     {
5331       'name': 'DeviceAllowRedeemChromeOsRegistrationOffers',
5332       'type': 'main',
5333       'schema': { 'type': 'boolean' },
5334       'supported_on': ['chrome_os:26-'],
5335       'device_only': True,
5336       'features': {
5337         'dynamic_refresh': True,
5338       },
5339       'example_value': True,
5340       'id': 185,
5341       'caption': '''Allow users to redeem offers through Chrome OS Registration''',
5342       'desc': '''IT admins for enterprise devices can use this flag to control whether to allow users to redeem offers through Chrome OS Registration.
5343
5344       If this policy is set to true or left not set, users will be able to redeem offers through Chrome OS Registration.
5345
5346       If this policy is set to false, user will not be able to redeem offers.''',
5347     },
5348     {
5349       'name': 'TermsOfServiceURL',
5350       'type': 'string',
5351       'schema': { 'type': 'string' },
5352       'supported_on': ['chrome_os:26-'],
5353       'features': {
5354         'dynamic_refresh': True,
5355         'per_profile': False,
5356       },
5357       'example_value': 'http://www.example.com/terms_of_service.txt',
5358       'id': 186,
5359       'caption': '''Set the Terms of Service for a device-local account''',
5360       'desc': '''Sets the Terms of Service that the user must accept before starting a device-local account session.
5361
5362       If this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will download the Terms of Service and present them to the user whenever a device-local account session is starting. The user will only be allowed into the session after accepting the Terms of Service.
5363
5364       If this policy is not set, no Terms of Service are shown.
5365
5366       The policy should be set to a URL from which <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can download the Terms of Service. The Terms of Service must be plain text, served as MIME type text/plain. No markup is allowed.''',
5367     },
5368     {
5369       'name': 'Accessibility',
5370       'type': 'group',
5371       'caption': '''Accessibility settings''',
5372       'desc': '''Configure <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> accessibility features.''',
5373       'policies': [
5374         {
5375           'name': 'ShowAccessibilityOptionsInSystemTrayMenu',
5376           'type': 'main',
5377           'schema': { 'type': 'boolean' },
5378           'supported_on': ['chrome_os:27-'],
5379           'features': {
5380             'can_be_recommended': True,
5381             'dynamic_refresh': True,
5382             'per_profile': True,
5383           },
5384           'example_value': True,
5385           'id': 188,
5386           'caption': '''Show accessibility options in system tray menu''',
5387           'desc': '''Show <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> accessibility options in the system menu.
5388
5389           If this policy is set to true, Accessibility options always appear in system tray menu.
5390
5391           If this policy is set to false, Accessibility options never appear in system tray menu.
5392
5393           If you set this policy, users cannot change or override it.
5394
5395           If this policy is left unset, Accessibility options will not appear in the system tray menu, but the user can cause the Accessibility options to appear via the Settings page.'''
5396         },
5397         {
5398           'name': 'LargeCursorEnabled',
5399           'type': 'main',
5400           'schema': { 'type': 'boolean' },
5401           'supported_on': ['chrome_os:29-'],
5402           'features': {
5403             'can_be_recommended': True,
5404             'dynamic_refresh': True,
5405             'per_profile': True,
5406           },
5407           'example_value': True,
5408           'id': 211,
5409           'caption': '''Enable large cursor''',
5410           'desc': '''Enable the large cursor accessibility feature.
5411
5412           If this policy is set to true, the large cursor will always be enabled.
5413
5414           If this policy is set to false, the large cursor will always be disabled.
5415
5416           If you set this policy, users cannot change or override it.
5417
5418           If this policy is left unset, the large cursor is disabled initially but can be enabled by the user anytime.'''
5419         },
5420         {
5421           'name': 'SpokenFeedbackEnabled',
5422           'type': 'main',
5423           'schema': { 'type': 'boolean' },
5424           'supported_on': ['chrome_os:29-'],
5425           'features': {
5426             'can_be_recommended': True,
5427             'dynamic_refresh': True,
5428             'per_profile': True,
5429           },
5430           'example_value': True,
5431           'id': 212,
5432           'caption': '''Enable spoken feedback''',
5433           'desc': '''Enable the spoken feedback accessibility feature.
5434
5435           If this policy is set to true, spoken feedback will always be enabled.
5436
5437           If this policy is set to false, spoken feedback will always be disabled.
5438
5439           If you set this policy, users cannot change or override it.
5440
5441           If this policy is left unset, spoken feedback is disabled initially but can be enabled by the user anytime.'''
5442         },
5443         {
5444           'name': 'HighContrastEnabled',
5445           'type': 'main',
5446           'schema': { 'type': 'boolean' },
5447           'supported_on': ['chrome_os:29-'],
5448           'features': {
5449             'can_be_recommended': True,
5450             'dynamic_refresh': True,
5451             'per_profile': True,
5452           },
5453           'example_value': True,
5454           'id': 213,
5455           'caption': '''Enable high contrast mode''',
5456           'desc': '''Enable the high contrast mode accessibility feature.
5457
5458           If this policy is set to true, high contrast mode will always be enabled.
5459
5460           If this policy is set to false, high contrast mode will always be disabled.
5461
5462           If you set this policy, users cannot change or override it.
5463
5464           If this policy is left unset, high contrast mode is disabled initially but can be enabled by the user anytime.'''
5465         },
5466         {
5467           'name': 'VirtualKeyboardEnabled',
5468           'type': 'main',
5469           'schema': { 'type': 'boolean' },
5470           'supported_on': ['chrome_os:34-'],
5471           'features': {
5472             'can_be_recommended': True,
5473             'dynamic_refresh': True,
5474             'per_profile': True,
5475           },
5476           'example_value': True,
5477           'id': 255,
5478           'caption': '''Enable on-screen keyboard''',
5479           'desc': '''Enable the on-screen keyboard accessibility feature.
5480
5481           If this policy is set to true, the on-screen keyboard will always be enabled.
5482
5483           If this policy is set to false, the on-screen keyboard will always be disabled.
5484
5485           If you set this policy, users cannot change or override it.
5486
5487           If this policy is left unset, the on-screen keyboard is disabled initially but can be enabled by the user anytime.'''
5488         },
5489         {
5490           'name': 'ScreenMagnifierType',
5491           'type': 'int-enum',
5492           'schema': {
5493             'type': 'integer',
5494             'enum': [ 0, 1 ],
5495           },
5496           'items': [
5497             {
5498               'name': 'None',
5499               'value': 0,
5500               'caption': '''Screen magnifier disabled''',
5501             },
5502             {
5503               'name': 'Full-screen',
5504               'value': 1,
5505               'caption': '''Full-screen magnifier enabled''',
5506             },
5507           ],
5508           'supported_on': ['chrome_os:29-'],
5509           'features': {
5510             'can_be_recommended': True,
5511             'dynamic_refresh': True,
5512             'per_profile': True,
5513           },
5514           'example_value': 1,
5515           'id': 214,
5516           'caption': '''Set screen magnifier type''',
5517           'desc': '''Set the type of screen magnifier that is enabled.
5518
5519           If this policy is set, it controls the type of screen magnifier that is enabled. Setting the policy to "None" disables the screen magnifier.
5520
5521           If you set this policy, users cannot change or override it.
5522
5523           If this policy is left unset, the screen magnifier is disabled initially but can be enabled by the user anytime.''',
5524         },
5525         {
5526           'name': 'DeviceLoginScreenDefaultLargeCursorEnabled',
5527           'type': 'main',
5528           'schema': { 'type': 'boolean' },
5529           'supported_on': ['chrome_os:29-'],
5530           'device_only': True,
5531           'features': {
5532             'dynamic_refresh': True,
5533           },
5534           'example_value': True,
5535           'id': 215,
5536           'caption': '''Set default state of the large cursor on the login screen''',
5537           'desc': '''Set the default state of the large cursor accessibility feature on the login screen.
5538
5539           If this policy is set to true, the large cursor will be enabled when the login screen is shown.
5540
5541           If this policy is set to false, the large cursor will be disabled when the login screen is shown.
5542
5543           If you set this policy, users can temporarily override it by enabling or disabling the large cursor. However, the user's choice is not persistent and the default is restored whenever the login screen is shown anew or the user remains idle on the login screen for a minute.
5544
5545           If this policy is left unset, the large cursor is disabled when the login screen is first shown. Users can enable or disable the large cursor anytime and its status on the login screen is persisted between users.''',
5546         },
5547         {
5548           'name': 'DeviceLoginScreenDefaultSpokenFeedbackEnabled',
5549           'type': 'main',
5550           'schema': { 'type': 'boolean' },
5551           'supported_on': ['chrome_os:29-'],
5552           'device_only': True,
5553           'features': {
5554             'dynamic_refresh': True,
5555           },
5556           'example_value': True,
5557           'id': 216,
5558           'caption': '''Set the default state of spoken feedback on the login screen''',
5559           'desc': '''Set the default state of the spoken feedback accessibility feature on the login screen.
5560
5561           If this policy is set to true, spoken feedback will be enabled when the login screen is shown.
5562
5563           If this policy is set to false, spoken feedback will be disabled when the login screen is shown.
5564
5565           If you set this policy, users can temporarily override it by enabling or disabling spoken feedback. However, the user's choice is not persistent and the default is restored whenever the login screen is shown anew or the user remains idle on the login screen for a minute.
5566
5567           If this policy is left unset, spoken feedback is disabled when the login screen is first shown. Users can enable or disable spoken feedback anytime and its status on the login screen is persisted between users.''',
5568         },
5569         {
5570           'name': 'DeviceLoginScreenDefaultHighContrastEnabled',
5571           'type': 'main',
5572           'schema': { 'type': 'boolean' },
5573           'supported_on': ['chrome_os:29-'],
5574           'device_only': True,
5575           'features': {
5576             'dynamic_refresh': True,
5577           },
5578           'example_value': True,
5579           'id': 217,
5580           'caption': '''Set the default state of high contrast mode on the login screen''',
5581           'desc': '''Set the default state of the high contrast mode accessibility feature on the login screen.
5582
5583           If this policy is set to true, high contrast mode will be enabled when the login screen is shown.
5584
5585           If this policy is set to false, high contrast mode will be disabled when the login screen is shown.
5586
5587           If you set this policy, users can temporarily override it by enabling or disabling high contrast mode. However, the user's choice is not persistent and the default is restored whenever the login screen is shown anew or the user remains idle on the login screen for a minute.
5588
5589           If this policy is left unset, high contrast mode is disabled when the login screen is first shown. Users can enable or disable high contrast mode anytime and its status on the login screen is persisted between users.''',
5590         },
5591         {
5592           'name': 'DeviceLoginScreenDefaultVirtualKeyboardEnabled',
5593           'type': 'main',
5594           'schema': { 'type': 'boolean' },
5595           'supported_on': ['chrome_os:34-'],
5596           'device_only': True,
5597           'features': {
5598             'dynamic_refresh': True,
5599           },
5600           'example_value': True,
5601           'id': 256,
5602           'caption': '''Set default state of the on-screen keyboard on the login screen''',
5603           'desc': '''Set the default state of the on-screen keyboard accessibility feature on the login screen.
5604
5605           If this policy is set to true, the on-screen keyboard will be enabled when the login screen is shown.
5606
5607           If this policy is set to false, the on-screen keyboard will be disabled when the login screen is shown.
5608
5609           If you set this policy, users can temporarily override it by enabling or disabling the on-screen keyboard. However, the user's choice is not persistent and the default is restored whenever the login screen is shown anew or the user remains idle on the login screen for a minute.
5610
5611           If this policy is left unset, the on-screen keyboard is disabled when the login screen is first shown. Users can enable or disable the on-screen keyboard anytime and its status on the login screen is persisted between users.''',
5612         },
5613         {
5614           'name': 'DeviceLoginScreenDefaultScreenMagnifierType',
5615           'type': 'int-enum',
5616           'schema': {
5617             'type': 'integer',
5618             'enum': [ 0, 1 ],
5619           },
5620           'items': [
5621             {
5622               'name': 'None',
5623               'value': 0,
5624               'caption': '''Screen magnifier disabled''',
5625             },
5626             {
5627               'name': 'Full-screen',
5628               'value': 1,
5629               'caption': '''Full-screen magnifier enabled''',
5630             },
5631           ],
5632           'supported_on': ['chrome_os:29-'],
5633           'device_only': True,
5634           'features': {
5635             'dynamic_refresh': True,
5636           },
5637           'example_value': 1,
5638           'id': 218,
5639           'caption': '''Set the default screen magnifier type enabled on the login screen''',
5640           'desc': '''Set the default type of screen magnifier that is enabled on the login screen.
5641
5642           If this policy is set, it controls the type of screen magnifier that is enabled when the login screen is shown. Setting the policy to "None" disables the screen magnifier.
5643
5644           If you set this policy, users can temporarily override it by enabling or disabling the screen magnifier. However, the user's choice is not persistent and the default is restored whenever the login screen is shown anew or the user remains idle on the login screen for a minute.
5645
5646           If this policy is left unset, the screen magnifier is disabled when the login screen is first shown. Users can enable or disable the screen magnifier anytime and its status on the login screen is persisted between users.''',
5647         },
5648       ],
5649     },
5650     {
5651       'name': 'HideWebStoreIcon',
5652       'type': 'main',
5653       'schema': { 'type': 'boolean' },
5654       'supported_on': ['chrome.*:26-'],
5655       'features': {
5656         'dynamic_refresh': True,
5657         'per_profile': True,
5658       },
5659       'example_value': True,
5660       'id': 189,
5661       'caption': '''Hide the web store from the new tab page and app launcher''',
5662       'desc': '''Hide the Chrome Web Store app and footer link from the New Tab Page and Chrome OS app launcher.
5663
5664       When this policy is set to true, the icons are hidden.
5665
5666       When this policy is set to false or is not configured, the icons are visible.''',
5667     },
5668     {
5669       'name': 'DeviceStartUpFlags',
5670       'type': 'list',
5671       'schema': {
5672         'type': 'array',
5673         'items': { 'type': 'string' },
5674       },
5675       'supported_on': ['chrome_os:27-'],
5676       'device_only': True,
5677       'features': {
5678         'dynamic_refresh': False,
5679       },
5680       'example_value': [ "enable-managed-mode", "my-cool-flag" ],
5681       'id': 191,
5682       'caption': '''System wide flags to be applied on Chrome start-up''',
5683       'desc': '''Specifies the flags that should be applied to Chrome when it starts. The specified flags are applied before Chrome is started even for the sign-in screen.''',
5684     },
5685     {
5686       'name': 'UptimeLimit',
5687       'type': 'int',
5688       'schema': { 'type': 'integer' },
5689       'supported_on': ['chrome_os:29-'],
5690       'device_only': True,
5691       'features': {
5692         'dynamic_refresh': True,
5693       },
5694       'example_value': 86400,
5695       'id': 192,
5696       'caption': '''Limit device uptime by automatically rebooting''',
5697       'desc': '''Limit the device uptime by scheduling automatic reboots.
5698
5699       When this policy is set, it specifies the length of device uptime after which an automatic reboot is scheduled.
5700
5701       When this policy is not set, the device uptime is not limited.
5702
5703       If you set this policy, users cannot change or override it.
5704
5705       An automatic reboot is scheduled at the selected time but may be delayed on the device by up to 24 hours if a user is currently using the device.
5706
5707       Note: Currently, automatic reboots are only enabled while the login screen is being shown or a kiosk app session is in progress. This will change in the future and the policy will always apply, regardless of whether a session of any particular type is in progress or not.
5708
5709       The policy value should be specified in seconds. Values are clamped to be at least 3600 (one hour).''',
5710     },
5711     {
5712       'name': 'RebootAfterUpdate',
5713       'type': 'main',
5714       'schema': { 'type': 'boolean' },
5715       'supported_on': ['chrome_os:29-'],
5716       'device_only': True,
5717       'features': {
5718         'dynamic_refresh': True,
5719       },
5720       'example_value': True,
5721       'id': 193,
5722       'caption': '''Automatically reboot after update''',
5723       'desc': '''Schedule an automatic reboot after a <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> update has been applied.
5724
5725       When this policy is set to true, an automatic reboot is scheduled when a <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> update has been applied and a reboot is required to complete the update process. The reboot is scheduled immediately but may be delayed on the device by up to 24 hours if a user is currently using the device.
5726
5727       When this policy is set to false, no automatic reboot is scheduled after applying a <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> update. The update process is completed when the user next reboots the device.
5728
5729       If you set this policy, users cannot change or override it.
5730
5731       Note: Currently, automatic reboots are only enabled while the login screen is being shown or a kiosk app session is in progress. This will change in the future and the policy will always apply, regardless of whether a session of any particular type is in progress or not.''',
5732     },
5733     {
5734       'name': 'VariationsRestrictParameter',
5735       'type': 'string',
5736       'schema': { 'type': 'string' },
5737       'supported_on': ['chrome.*:27-', 'android:34-'],
5738       'features': {
5739         'dynamic_refresh': False,
5740         'per_profile': False,
5741       },
5742       'example_value': 'restricted',
5743       'id': 196,
5744       'future': True,
5745       'caption': '''Set the restriction on the fetching of the Variations seed''',
5746       'desc': '''Add a parameter to the fetching of the Variations seed in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
5747
5748       If specified, will add a query parameter called 'restrict' to the URL used to fetch the Variations seed. The value of the parameter will be the value specified in this policy.
5749
5750       If not specified, will not modify the Variations seed URL.''',
5751     },
5752     {
5753       'name': 'DeviceVariationsRestrictParameter',
5754       'type': 'string',
5755       'schema': { 'type': 'string' },
5756       'supported_on': ['chrome_os:28-'],
5757       'features': {
5758         'dynamic_refresh': False,
5759         'per_profile': False,
5760       },
5761       'device_only': True,
5762       'example_value': 'restricted',
5763       'id': 199,
5764       'future': True,
5765       'caption': '''Set the restriction on the fetching of the Variations seed''',
5766       'desc': '''Add a parameter to the fetching of the Variations seed in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.
5767
5768       If specified, will add a query parameter called 'restrict' to the URL used to fetch the Variations seed. The value of the parameter will be the value specified in this policy.
5769
5770       If not specified, will not modify the Variations seed URL.''',
5771     },
5772     {
5773       'name': 'Attestation',
5774       'type': 'group',
5775       'caption': 'Remote Attestation',
5776       'desc': 'Configure the remote attestation with TPM mechanism.',
5777       'policies': [
5778         {
5779           'name': 'AttestationEnabledForDevice',
5780           'type': 'main',
5781           'schema': { 'type': 'boolean' },
5782           'supported_on': ['chrome_os:28-'],
5783           'features': {
5784             'dynamic_refresh': True,
5785             'per_profile': False,
5786           },
5787           'device_only': True,
5788           'example_value': True,
5789           'id': 207,
5790           'caption': '''Enable remote attestation for the device''',
5791           'desc': '''If true, remote attestation is allowed for the device and a certificate will automatically be generated and uploaded to the Device Management Server.
5792
5793           If it is set to false, or if it is not set, no certificate will be generated and calls to the enterprise.platformKeysPrivate extension API will fail.''',
5794         },
5795         {
5796           'name': 'AttestationEnabledForUser',
5797           'type': 'main',
5798           'schema': { 'type': 'boolean' },
5799           'supported_on': ['chrome_os:28-'],
5800           'features': {
5801             'dynamic_refresh': True,
5802             'per_profile': True,
5803           },
5804           'example_value': True,
5805           'id': 200,
5806           'caption': '''Enable remote attestation for the user''',
5807           'desc': '''If true, the user can use the hardware on Chrome devices to remote attest its identity to the privacy CA via the Enterprise Platform Keys API chrome.enterprise.platformKeysPrivate.challengeUserKey().
5808
5809           If it is set to false, or if it is not set, calls to the API will fail with an error code.''',
5810         },
5811         {
5812           'name': 'AttestationExtensionWhitelist',
5813           'type': 'list',
5814           'schema': {
5815             'type': 'array',
5816             'items': { 'type': 'string' },
5817           },
5818           'supported_on': ['chrome_os:28-'],
5819           'features': {
5820             'dynamic_refresh': True,
5821             'per_profile': True,
5822           },
5823           'example_value': ['ghdilpkmfbfdnomkmaiogjhjnggaggoi'],
5824           'id': 201,
5825           'caption': '''Extensions allowed to to use the remote attestation API''',
5826           'desc': '''This policy specifies the allowed extensions to use Enterprise Platform Keys API chrome.enterprise.platformKeysPrivate.challengeUserKey() for remote attestation. Extensions must be added to this list to use the API.
5827
5828           If an extension is not in the list, or the list is not set, the call to the API will fail with an error code.''',
5829         },
5830         {
5831           'name': 'AttestationForContentProtectionEnabled',
5832           'type': 'main',
5833           'schema': { 'type': 'boolean' },
5834           'supported_on': ['chrome_os:31-'],
5835           'features': {
5836             'dynamic_refresh': True,
5837           },
5838           'device_only': True,
5839           'example_value': True,
5840           'id': 239,
5841           'caption': '''Enable the use of remote attestation for content protection for the device''',
5842           'desc': '''Chrome OS devices can use remote attestation (Verified Access) to get a certificate issued by the Chrome OS CA that asserts the device is eligible to play protected content.  This process involves sending hardware endorsement information to the Chrome OS CA which uniquely identifies the device.
5843
5844           If this setting is false, the device will not use remote attestation for content protection and the device may be unable to play protected content.
5845
5846           If this setting is true, or if it is not set, remote attestation may be used for content protection.''',
5847         },
5848       ],
5849     },
5850     {
5851       'name': 'SuppressChromeFrameTurndownPrompt',
5852       'caption': '''Suppress the <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> turndown prompt''',
5853       'desc': '''Suppresses the turndown prompt that appears when a site is rendered by <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>.''',
5854       'type': 'main',
5855       'schema': { 'type': 'boolean' },
5856       'supported_on': ['chrome_frame:29-32'],
5857       'features': {
5858         'dynamic_refresh': False,
5859       },
5860       'example_value': True,
5861       'id': 221,
5862     },
5863     {
5864       'name': 'LocallyManagedUsers',
5865       'type': 'group',
5866       'caption': '''Locally managed users settings''',
5867       'desc': '''Configure settings for managed users.''',
5868       'policies': [
5869         {
5870           'name': 'ContentPackDefaultFilteringBehavior',
5871           'future': True,
5872           'deprecated': True,
5873           'type': 'int-enum',
5874           'schema': {
5875             'type': 'integer',
5876             'enum': [ 0, 1, 2 ],
5877           },
5878           'items': [
5879             {
5880               'name': 'Allow',
5881               'value': 0,
5882               'caption': '''Allow access to sites outside of content packs''',
5883             },
5884             {
5885               'name': 'Warn',
5886               'value': 1,
5887               'caption': '''Warn when visiting sites outside of content packs''',
5888             },
5889             {
5890               'name': 'Block',
5891               'value': 2,
5892               'caption': '''Block access to sites outside of content packs''',
5893             },
5894           ],
5895           'supported_on': ['chrome.*:28-', 'chrome_os:28-'],
5896           'features': {
5897             'dynamic_refresh': True,
5898             'per_profile': True
5899           },
5900           'example_value': 2,
5901           'id': 204,
5902           'caption': '''Default behavior for sites not in any content pack''',
5903           'desc': '''The default behavior for sites not in any content pack.
5904
5905           This policy is for internal use by Chrome itself.''',
5906         },
5907         {
5908           'name': 'ContentPackManualBehaviorHosts',
5909           'future': True,
5910           'deprecated': True,
5911           'type': 'dict',
5912           'schema': {
5913             'type': 'object',
5914             'additionalProperties': {
5915               'type': 'boolean'
5916             }
5917           },
5918           'supported_on': ['chrome.*:28-', 'chrome_os:28-'],
5919           'features': {
5920             'dynamic_refresh': True,
5921             'per_profile': True
5922           },
5923           'example_value': {
5924             'www.example.com': True,
5925             'moose.org': False
5926           },
5927           'id': 205,
5928           'caption': '''Managed user manual exception hosts''',
5929           'desc': '''A dictionary mapping hostnames to a boolean flag specifying whether access to the host should be allowed (true) or blocked (false).
5930
5931           This policy is for internal use by Chrome itself.''',
5932         },
5933         {
5934           'name': 'ContentPackManualBehaviorURLs',
5935           'future': True,
5936           'deprecated': True,
5937           'type': 'dict',
5938           'schema': {
5939             'type': 'object',
5940             'additionalProperties': {
5941               'type': 'boolean'
5942             }
5943           },
5944           'supported_on': ['chrome.*:28-', 'chrome_os:28-'],
5945           'features': {
5946             'dynamic_refresh': True,
5947             'per_profile': True
5948           },
5949           'example_value': {
5950             'https://www.example.com': True,
5951             'http://moose.org': False
5952           },
5953           'id': 206,
5954           'caption': '''Managed user manual exception URLs''',
5955           'desc': '''A dictionary mapping URLs to a boolean flag specifying whether access to the host should be allowed (true) or blocked (false).
5956
5957           This policy is for internal use by Chrome itself.''',
5958         },
5959         {
5960           'name': 'SupervisedUsersEnabled',
5961           'type': 'main',
5962           'schema': { 'type': 'boolean' },
5963           'supported_on': ['chrome_os:29-'],
5964           'device_only': True,
5965           'features': {
5966             'dynamic_refresh': False,
5967           },
5968           'example_value': True,
5969           'id': 219,
5970           'caption': '''Enable supervised users''',
5971           'desc': '''If set to true, supervised users can be created and used.
5972
5973           If set to false or not configured, supervised-user creation and login will be disabled. All existing supervised users will be hidden.
5974
5975           NOTE: The default behavior for consumer and enterprise devices differs: on consumer devices supervised users are enabled by default, but on enterprise devices they are disabled by default.'''
5976         },
5977         {
5978           'name': 'SupervisedUserCreationEnabled',
5979           'type': 'main',
5980           'schema': { 'type': 'boolean' },
5981           'supported_on': ['chrome.*:29-'],
5982           'features': {
5983             'dynamic_refresh': True,
5984             'per_profile': True,
5985           },
5986           'example_value': True,
5987           'id': 223,
5988           'caption': '''Enable creation of supervised users''',
5989           'desc': '''If set to false, supervised-user creation by this user will be disabled. Any existing supervised users will still be available.
5990
5991           If set to true or not configured, supervised users can be created and managed by this user.'''
5992         },
5993       ],
5994     },
5995     # TODO(joaodasilva): replace the 'dict' type with a more generic
5996     # 'json' type. The actual schema type for this should be 'array'.
5997     {
5998       'name': 'ManagedBookmarks',
5999       'type': 'dict',
6000       'schema': {
6001         'type': 'object',
6002         'items': {
6003           'type': 'object',
6004           'properties': {
6005             'name': { 'type': 'string' },
6006             'url': { 'type': 'string' },
6007           },
6008         },
6009       },
6010       'supported_on': ['android:30-'],
6011       'features': {
6012         'dynamic_refresh': True,
6013         'per_profile': True,
6014       },
6015       'future': True,
6016       'example_value': { "name": "Google", "url": "google.com" },
6017       'id': 227,
6018       'caption': '''Managed Bookmarks''',
6019       'desc': '''Configures a list of managed bookmarks.
6020
6021       The policy is a list of bookmarks, and each bookmark is a dictionary containing the bookmark "name" and target "url".
6022
6023       These bookmarks are placed in a Managed bookmarks folder inside the Mobile bookmarks. These bookmarks can't be modified by the user.
6024
6025       When this policy is set then the Managed bookmarks are the default folder opened when the bookmarks view is opened in Chrome.
6026
6027       Managed bookmarks are not synced to the user account.''',
6028     },
6029     {
6030       'name': 'DataCompressionProxyEnabled',
6031       'type': 'main',
6032       'schema': { 'type': 'boolean' },
6033       'supported_on': ['android:31-'],
6034       'features': {
6035         'dynamic_refresh': True,
6036         'per_profile': True,
6037       },
6038       'example_value': True,
6039       'id': 241,
6040       'caption': '''Enable the data compression proxy feature''',
6041       'desc': '''Enable or disable the data compression proxy and prevents users from changing this setting.
6042
6043       If you enable or disable this setting, users cannot change or override this setting.
6044
6045       If this policy is left not set, the data compression proxy feature will be available for the user to choose whether to use it or not.''',
6046     },
6047     {
6048       'name': 'UserAvatarImage',
6049       'type': 'external',
6050       'schema': {
6051         'type': 'object',
6052         'properties': {
6053           'url': { "type": "string" },
6054           'hash': { "type": "string" }
6055         },
6056       },
6057       'supported_on': ['chrome_os:34-'],
6058       'features': {
6059         'dynamic_refresh': True,
6060         'per_profile': True,
6061       },
6062       'example_value': { "url": "http://example.com/avatar.jpg", "hash": "deadbeefdeadbeefdeadbeefdeadbeef" },
6063       'max_size': 524288,
6064       'id': 249,
6065       'caption': '''User avatar image''',
6066       'desc': '''Configure user avatar image.
6067
6068       This policy allows you to configure the avatar image representing the user on the login screen. The policy is set by specifying the URL from which <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can download the avatar image and a cryptographic hash used to verify the integrity of the download. The image must be in JPEG format, its size must not exceed 512kB. The URL must be accessible without any authentication.
6069
6070       The avatar image is downloaded and cached. It will be re-downloaded whenever the URL or the hash changes.
6071
6072       The policy should be specified as a string that expresses the URL and hash in JSON format, conforming to the following schema:
6073       {
6074         "type": "object",
6075         "properties": {
6076           "url": {
6077             "description": "The URL from which the avatar image can be downloaded.",
6078             "type": "string"
6079           },
6080           "hash": {
6081             "description": "The SHA-256 hash of the avatar image.",
6082             "type": "string"
6083           }
6084         }
6085       }
6086
6087       If this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will download and use the avatar image.
6088
6089       If you set this policy, users cannot change or override it.
6090
6091       If the policy is left not set, the user can choose the avatar image representing him/her on the login screen.''',
6092     },
6093   ],
6094   'messages': {
6095     # Messages that are not associated to any policies.
6096     'win_supported_winxpsp2': {
6097       'desc': '''A label specifying the oldest possible compatible version of Windows. This text will appear right next to a label containing the text 'Supported on:'.''',
6098       'text': '''Microsoft Windows XP SP2 or later'''
6099     },
6100     'mac_chrome_preferences': {
6101       'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
6102       'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferences'''
6103     },
6104     'doc_data_type': {
6105       'desc': '''Caption text of the field 'data type' in the summary chart of a policy in the generated documentation''',
6106       'text': '''Data type:'''
6107     },
6108     'doc_win_reg_loc': {
6109       'desc': '''Caption text of the field 'windows registry location' in the summary chart of a policy in the generated documentation''',
6110       'text': '''Windows registry location:'''
6111     },
6112     'doc_mac_linux_pref_name': {
6113       'desc': '''Caption text of the field 'mac/linux preference name' in the summary chart of a policy in the generated documentation''',
6114       'text': '''Mac/Linux preference name:'''
6115     },
6116     'doc_supported_on': {
6117       'desc': '''Caption text of the list of 'products, platforms and versions where this policy is supported' in the summary chart of a policy in the generated documentation''',
6118       'text': '''Supported on:'''
6119     },
6120     'doc_since_version': {
6121       'desc': '''Text in the summary chart of a policy that specifies the version number in which the policy was introduced.''',
6122       'text': '''since version <ph name="SINCE_VERSION">$6<ex>8</ex></ph>'''
6123     },
6124     'doc_until_version': {
6125       'desc': '''Text in the summary chart of a policy that specifies the version number after which the policy was dropped.''',
6126       'text': '''until version <ph name="UNTIL_VERSION">$6<ex>10</ex></ph>'''
6127     },
6128     'doc_supported_features': {
6129       'desc': '''Caption text of the list of 'policy features that this policy supports' in the summary chart of a policy in the generated documentation''',
6130       'text': '''Supported features:'''
6131     },
6132     'doc_description': {
6133       'desc': '''Caption text of the 'description text' in the summary chart of a policy in the generated documentation''',
6134       'text': '''Description:'''
6135     },
6136     'doc_example_value': {
6137       'desc': '''Caption text of the field 'example value' in the summary chart of a policy in the generated documentation''',
6138       'text': '''Example value:'''
6139     },
6140     'doc_intro': {
6141       'desc': '''Introduction text for the generated policy documentation''',
6142       'text': '''This is the list of policies that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> respects.
6143
6144       You don't need to change these settings by hand!  You can download easy-to-use templates from
6145       <ph name="POLICY_TEMPLATE_DOWNLOAD_URL">http://www.chromium.org/administrators/policy-templates<ex>
6146       http://www.chromium.org/administrators/policy-templates</ex></ph>.
6147
6148       The list of supported policies is the same for Chromium and Google Chrome.
6149
6150       These policies are strictly intended to be used to configure instances of Chrome internal to your organization. Use of these policies outside of your organization (for example, in a publicly distributed program) is considered malware and will likely be labeled as malware by Google and anti-virus vendors.
6151
6152       Note: starting with Chrome 28, policies are loaded directly from the Group Policy API on Windows. Policies manually written to the registry will be ignored. See http://crbug.com/259236 for details.'''
6153     },
6154     'doc_back_to_top': {
6155       'desc': '''Text of a link in the generated policy documentation, that takes the user to the top of the page''',
6156       'text': '''Back to top'''
6157     },
6158     'doc_supported': {
6159       'desc': '''Appears next to the name of each supported feature in the 'list of supported policy features' in the generated policy documentation''',
6160       'text': '''Yes'''
6161     },
6162     'doc_not_supported': {
6163       'desc': '''Appears next to the name of each unsupported feature in the 'list of supported policy features' in the generated policy documentation''',
6164       'text': '''No'''
6165     },
6166     'doc_name_column_title': {
6167       'desc': '''Appears at the top of the policy summary table, over the column of policy names, in the generated policy documentation''',
6168       'text': '''Policy Name'''
6169     },
6170     'doc_description_column_title': {
6171       'desc': '''Appears at the top of the policy summary table, over the column of short policy descriptions, in the generated policy documentation''',
6172       'text': '''Description'''
6173     },
6174     'doc_feature_dynamic_refresh': {
6175       'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''',
6176       'text': '''Dynamic Policy Refresh'''
6177     },
6178     'doc_feature_can_be_recommended': {
6179       'desc': '''The name of the feature that indicates for a given policy that it can be recommended, instead of mandatory''',
6180       'text': '''Can Be Recommended'''
6181     },
6182     'doc_feature_per_profile': {
6183       'desc': '''The name of the feature that indicates whether a policy is applicable to browser Profiles individually or whether it affects the entire browser.''',
6184       'text': '''Per Profile'''
6185     },
6186     'doc_deprecated': {
6187       'desc': '''Text appended in parentheses to the policy name to indicate that it has been deprecated''',
6188       'text': 'deprecated',
6189     },
6190     'doc_recommended': {
6191       'desc': '''Text appended in parentheses next to the policies top-level container to indicate that those policies are of the Recommended level''',
6192       'text': 'Default Settings (users can override)',
6193     },
6194   },
6195   'placeholders': [],
6196 }