Upstream version 5.34.92.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: 253
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         'ios:99-',
244       ],
245       'features': {
246         'can_be_recommended': True,
247         'dynamic_refresh': True,
248         'per_profile': True,
249       },
250       'example_value': True,
251       'id': 5,
252       'caption': '''Enable alternate error pages''',
253       '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.
254
255       If you enable this setting, alternate error pages are used.
256
257       If you disable this setting, alternate error pages are never used.
258
259       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>.
260
261       If this policy is left not set, this will be enabled but the user will be able to change it.''',
262     },
263     {
264       'name': 'SearchSuggestEnabled',
265       'type': 'main',
266       'schema': { 'type': 'boolean' },
267       'supported_on': [
268         'chrome.*:8-',
269         'chrome_os:11-',
270         'android:30-',
271         'ios:99-',
272       ],
273       'features': {
274         'can_be_recommended': True,
275         'dynamic_refresh': True,
276         'per_profile': True,
277       },
278       'example_value': True,
279       'id': 6,
280       'caption': '''Enable search suggestions''',
281       'desc': '''Enables search suggestions in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s omnibox and prevents users from changing this setting.
282
283       If you enable this setting, search suggestions are used.
284
285       If you disable this setting, search suggestions are never used.
286
287       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>.
288
289       If this policy is left not set, this will be enabled but the user will be able to change it.''',
290     },
291     {
292       'name': 'DnsPrefetchingEnabled',
293       'type': 'main',
294       'schema': { 'type': 'boolean' },
295       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
296       'features': {
297         'can_be_recommended': True,
298         'dynamic_refresh': True,
299         'per_profile': True,
300       },
301       'example_value': True,
302       'id': 7,
303       'caption': '''Enable network prediction''',
304       'desc': '''Enables network prediction in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
305
306       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.
307
308       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>.
309
310       If this policy is left not set, this will be enabled but the user will be able to change it.''',
311     },
312     {
313       'name': 'DisableSpdy',
314       'type': 'main',
315       'schema': { 'type': 'boolean' },
316       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
317       'features': {
318         'dynamic_refresh': True,
319         'per_profile': False,
320       },
321       'example_value': True,
322       'id': 8,
323       'caption': '''Disable SPDY protocol''',
324       'desc': '''Disables use of the SPDY protocol in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
325
326       If this policy is enabled the SPDY protocol will not be available in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
327
328       Setting this policy to disabled will allow the usage of SPDY.
329
330       If this policy is left not set, SPDY will be available.''',
331     },
332     {
333       'name': 'DisabledSchemes',
334       'type': 'list',
335       'schema': {
336         'type': 'array',
337         'items': { 'type': 'string' },
338       },
339       'supported_on': ['chrome.*:12-', 'chrome_os:12-'],
340       'features': {
341         'dynamic_refresh': True,
342         'per_profile': False,
343       },
344       'deprecated': True,
345       'example_value': ['file', 'https'],
346       'id': 85,
347       'caption': '''Disable URL protocol schemes''',
348       'desc': '''This policy is deprecated, please use URLBlacklist instead.
349
350       Disables the listed protocol schemes in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
351
352       URLs using a scheme from this list will not load and can not be navigated to.
353
354       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>.''',
355       'label': '''List of disabled protocol schemes''',
356     },
357     {
358       'name': 'JavascriptEnabled',
359       'type': 'main',
360       'schema': { 'type': 'boolean' },
361       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
362       'features': {
363         'dynamic_refresh': True,
364         'per_profile': True,
365       },
366       'deprecated': True,
367       'example_value': True,
368       'id': 9,
369       'caption': '''Enable JavaScript''',
370       'desc': '''This policy is deprecated, please use DefaultJavaScriptSetting instead.
371
372       Can be used to disabled JavaScript in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
373
374       If this setting is disabled, web pages cannot use JavaScript and the user cannot change that setting.
375
376       If this setting is enabled or not set, web pages can use JavaScript but the user can change that setting.''',
377     },
378     {
379       'name': 'IncognitoEnabled',
380       'type': 'main',
381       'schema': { 'type': 'boolean' },
382       'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
383       'features': {
384         'dynamic_refresh': True,
385         'per_profile': True,
386       },
387       'deprecated': True,
388       'example_value': False,
389       'id': 10,
390       'caption': '''Enable Incognito mode''',
391       'desc': '''This policy is deprecated. Please, use IncognitoModeAvailability instead.
392       Enables Incognito mode in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
393
394       If this setting is enabled or not configured, users can open web pages in incognito mode.
395
396       If this setting is disabled, users cannot open web pages in incognito mode.
397
398       If this policy is left not set, this will be enabled and the user will be able to use incognito mode.''',
399     },
400     {
401       'name': 'IncognitoModeAvailability',
402       'type': 'int-enum',
403       'schema': {
404         'type': 'integer',
405         'enum': [ 0, 1, 2 ],
406       },
407       'items': [
408         {
409           'name': 'Enabled',
410           'value': 0,
411           'caption': '''Incognito mode available''',
412         },
413         {
414           'name': 'Disabled',
415           'value': 1,
416           'caption': '''Incognito mode disabled''',
417         },
418         {
419           'name': 'Forced',
420           'value': 2,
421           'caption': '''Incognito mode forced''',
422         },
423       ],
424       'supported_on': [
425         'chrome.*:14-',
426         'chrome_os:14-',
427         'android:30-',
428         'ios:99-',
429       ],
430       'features': {
431         'dynamic_refresh': True,
432         'per_profile': True,
433       },
434       'example_value': 1,
435       'id': 93,
436       'caption': '''Incognito mode availability''',
437       'desc': '''Specifies whether the user may open pages in Incognito mode in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
438
439       If 'Enabled' is selected or the policy is left unset, pages may be opened in Incognito mode.
440
441       If 'Disabled' is selected, pages may not be opened in Incognito mode.
442
443       If 'Forced' is selected, pages may be opened ONLY in Incognito mode.''',
444     },
445     {
446       'name': 'SavingBrowserHistoryDisabled',
447       'type': 'main',
448       'schema': { 'type': 'boolean' },
449       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
450       'features': {
451         'dynamic_refresh': True,
452         'per_profile': True,
453       },
454       'example_value': True,
455       'id': 11,
456       'caption': '''Disable saving browser history''',
457       'desc': '''Disables saving browser history in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
458
459       If this setting is enabled, browsing history is not saved.
460
461       If this setting is disabled or not set, browsing history is saved.''',
462     },
463     {
464       'name': 'AllowDeletingBrowserHistory',
465       'future': True,
466       'type': 'main',
467       'schema': { 'type': 'boolean' },
468       # TODO(pamg): Restore the correct 'supported' line when the UI properly
469       # shows that deleting browser history is disabled. Also fix the 'os' line
470       # in policy_test_cases.json.
471       # 'supported_on': ['chrome.*:27-', 'chrome_os:27-'],
472       'supported_on': [],
473       'features': {
474         'dynamic_refresh': True,
475         'per_profile': True,
476       },
477       'example_value': True,
478       'id': 187,
479       'caption': '''Enable deleting browser and download history''',
480       '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.
481
482       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.
483
484       If this setting is enabled or not set, browsing and download history can be deleted.
485
486       If this setting is disabled, browsing and download history cannot be deleted.''',
487     },
488     {
489       'name': 'RemoteAccess',
490       'type': 'group',
491       'caption': '''Configure remote access options''',
492       'desc': '''Configure remote access options in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
493
494       These features are ignored unless the Remote Access web application is installed.''',
495       'policies': [
496         {
497           'name': 'RemoteAccessClientFirewallTraversal',
498           'type': 'main',
499           'schema': { 'type': 'boolean' },
500           'supported_on': ['chrome.*:14-', 'chrome_os:14-'],
501           'features': {
502             'dynamic_refresh': True,
503           },
504           # Mark this 'removed' when http://crbug.com/100216 is resolved.
505           'deprecated': True,
506           'example_value': False,
507           'id': 94,
508           'caption': '''Enable firewall traversal from remote access client''',
509           'desc': '''This policy is no longer supported.
510           Enables usage of STUN and relay servers when connecting to a remote client.
511
512           If this setting is enabled, then this machine can discover and connect to remote host machines even if they are separated by a firewall.
513
514           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.''',
515         },
516         {
517           'name': 'RemoteAccessHostFirewallTraversal',
518           'type': 'main',
519           'schema': { 'type': 'boolean' },
520           'supported_on': ['chrome.*:14-'],
521           'features': {
522             'dynamic_refresh': True,
523             'per_profile': False,
524           },
525           'example_value': False,
526           'id': 95,
527           'caption': '''Enable firewall traversal from remote access host''',
528           'desc': '''Enables usage of STUN and relay servers when remote clients are trying to establish a connection to this machine.
529
530           If this setting is enabled, then remote clients can discover and connect to this machines even if they are separated by a firewall.
531
532           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.
533
534           If this policy is left not set the setting will be enabled.''',
535         },
536         {
537           'name': 'RemoteAccessHostDomain',
538           'type': 'string',
539           'schema': { 'type': 'string' },
540           'supported_on': ['chrome.*:22-'],
541           'features': {
542             'dynamic_refresh': True,
543             'per_profile': False,
544           },
545           'example_value': 'my-awesome-domain.com',
546           'id': 154,
547           'caption': '''Configure the required domain name for remote access hosts''',
548           'desc': '''Configures the required host domain name that will be imposed on remote access hosts and prevents users from changing it.
549
550           If this setting is enabled, then hosts can be shared only using accounts registered on the specified domain name.
551
552           If this setting is disabled or not set, then hosts can be shared using any account.''',
553         },
554         {
555           'name': 'RemoteAccessHostRequireTwoFactor',
556           'type': 'main',
557           'schema': { 'type': 'boolean' },
558           'supported_on': ['chrome.*:22-'],
559           'features': {
560             'dynamic_refresh': True,
561             'per_profile': False,
562           },
563           'example_value': False,
564           'id': 155,
565           'caption': '''Enable two-factor authentication for remote access hosts''',
566           'desc': '''Enables two-factor authentication for remote access hosts instead of a user-specified PIN.
567
568           If this setting is enabled, then users must provide a valid two-factor code when accessing a host.
569
570           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.''',
571         },
572         {
573           'name': 'RemoteAccessHostTalkGadgetPrefix',
574           'type': 'string',
575           'schema': { 'type': 'string' },
576           'supported_on': ['chrome.*:22-'],
577           'features': {
578             'dynamic_refresh': True,
579             'per_profile': False,
580           },
581           'example_value': 'chromoting-host',
582           'id': 156,
583           'caption': '''Configure the TalkGadget prefix for remote access hosts''',
584           'desc': '''Configures the TalkGadget prefix that will be used by remote access hosts and prevents users from changing it.
585
586           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'.
587
588           If this setting is enabled, then hosts will use the custom domain name when accessing the TalkGadget instead of the default domain name.
589
590           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.
591
592           Remote access clients are not affected by this policy setting. They will always use 'chromoting-client.talkgadget.google.com' to access the TalkGadget.''',
593         },
594         {
595           'name': 'RemoteAccessHostRequireCurtain',
596           'type': 'main',
597           'schema': { 'type': 'boolean' },
598           'supported_on': ['chrome.*:23-'],
599           'features': {
600             'dynamic_refresh': True,
601             'per_profile': False,
602           },
603           'example_value': False,
604           'id': 157,
605           'caption': '''Enable curtaining of remote access hosts''',
606           'desc': '''Enables curtaining of remote access hosts while a connection is in progress.
607
608           If this setting is enabled, then hosts' physical input and output devices are disabled while a remote connection is in progress.
609
610           If this setting is disabled or not set, then both local and remote users can interact with the host when it is being shared.''',
611         },
612         {
613           'name': 'RemoteAccessHostAllowClientPairing',
614           'type': 'main',
615           'schema': { 'type': 'boolean' },
616           'supported_on': ['chrome.*:30-'],
617           'features': {
618             'dynamic_refresh': True,
619             'per_profile': False,
620           },
621           'example_value': False,
622           'id': 234,
623           'caption': '''Enable or disable PIN-less authentication''',
624           '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.
625
626           If this setting is disabled, then this feature will not be available.''',
627         },
628       ],
629     },
630     {
631       'name': 'PrintingEnabled',
632       'type': 'main',
633       'schema': { 'type': 'boolean' },
634       'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
635       'features': {
636         'dynamic_refresh': True,
637         'per_profile': True,
638       },
639       'example_value': True,
640       'id': 12,
641       'caption': '''Enable printing''',
642       'desc': '''Enables printing in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
643
644       If this setting is enabled or not configured, users can print.
645
646       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.''',
647     },
648     {
649       'name': 'CloudPrintProxyEnabled',
650       'type': 'main',
651       'schema': { 'type': 'boolean' },
652       'supported_on': ['chrome.*:17-'],
653       'features': {
654         'dynamic_refresh': True,
655         'per_profile': True,
656       },
657       'example_value': True,
658       'id': 13,
659       'caption': '''Enable <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> proxy''',
660       '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.
661
662       If this setting is enabled or not configured, users can enable the cloud print proxy by authentication with their Google account.
663
664       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>.''',
665     },
666     {
667       'name': 'ForceSafeSearch',
668       'type': 'main',
669       'schema': { 'type': 'boolean' },
670       'supported_on': ['chrome.*:25-', 'chrome_os:25-', 'android:30-'],
671       'features': {
672         'can_be_recommended': False,
673         'dynamic_refresh': True,
674         'per_profile': True,
675       },
676       'example_value': False,
677       'id': 162,
678       'caption': '''Force SafeSearch''',
679       'desc': '''Forces queries in Google Web Search to be done with SafeSearch set to active and prevents users from changing this setting.
680
681       If you enable this setting, SafeSearch in Google Search is always active.
682
683       If you disable this setting or do not set a value, SafeSearch in Google Search is not enforced.''',
684     },
685     {
686       'name': 'SafeBrowsingEnabled',
687       'type': 'main',
688       'schema': { 'type': 'boolean' },
689       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
690       'features': {
691         'can_be_recommended': True,
692         'dynamic_refresh': True,
693         'per_profile': True,
694       },
695       'example_value': True,
696       'id': 14,
697       'caption': '''Enable Safe Browsing''',
698       'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s Safe Browsing feature and prevents users from changing this setting.
699
700       If you enable this setting, Safe Browsing is always active.
701
702       If you disable this setting, Safe Browsing is never active.
703
704       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>.
705
706       If this policy is left not set, this will be enabled but the user will be able to change it.''',
707     },
708     {
709       'name': 'MetricsReportingEnabled',
710       'type': 'main',
711       'schema': { 'type': 'boolean' },
712       'supported_on': ['chrome.*:8-'],
713       'features': {
714         'can_be_recommended': True,
715         'dynamic_refresh': False,
716         'per_profile': False,
717       },
718       'example_value': True,
719       'id': 15,
720       'caption': '''Enable reporting of usage and crash-related data''',
721       '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.
722
723       If you enable this setting, anonymous reporting of usage and crash-related data is sent to Google.
724
725       If you disable this setting, anonymous reporting of usage and crash-related data is never sent to Google.
726
727       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>.
728
729       If this policy is left not set the setting will be what the user chose upon installation / first run.''',
730     },
731     {
732       'name': 'PasswordManager',
733       'type': 'group',
734       'caption': '''Password manager''',
735       '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.''',
736       'policies': [
737         {
738           'name': 'PasswordManagerEnabled',
739           'type': 'main',
740           'schema': { 'type': 'boolean' },
741           'supported_on': [
742             'chrome.*:8-',
743             'chrome_os:11-',
744             'android:30-',
745             'ios:99-',
746           ],
747           'features': {
748             'can_be_recommended': True,
749             'dynamic_refresh': True,
750             'per_profile': True,
751           },
752           'example_value': True,
753           'id': 16,
754           'caption': '''Enable the password manager''',
755           'desc': '''Enables saving passwords and using saved passwords in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
756
757           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.
758
759           If you disable this setting, users are not able to save passwords or use already saved passwords.
760
761           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>.
762
763           If this policy is left not set, this will be enabled but the user will be able to change it.''',
764         },
765         {
766           'name': 'PasswordManagerAllowShowPasswords',
767           'type': 'main',
768           'schema': { 'type': 'boolean' },
769           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
770           'features': {
771             'dynamic_refresh': True,
772             'per_profile': True,
773           },
774           'example_value': False,
775           'id': 17,
776           'caption': '''Allow users to show passwords in Password Manager''',
777           'desc': '''Controls whether the user may show passwords in clear text in the password manager.
778
779           If you disable this setting, the password manager does not allow showing stored passwords in clear text in the password manager window.
780
781           If you enable or do not set this policy, users can view their passwords in clear text in the password manager.''',
782         },
783       ],
784     },
785     {
786       'name': 'AutoFillEnabled',
787       'type': 'main',
788       'schema': { 'type': 'boolean' },
789       'supported_on': [
790         'chrome.*:8-',
791         'chrome_os:11-',
792         'android:30-',
793         'ios:99-',
794       ],
795       'features': {
796         'can_be_recommended': True,
797         'dynamic_refresh': True,
798         'per_profile': True,
799       },
800       'example_value': False,
801       'id': 18,
802       'caption': '''Enable AutoFill''',
803       'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s AutoFill feature and allows users to auto complete web forms using previously stored information such as address or credit card information.
804
805       If you disable this setting, AutoFill will be inaccessible to users.
806
807       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.''',
808     },
809     {
810       'name': 'DisabledPlugins',
811       'type': 'list',
812       'schema': {
813         'type': 'array',
814         'items': { 'type': 'string' },
815       },
816       'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
817       'features': {
818         'dynamic_refresh': True,
819         'per_profile': True,
820       },
821       'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
822       'id': 19,
823       'caption': '''Specify a list of disabled plugins''',
824       '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.
825
826       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.
827
828       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.
829
830       Note that this policy can be overridden by EnabledPlugins and DisabledPluginsExceptions.
831
832       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.''',
833       'label': '''List of disabled plugins''',
834     },
835     {
836       'name': 'EnabledPlugins',
837       'type': 'list',
838       'schema': {
839         'type': 'array',
840         'items': { 'type': 'string' },
841       },
842       'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
843       'features': {
844         'dynamic_refresh': True,
845         'per_profile': True,
846       },
847       'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
848       'id': 78,
849       'caption': '''Specify a list of enabled plugins''',
850       '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.
851
852       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.
853
854       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.
855
856       Note that this policy overrides both DisabledPlugins and DisabledPluginsExceptions.
857
858       If this policy is left not set the user can disable any plugin installed on the system.''',
859       'label': '''List of enabled plugins''',
860     },
861     {
862       'name': 'DisabledPluginsExceptions',
863       'type': 'list',
864       'schema': {
865         'type': 'array',
866         'items': { 'type': 'string' },
867       },
868       'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
869       'features': {
870         'dynamic_refresh': True,
871         'per_profile': True,
872       },
873       'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
874       'id': 79,
875       'caption': '''Specify a list of plugins that the user can enable or disable''',
876       'desc': '''Specifies a list of plugins that user can enable or disable in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
877
878       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.
879
880       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.
881
882       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.
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:99-',
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:99-',
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:99-',
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:99-',
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:99-',
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:99-',
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 equvalent 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:99-',
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:99-',
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:99-',
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:99-',
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': ['chrome.*:10-', 'chrome_os:11-', 'android:30-'],
2091           'features': {
2092             'dynamic_refresh': True,
2093             'per_profile': True,
2094           },
2095           'example_value': 1,
2096           'id': 48,
2097           'caption': '''Default cookies setting''',
2098           'desc': '''Allows you to set whether websites are allowed to set local data. Setting local data can be either allowed for all websites or denied for all websites.
2099
2100           If this policy is left not set, 'AllowCookies' will be used and the user will be able to change it.''',
2101         },
2102         {
2103           'name': 'DefaultImagesSetting',
2104           'type': 'int-enum',
2105           'schema': {
2106             'type': 'integer',
2107             'enum': [ 1, 2 ],
2108           },
2109           'items': [
2110             {
2111               'name': 'AllowImages',
2112               'value': 1,
2113               'caption': '''Allow all sites to show all images''',
2114             },
2115             {
2116               'name': 'BlockImages',
2117               'value': 2,
2118               'caption': '''Do not allow any site to show images''',
2119             },
2120           ],
2121           'supported_on': ['chrome.*:10-', 'chrome_os:11-', 'android:30-'],
2122           'features': {
2123             'dynamic_refresh': True,
2124             'per_profile': True,
2125           },
2126           'example_value': 1,
2127           'id': 49,
2128           'caption': '''Default images setting''',
2129           '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.
2130
2131           If this policy is left not set, 'AllowImages' will be used and the user will be able to change it.''',
2132         },
2133         {
2134           'name': 'DefaultJavaScriptSetting',
2135           'type': 'int-enum',
2136           'schema': {
2137             'type': 'integer',
2138             'enum': [ 1, 2 ],
2139           },
2140           'items': [
2141             {
2142               'name': 'AllowJavaScript',
2143               'value': 1,
2144               'caption': '''Allow all sites to run JavaScript''',
2145             },
2146             {
2147               'name': 'BlockJavaScript',
2148               'value': 2,
2149               'caption': '''Do not allow any site to run JavaScript''',
2150             },
2151           ],
2152           'supported_on': ['chrome.*:10-', 'chrome_os:11-', 'android:30-'],
2153           'features': {
2154             'dynamic_refresh': True,
2155             'per_profile': True,
2156           },
2157           'example_value': 1,
2158           'id': 50,
2159           'caption': '''Default JavaScript setting''',
2160           '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.
2161
2162           If this policy is left not set, 'AllowJavaScript' will be used and the user will be able to change it.''',
2163         },
2164         {
2165           'name': 'DefaultPluginsSetting',
2166           'type': 'int-enum',
2167           'schema': {
2168             'type': 'integer',
2169             'enum': [ 1, 2, 3 ],
2170           },
2171           'items': [
2172             {
2173               'name': 'AllowPlugins',
2174               'value': 1,
2175               'caption': '''Allow all sites to automatically run plugins''',
2176             },
2177             {
2178               'name': 'BlockPlugins',
2179               'value': 2,
2180               'caption': '''Block all plugins''',
2181             },
2182             {
2183               'name': 'ClickToPlay',
2184               'value': 3,
2185               'caption': '''Click to play''',
2186             },
2187           ],
2188           'supported_on': ['chrome.*:10-', 'chrome_os:11-'],
2189           'features': {
2190             'dynamic_refresh': True,
2191             'per_profile': True,
2192           },
2193           'example_value': 1,
2194           'id': 51,
2195           'caption': '''Default plugins setting''',
2196           '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.
2197
2198           Click to play allows plugins to run but the user must click them to start their execution.
2199
2200           If this policy is left not set, 'AllowPlugins' will be used and the user will be able to change it.''',
2201         },
2202         {
2203           'name': 'DefaultPopupsSetting',
2204           'type': 'int-enum',
2205           'schema': {
2206             'type': 'integer',
2207             'enum': [ 1, 2 ],
2208           },
2209           'items': [
2210             {
2211               'name': 'AllowPopups',
2212               'value': 1,
2213               'caption': '''Allow all sites to show pop-ups''',
2214             },
2215             {
2216               'name': 'BlockPopups',
2217               'value': 2,
2218               'caption': '''Do not allow any site to show popups''',
2219             },
2220           ],
2221           'supported_on': [
2222             'chrome.*:10-',
2223             'chrome_os:11-',
2224             'ios:99-',
2225           ],
2226           'features': {
2227             'dynamic_refresh': True,
2228             'per_profile': True,
2229           },
2230           'example_value': 1,
2231           'id': 52,
2232           'caption': '''Default popups setting''',
2233           '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.
2234
2235           If this policy is left not set, 'BlockPopups' will be used and the user will be able to change it.''',
2236         },
2237         {
2238           'name': 'DefaultNotificationsSetting',
2239           'type': 'int-enum',
2240           'schema': {
2241             'type': 'integer',
2242             'enum': [ 1, 2, 3 ],
2243           },
2244           'items': [
2245             {
2246               'name': 'AllowNotifications',
2247               'value': 1,
2248               'caption': '''Allow sites to show desktop notifications''',
2249             },
2250             {
2251               'name': 'BlockNotifications',
2252               'value': 2,
2253               'caption': '''Do not allow any site to show desktop notifications''',
2254             },
2255             {
2256               'name': 'AskNotifications',
2257               'value': 3,
2258               'caption': '''Ask every time a site wants to show desktop notifications''',
2259             },
2260           ],
2261           'supported_on': ['chrome.*:10-', 'chrome_os:11-'],
2262           'features': {
2263             'dynamic_refresh': True,
2264             'per_profile': True,
2265           },
2266           'example_value': 2,
2267           'id': 53,
2268           'caption': '''Default notification setting''',
2269           '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.
2270
2271           If this policy is left not set, 'AskNotifications' will be used and the user will be able to change it.''',
2272         },
2273         {
2274           'name': 'DefaultGeolocationSetting',
2275           'type': 'int-enum',
2276           'schema': {
2277             'type': 'integer',
2278             'enum': [ 1, 2, 3 ],
2279           },
2280           'items': [
2281             {
2282               'name': 'AllowGeolocation',
2283               'value': 1,
2284               'caption': '''Allow sites to track the users' physical location''',
2285             },
2286             {
2287               'name': 'BlockGeolocation',
2288               'value': 2,
2289               'caption': '''Do not allow any site to track the users' physical location''',
2290             },
2291             {
2292               'name': 'AskGeolocation',
2293               'value': 3,
2294               'caption': '''Ask whenever a site wants to track the users' physical location''',
2295             },
2296           ],
2297           'supported_on': ['chrome.*:10-', 'chrome_os:11-', 'android:30-'],
2298           'features': {
2299             'dynamic_refresh': True,
2300             'per_profile': True,
2301           },
2302           'example_value': 0,
2303           'id': 54,
2304           'caption': '''Default geolocation setting''',
2305           '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.
2306
2307           If this policy is left not set, 'AskGeolocation' will be used and the user will be able to change it.''',
2308         },
2309         {
2310           'name': 'DefaultMediaStreamSetting',
2311           'type': 'int-enum',
2312           'schema': {
2313             'type': 'integer',
2314             'enum': [ 2, 3 ],
2315           },
2316           'items': [
2317             {
2318               'name': 'BlockAccess',
2319               'value': 2,
2320               'caption': '''Do not allow any site to access the camera and microphone''',
2321             },
2322             {
2323               'name': 'PromptOnAccess',
2324               'value': 3,
2325               'caption': '''Ask every time a site wants to access the camera and/or microphone''',
2326             },
2327           ],
2328           'supported_on': ['chrome.*:22-', 'chrome_os:22-'],
2329           'features': {
2330             'dynamic_refresh': True,
2331             'per_profile': True,
2332           },
2333           'deprecated': True,
2334           'example_value': 2,
2335           'id': 149,
2336           'caption': '''Default mediastream setting''',
2337           '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.
2338
2339           If this policy is left not set, 'PromptOnAccess' will be used and the user will be able to change it.''',
2340         },
2341         {
2342           'name': 'AutoSelectCertificateForUrls',
2343           'type': 'list',
2344           'schema': {
2345             'type': 'array',
2346             'items': { 'type': 'string' },
2347           },
2348           'supported_on': ['chrome.*:15-', 'chrome_os:15-'],
2349           'features': {
2350             'dynamic_refresh': True,
2351             'per_profile': True,
2352           },
2353           'example_value': ["{\\\"pattern\\\":\\\"https://www.example.com\\\",\\\"filter\\\":{\\\"ISSUER\\\":{\\\"CN\\\":\\\"certificate issuer name\\\"}}}"],
2354           'id': 102,
2355           'caption': '''Automatically select client certificates for these sites''',
2356           '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.
2357
2358           If this policy is left not set no auto-selection will be done for any site.''',
2359         },
2360         {
2361           'name': 'CookiesAllowedForUrls',
2362           'type': 'list',
2363           'schema': {
2364             'type': 'array',
2365             'items': { 'type': 'string' },
2366           },
2367           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
2368           'features': {
2369             'dynamic_refresh': True,
2370             'per_profile': True,
2371           },
2372           'example_value': ['http://www.example.com', '[*.]example.edu'],
2373           'id': 77,
2374           'caption': '''Allow cookies on these sites''',
2375           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set cookies.
2376
2377           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.''',
2378         },
2379         {
2380           'name': 'CookiesBlockedForUrls',
2381           'type': 'list',
2382           'schema': {
2383             'type': 'array',
2384             'items': { 'type': 'string' },
2385           },
2386           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
2387           'features': {
2388             'dynamic_refresh': True,
2389             'per_profile': True,
2390           },
2391           'example_value': ['http://www.example.com', '[*.]example.edu'],
2392           'id': 67,
2393           'caption': '''Block cookies on these sites''',
2394           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to set cookies.
2395
2396           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.''',
2397         },
2398         {
2399           'name': 'CookiesSessionOnlyForUrls',
2400           'type': 'list',
2401           'schema': {
2402             'type': 'array',
2403             'items': { 'type': 'string' },
2404           },
2405           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
2406           'features': {
2407             'dynamic_refresh': True,
2408             'per_profile': True,
2409           },
2410           'example_value': ['http://www.example.com', '[*.]example.edu'],
2411           'id': 68,
2412           'caption': '''Allow session only cookies on these sites''',
2413           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set session only cookies.
2414
2415           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.
2416
2417           If the "RestoreOnStartup" policy is set to restore URLs from previous sessions this policy will not be respectred and cookies will be stored permanently for those sites.''',
2418         },
2419         {
2420           'name': 'ImagesAllowedForUrls',
2421           'type': 'list',
2422           'schema': {
2423             'type': 'array',
2424             'items': { 'type': 'string' },
2425           },
2426           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
2427           'features': {
2428             'dynamic_refresh': True,
2429             'per_profile': True,
2430           },
2431           'example_value': ['http://www.example.com', '[*.]example.edu'],
2432           'id': 69,
2433           'caption': '''Allow images on these sites''',
2434           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to display images.
2435
2436           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.''',
2437         },
2438         {
2439           'name': 'ImagesBlockedForUrls',
2440           'type': 'list',
2441           'schema': {
2442             'type': 'array',
2443             'items': { 'type': 'string' },
2444           },
2445           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
2446           'features': {
2447             'dynamic_refresh': True,
2448             'per_profile': True,
2449           },
2450           'example_value': ['http://www.example.com', '[*.]example.edu'],
2451           'id': 70,
2452           'caption': '''Block images on these sites''',
2453           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to display images.
2454
2455           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.''',
2456         },
2457         {
2458           'name': 'JavaScriptAllowedForUrls',
2459           'type': 'list',
2460           'schema': {
2461             'type': 'array',
2462             'items': { 'type': 'string' },
2463           },
2464           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
2465           'features': {
2466             'dynamic_refresh': True,
2467             'per_profile': True,
2468           },
2469           'example_value': ['http://www.example.com', '[*.]example.edu'],
2470           'id': 71,
2471           'caption': '''Allow JavaScript on these sites''',
2472           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to run JavaScript.
2473
2474           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.''',
2475         },
2476         {
2477           'name': 'JavaScriptBlockedForUrls',
2478           'type': 'list',
2479           'schema': {
2480             'type': 'array',
2481             'items': { 'type': 'string' },
2482           },
2483           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
2484           'features': {
2485             'dynamic_refresh': True,
2486             'per_profile': True,
2487           },
2488           'example_value': ['http://www.example.com', '[*.]example.edu'],
2489           'id': 72,
2490           'caption': '''Block JavaScript on these sites''',
2491           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to run JavaScript.
2492
2493           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.''',
2494         },
2495         {
2496           'name': 'PluginsAllowedForUrls',
2497           'type': 'list',
2498           'schema': {
2499             'type': 'array',
2500             'items': { 'type': 'string' },
2501           },
2502           'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
2503           'features': {
2504             'dynamic_refresh': True,
2505             'per_profile': True,
2506           },
2507           'example_value': ['http://www.example.com', '[*.]example.edu'],
2508           'id': 73,
2509           'caption': '''Allow plugins on these sites''',
2510           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to run plugins.
2511
2512           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.''',
2513         },
2514         {
2515           'name': 'PluginsBlockedForUrls',
2516           'type': 'list',
2517           'schema': {
2518             'type': 'array',
2519             'items': { 'type': 'string' },
2520           },
2521           'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
2522           'features': {
2523             'dynamic_refresh': True,
2524             'per_profile': True,
2525           },
2526           'example_value': ['http://www.example.com', '[*.]example.edu'],
2527           'id': 74,
2528           'caption': '''Block plugins on these sites''',
2529           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to run plugins.
2530
2531           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.''',
2532         },
2533         {
2534           'name': 'PopupsAllowedForUrls',
2535           'type': 'list',
2536           'schema': {
2537             'type': 'array',
2538             'items': { 'type': 'string' },
2539           },
2540           'supported_on': [
2541             'chrome.*:11-',
2542             'chrome_os:11-',
2543             'ios:99-',
2544           ],
2545           'features': {
2546             'dynamic_refresh': True,
2547             'per_profile': True,
2548           },
2549           'example_value': ['http://www.example.com', '[*.]example.edu'],
2550           'id': 75,
2551           'caption': '''Allow popups on these sites''',
2552           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to open popups.
2553
2554           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.''',
2555         },
2556         {
2557           'name': 'PopupsBlockedForUrls',
2558           'type': 'list',
2559           'schema': {
2560             'type': 'array',
2561             'items': { 'type': 'string' },
2562           },
2563           'supported_on': [
2564             'chrome.*:11-',
2565             'chrome_os:11-',
2566             'ios:99-',
2567           ],
2568           'features': {
2569             'dynamic_refresh': True,
2570             'per_profile': True,
2571           },
2572           'example_value': ['http://www.example.com', '[*.]example.edu'],
2573           'id': 76,
2574           'caption': '''Block popups on these sites''',
2575           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to open popups.
2576
2577           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.''',
2578         },
2579         {
2580           'name': 'NotificationsAllowedForUrls',
2581           'type': 'list',
2582           'schema': {
2583             'type': 'array',
2584             'items': { 'type': 'string' },
2585           },
2586           'supported_on': ['chrome.*:16-', 'chrome_os:16-'],
2587           'features': {
2588             'dynamic_refresh': True,
2589             'per_profile': True,
2590           },
2591           'example_value': ['http://www.example.com', '[*.]example.edu'],
2592           'id': 105,
2593           'caption': '''Allow notifications on these sites''',
2594           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to display notifications.
2595
2596           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.''',
2597         },
2598         {
2599           'name': 'NotificationsBlockedForUrls',
2600           'type': 'list',
2601           'schema': {
2602             'type': 'array',
2603             'items': { 'type': 'string' },
2604           },
2605           'supported_on': ['chrome.*:16-', 'chrome_os:16-'],
2606           'features': {
2607             'dynamic_refresh': True,
2608             'per_profile': True,
2609           },
2610           'example_value': ['http://www.example.com', '[*.]example.edu'],
2611           'id': 106,
2612           'caption': '''Block notifications on these sites''',
2613           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to display notifications.
2614
2615           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.''',
2616         },
2617       ],
2618     },
2619     {
2620       'name': 'NativeMessaging',
2621       'type': 'group',
2622       'caption': '''Native Messaging''',
2623       'desc': '''Configures policies for Native Messaging. Blacklisted native messaging hosts won't be allowed unless they are whitelisted.''',
2624       'policies': [
2625         {
2626           'name': 'NativeMessagingBlacklist',
2627           'type': 'list',
2628           'schema': {
2629             'type': 'array',
2630             'items': { 'type': 'string' },
2631           },
2632           'supported_on': ['chrome.*:34-'],
2633           'features': {
2634             'dynamic_refresh': True,
2635             'per_profile': True,
2636           },
2637           'example_value': [
2638             'com.native.messaging.host.name1',
2639             'com.native.messaging.host.name2',
2640           ],
2641           'id': 251,
2642           'caption': '''Configure native messaging blacklist''',
2643           'desc': '''Allows you to specify which native messaging hosts that should not be loaded.
2644
2645           A blacklist value of '*' means all native messaging hosts are blacklisted unless they are explicitly listed in the whitelist.
2646
2647           If this policy is left not set <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will load all installed native messaging hosts.''',
2648           'label': '''Names of the forbidden native messaging hosts (or * for all)''',
2649         },
2650         {
2651           'name': 'NativeMessagingWhitelist',
2652           'type': 'list',
2653           'schema': {
2654             'type': 'array',
2655             'items': { 'type': 'string' },
2656           },
2657           'supported_on': ['chrome.*:34-'],
2658           'features': {
2659             'dynamic_refresh': True,
2660             'per_profile': True,
2661           },
2662           'example_value': [
2663             'com.native.messaging.host.name1',
2664             'com.native.messaging.host.name2',
2665           ],
2666           'id': 252,
2667           'caption': '''Configure native messaging whitelist''',
2668           'desc': '''Allows you to specify which native messaging hosts are not subject to the blacklist.
2669
2670           A blacklist value of * means all native messaging hosts are blacklisted and only native messaging hosts listed in the whitelist will be loaded.
2671
2672           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.''',
2673           'label': '''Names of the native messaging hosts to exempt from the blacklist''',
2674         },
2675         {
2676           'name': 'NativeMessagingUserLevelHosts',
2677           'type': 'main',
2678           'schema': { 'type': 'boolean' },
2679           'supported_on': ['chrome.*:34-'],
2680           'features': {
2681             'dynamic_refresh': True,
2682             'per_profile': True,
2683           },
2684           'example_value': False,
2685           'id': 253,
2686           'caption': '''Allow user-level Native Messaging hosts (installed without admin permissions).''',
2687           'desc': '''Enables user-level installation of Native Messaging hosts.
2688
2689           If this setting is enabled then <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> allows
2690           usage of Native Messaging hosts installed on user level.
2691
2692           If this setting is disabled then <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will
2693           only use Native Messaging hosts installed on system level.
2694
2695           If this setting is left not set <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>
2696           will allow usage of user-level Native Messaging hosts.''',
2697         },
2698       ],
2699     },
2700     {
2701       'name': 'Disable3DAPIs',
2702       'type': 'main',
2703       'schema': { 'type': 'boolean' },
2704       'supported_on': ['chrome.*:9-', 'chrome_os:11-'],
2705       'features': {
2706         'dynamic_refresh': True,
2707         'per_profile': True,
2708       },
2709       'example_value': False,
2710       'id': 55,
2711       'caption': '''Disable support for 3D graphics APIs''',
2712       'desc': '''Disable support for 3D graphics APIs.
2713
2714       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.
2715
2716       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.''',
2717     },
2718     {
2719       'name': 'PolicyRefreshRate',
2720       'type': 'int',
2721       'schema': { 'type': 'integer' },
2722       'supported_on': ['chrome_os:11-'],
2723       'features': {
2724         'dynamic_refresh': True,
2725         'per_profile': True,
2726       },
2727       'example_value': 3600000,
2728       'id': 56,
2729       'caption': '''Refresh rate for user policy''',
2730       'desc': '''Specifies the period in milliseconds at which the device management service is queried for user policy information.
2731
2732       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.
2733
2734       Leaving this policy not set will make <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> use the default value of 3 hours.''',
2735     },
2736     {
2737       'name': 'MaxInvalidationFetchDelay',
2738       'type': 'int',
2739       'schema': { 'type': 'integer' },
2740       'supported_on': ['chrome.*:30-', 'chrome_os:30-'],
2741       'features': {
2742         'dynamic_refresh': True,
2743         'per_profile': True,
2744       },
2745       'example_value': 10000,
2746       'id': 228,
2747       'caption': '''Maximum fetch delay after a policy invalidation''',
2748       'desc': '''Specifies the maximum delay in milliseconds between receiving a policy invalidation and fetching the new policy from the device management service.
2749
2750       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.
2751
2752       Leaving this policy not set will make <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> use the default value of 5000 milliseconds.''',
2753     },
2754     {
2755       'name': 'ChromeFrameRendererSettings',
2756       'type': 'group',
2757       'caption': '''Default HTML renderer for <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
2758       'desc': '''Allows you to configure the default HTML renderer when <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> is installed.
2759       The default setting is to allow the host browser do the rendering, but you
2760       can optionally override this and have <ph name="PRODUCT_FRAME_NAME">$3<ex>
2761       Google Chrome Frame</ex></ph> render HTML pages by default.''',
2762       'policies': [
2763         {
2764           'name': 'ChromeFrameRendererSettings',
2765           'type': 'int-enum',
2766           'schema': {
2767             'type': 'integer',
2768             'enum': [ 0, 1 ],
2769           },
2770           'items': [
2771             {
2772               'name': 'RenderInHost',
2773               'value': 0,
2774               'caption': '''Use the host browser by default''',
2775             },
2776             {
2777               'name': 'RenderInChromeFrame',
2778               'value': 1,
2779               'caption': '''Use <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> by default''',
2780             },
2781           ],
2782           'supported_on': ['chrome_frame:8-32'],
2783           'features': {
2784             'dynamic_refresh': False,
2785           },
2786           'example_value': 1,
2787           'id': 57,
2788           'caption': '''Default HTML renderer for <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
2789           'desc': '''Allows you to configure the default HTML renderer when <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> is installed.
2790           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.''',
2791         },
2792         {
2793           'name': 'RenderInChromeFrameList',
2794           'type': 'list',
2795           'schema': {
2796             'type': 'array',
2797             'items': { 'type': 'string' },
2798           },
2799           'supported_on': ['chrome_frame:8-32'],
2800           'features': {
2801             'dynamic_refresh': False,
2802           },
2803           'example_value': ['http://www.example.com', 'http://www.example.edu'],
2804           'id': 58,
2805           'caption': '''Always render the following URL patterns in <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
2806           '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>.
2807
2808           If this policy is not set the default renderer will be used for all sites as specified by the 'ChromeFrameRendererSettings' policy.
2809
2810           For example patterns see http://www.chromium.org/developers/how-tos/chrome-frame-getting-started.''',
2811         },
2812         {
2813           'name': 'RenderInHostList',
2814           'type': 'list',
2815           'schema': {
2816             'type': 'array',
2817             'items': { 'type': 'string' },
2818           },
2819           'supported_on': ['chrome_frame:8-32'],
2820           'features': {
2821             'dynamic_refresh': False,
2822           },
2823           'example_value': ['http://www.example.com', 'http://www.example.edu'],
2824           'id': 59,
2825           'caption': '''Always render the following URL patterns in the host browser''',
2826           'desc': '''Customize the list of URL patterns that should always be rendered by the host browser.
2827
2828           If this policy is not set the default renderer will be used for all sites as specified by the 'ChromeFrameRendererSettings' policy.
2829
2830           For example patterns see http://www.chromium.org/developers/how-tos/chrome-frame-getting-started.''',
2831         },
2832         {
2833           'name': 'AdditionalLaunchParameters',
2834           'type': 'string',
2835           'schema': { 'type': 'string' },
2836           'supported_on': ['chrome_frame:19-32'],
2837           'features': {
2838             'dynamic_refresh': False,
2839           },
2840           'example_value': '--enable-media-stream --enable-media-source',
2841           'id': 141,
2842           'caption': '''Additional command line parameters for <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>''',
2843           '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>.
2844
2845           If this policy is not set the default command line will be used.''',
2846         },
2847         {
2848           'name': 'SkipMetadataCheck',
2849           'type': 'main',
2850           'schema': { 'type': 'boolean' },
2851           'supported_on': ['chrome_frame:31-32'],
2852           'features': {
2853             'dynamic_refresh': False,
2854           },
2855           'example_value': False,
2856           'id': 238,
2857           'caption': '''Skip the meta tag check in <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
2858           '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.
2859
2860           If you enable this setting, pages will not be scanned for meta tags.
2861
2862           If you disable this setting, pages will be scanned for meta tags.
2863
2864           If this policy is not set, pages will be scanned for meta tags.'''
2865         },
2866       ],
2867     },
2868     {
2869       'name': 'ChromeFrameContentTypes',
2870       'type': 'group',
2871       'caption': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the following content types''',
2872       'desc': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the following content types.''',
2873       'policies': [
2874         {
2875           'name': 'ChromeFrameContentTypes',
2876           'type': 'list',
2877           'schema': {
2878             'type': 'array',
2879             'items': { 'type': 'string' },
2880           },
2881           'supported_on': ['chrome_frame:8-32'],
2882           'features': {
2883             'dynamic_refresh': False,
2884           },
2885           'example_value': ['text/xml', 'application/xml'],
2886           'id': 60,
2887           'caption': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the listed content types''',
2888           'desc': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the listed content types.
2889
2890           If this policy is not set the default renderer will be used for all sites as specified by the 'ChromeFrameRendererSettings' policy.''',
2891         },
2892       ],
2893     },
2894     {
2895       'name': 'ChromeOsLockOnIdleSuspend',
2896       'type': 'main',
2897       'schema': { 'type': 'boolean' },
2898       'supported_on': ['chrome_os:9-'],
2899       'features': {
2900         'can_be_recommended': True,
2901         'dynamic_refresh': True,
2902         'per_profile': True,
2903       },
2904       'example_value': True,
2905       'id': 61,
2906       'caption': '''Enable lock when the device become idle or suspended''',
2907       'desc': '''Enable lock when <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices become idle or suspended.
2908
2909       If you enable this setting, users will be asked for a password to unlock the device from sleep.
2910
2911       If you disable this setting, users will not be asked for a password to unlock the device from sleep.
2912
2913       If you enable or disable this setting, users cannot change or override it.
2914
2915       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.''',
2916     },
2917     {
2918       'name': 'ChromeOsMultiProfileUserBehavior',
2919       'type': 'string-enum',
2920       'schema': {
2921         'type': 'string',
2922         'enum': [
2923           'unrestricted',
2924           'primary-only',
2925           'not-allowed',
2926         ],
2927       },
2928       'items': [
2929         {
2930           'name': 'MultiProfileUserBehaviorUnrestricted',
2931           'value': 'unrestricted',
2932           'caption': '''Allow enterprise user to be both primary and secondary  (Default behavior)''',
2933         },
2934         {
2935           'name': 'MultiProfileUserBehaviorMustBePrimary',
2936           'value': 'primary-only',
2937           'caption': '''Allow enterprise user to be primary multiprofile user only''',
2938         },
2939         {
2940           'name': 'MultiProfileUserBehaviorNotAllowed',
2941           'value': 'not-allowed',
2942           'caption': '''Do not allow enterprise user to be part of multiprofile (primary or secondary)''',
2943         },
2944       ],
2945       'supported_on': ['chrome_os:31-'],
2946       'features': {
2947         'dynamic_refresh': True,
2948         'per_profile': True,
2949       },
2950       'example_value': 'unrestricted',
2951       'id': 244,
2952       'caption': '''Control the user behavior in a multiprofile session''',
2953       'desc': '''Control the user behavior in a multiprofile session on <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices.
2954
2955       If this policy is set to 'MultiProfileUserBehaviorUnrestricted', the user can be either primary or secondary user in a multiprofile session.
2956
2957       If this policy is set to 'MultiProfileUserBehaviorMustBePrimary', the user can only be the primary user in a multiprofile session.
2958
2959       If this policy is set to 'MultiProfileUserBehaviorNotAllowed', the user cannot be part of a multiprofile session.
2960
2961       If you set this setting, users cannot change or override it.
2962
2963       If the setting is changed while the user is signed into a multiprofile session, all users in the session will be checked against their cooresponding settings. The session will be closed if any one of the users is no longer allowed to be in the session.
2964
2965       If the policy is left not set, the default value 'MultiProfileUserBehaviorUnrestricted' will be used.''',
2966     },
2967     {
2968       'name': 'InstantEnabled',
2969       'type': 'main',
2970       'schema': { 'type': 'boolean' },
2971       'supported_on': ['chrome.*:11-28', 'chrome_os:11-28'],
2972       'deprecated': True,
2973       'features': {
2974         'can_be_recommended': True,
2975         'dynamic_refresh': True,
2976         'per_profile': True,
2977       },
2978       'example_value': True,
2979       'id': 62,
2980       'caption': '''Enable Instant''',
2981       'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s Instant feature and prevents users from changing this setting.
2982
2983       If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> Instant is enabled.
2984
2985       If you disable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> Instant is disabled.
2986
2987       If you enable or disable this setting, users cannot change or override this setting.
2988
2989       If this setting is left not set the user can decide to use this function or not.
2990
2991       This setting has been removed from Chrome 29 and higher versions.''',
2992     },
2993     {
2994       'name': 'TranslateEnabled',
2995       'type': 'main',
2996       'schema': { 'type': 'boolean' },
2997       'supported_on': [
2998         'chrome.*:12-',
2999         'chrome_os:12-',
3000         'android:30-',
3001         'ios:99-',
3002       ],
3003       'features': {
3004         'can_be_recommended': True,
3005         'dynamic_refresh': True,
3006         'per_profile': True,
3007       },
3008       'example_value': True,
3009       'id': 80,
3010       'caption': '''Enable Translate''',
3011       'desc': '''Enables the integrated Google Translate service on <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
3012
3013       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.
3014
3015       If you disable this setting, users will never see the translation bar.
3016
3017       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>.
3018
3019       If this setting is left not set the user can decide to use this function or not.''',
3020     },
3021     {
3022       'name': 'AllowOutdatedPlugins',
3023       'type': 'main',
3024       'schema': { 'type': 'boolean' },
3025       'supported_on': ['chrome.*:12-', 'chrome_os:12-'],
3026       'features': {
3027         'dynamic_refresh': True,
3028         'per_profile': True,
3029       },
3030       'example_value': True,
3031       'id': 81,
3032       'caption': '''Allow running plugins that are outdated''',
3033       'desc': '''Allows <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to run plugins that are outdated.
3034
3035       If you enable this setting, outdated plugins are used as normal plugins.
3036
3037       If you disable this setting, outdated plugins will not be used and users will not be asked for permission to run them.
3038
3039       If this setting is not set, users will be asked for permission to run outdated plugins.''',
3040     },
3041     {
3042       'name': 'AlwaysAuthorizePlugins',
3043       'type': 'main',
3044       'schema': { 'type': 'boolean' },
3045       'supported_on': ['chrome.*:13-', 'chrome_os:13-'],
3046       'features': {
3047         'dynamic_refresh': True,
3048         'per_profile': True,
3049       },
3050       'example_value': True,
3051       'id': 86,
3052       'caption': '''Always runs plugins that require authorization''',
3053       'desc': '''Allows <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to run plugins that require authorization.
3054
3055       If you enable this setting, plugins that are not outdated always run.
3056
3057       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.''',
3058     },
3059     {
3060       'name': 'BookmarkBarEnabled',
3061       'type': 'main',
3062       'schema': { 'type': 'boolean' },
3063       'supported_on': ['chrome.*:12-', 'chrome_os:12-'],
3064       'features': {
3065         'can_be_recommended': True,
3066         'dynamic_refresh': True,
3067         'per_profile': True,
3068       },
3069       'example_value': True,
3070       'id': 82,
3071       'caption': '''Enable Bookmark Bar''',
3072       'desc': '''Enables the bookmark bar on <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
3073
3074       If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will show a bookmark bar.
3075
3076       If you disable this setting, users will never see the bookmark bar.
3077
3078       If you enable or disable this setting, users cannot change or override it in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
3079
3080       If this setting is left not set the user can decide to use this function or not.''',
3081     },
3082     {
3083       'name': 'EditBookmarksEnabled',
3084       'type': 'main',
3085       'schema': { 'type': 'boolean' },
3086       'supported_on': ['chrome.*:12-', 'chrome_os:12-', 'android:30-'],
3087       'features': {
3088         'dynamic_refresh': True,
3089         'per_profile': True,
3090       },
3091       'example_value': False,
3092       'id': 83,
3093       'caption': '''Enables or disables bookmark editing''',
3094       'desc': '''Enables or disables editing bookmarks in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
3095
3096       If you enable this setting, bookmarks can be added, removed or modified. This is the default also when this policy is not set.
3097
3098       If you disable this setting, bookmarks can not be added, removed or modified. Existing bookmarks are still available.''',
3099     },
3100     {
3101       'name': 'AllowFileSelectionDialogs',
3102       'type': 'main',
3103       'schema': { 'type': 'boolean' },
3104       'supported_on': ['chrome.*:12-'],
3105       'features': {
3106         'dynamic_refresh': True,
3107         'per_profile': False,
3108       },
3109       'example_value': True,
3110       'id': 84,
3111       'caption': '''Allow invocation of file selection dialogs''',
3112       '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.
3113
3114       If you enable this setting, users can open file selection dialogs as normal.
3115
3116       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.
3117
3118       If this setting is not set, users can open file selection dialogs as normal.''',
3119     },
3120     {
3121       'name': 'GCFUserDataDir',
3122       'type': 'string',
3123       'schema': { 'type': 'string' },
3124       'supported_on': ['chrome_frame:12-32'],
3125       'features': {
3126         'dynamic_refresh': False,
3127       },
3128       'example_value': '${user_home}/Chrome Frame',
3129       'id': 87,
3130       'caption': '''Set <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> user data directory''',
3131       'desc': '''Configures the directory that <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> will use for storing user data.
3132
3133       If you set this policy, <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> will use the provided directory.
3134
3135       See http://www.chromium.org/administrators/policy-list-3/user-data-directory-variables for a list of variables that can be used.
3136
3137       If this setting is left not set the default profile directory will be used.''',
3138       'label': '''Set user data directory''',
3139     },
3140     {
3141       'name': 'DevicePolicyRefreshRate',
3142       'type': 'int',
3143       'schema': { 'type': 'integer' },
3144       'supported_on': ['chrome_os:11-'],
3145       'device_only': True,
3146       'features': {
3147         'dynamic_refresh': True,
3148       },
3149       'example_value': 3600000,
3150       'id': 90,
3151       'caption': '''Refresh rate for Device Policy''',
3152       'desc': '''Specifies the period in milliseconds at which the device management service is queried for device policy information.
3153
3154       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.
3155
3156       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.''',
3157     },
3158     {
3159       'name': 'ImportBookmarks',
3160       'type': 'main',
3161       'schema': { 'type': 'boolean' },
3162       'supported_on': ['chrome.*:15-'],
3163       'features': {
3164         'can_be_recommended': True,
3165         'dynamic_refresh': True,
3166         'per_profile': True,
3167       },
3168       'example_value': True,
3169       'id': 97,
3170       'caption': '''Import bookmarks from default browser on first run''',
3171       'desc': '''This policy forces bookmarks to be imported from the current default browser if enabled. If enabled, this policy also affects the import dialog.
3172
3173       If disabled, no bookmarks are imported.
3174
3175       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
3176       'label': '''Import bookmarks from default browser on first run''',
3177     },
3178     {
3179       'name': 'ImportHistory',
3180       'type': 'main',
3181       'schema': { 'type': 'boolean' },
3182       'supported_on': ['chrome.*:15-'],
3183       'features': {
3184         'can_be_recommended': True,
3185         'dynamic_refresh': True,
3186         'per_profile': True,
3187       },
3188       'example_value': True,
3189       'id': 98,
3190       'caption': '''Import browsing history from default browser on first run''',
3191       '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.
3192
3193       If disabled, no browsing history is imported.
3194
3195       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
3196       'label': '''Import browsing history from default browser on first run''',
3197     },
3198     {
3199       'name': 'ImportHomepage',
3200       'type': 'main',
3201       'schema': { 'type': 'boolean' },
3202       'supported_on': ['chrome.*:15-'],
3203       'features': {
3204         'dynamic_refresh': True,
3205         'per_profile': True,
3206       },
3207       'example_value': True,
3208       'id': 99,
3209       'caption': '''Import of homepage from default browser on first run''',
3210       'desc': '''This policy forces the home page to be imported from the current default browser if enabled.
3211
3212       If disabled, the home page is not imported.
3213
3214       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
3215       'label': '''Import of homepage from default browser on first run''',
3216     },
3217     {
3218       'name': 'ImportSearchEngine',
3219       'type': 'main',
3220       'schema': { 'type': 'boolean' },
3221       'supported_on': ['chrome.*:15-'],
3222       'features': {
3223         'can_be_recommended': True,
3224         'dynamic_refresh': True,
3225         'per_profile': True,
3226       },
3227       'example_value': True,
3228       'id': 100,
3229       'caption': '''Import search engines from default browser on first run''',
3230       '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.
3231
3232       If disabled, the default search engine is not imported.
3233
3234       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
3235       'label': '''Import search engines from default browser on first run''',
3236     },
3237     {
3238       'name': 'ImportSavedPasswords',
3239       'type': 'main',
3240       'schema': { 'type': 'boolean' },
3241       'supported_on': ['chrome.*:15-'],
3242       'features': {
3243         'can_be_recommended': True,
3244         'dynamic_refresh': True,
3245         'per_profile': True,
3246       },
3247       'example_value': True,
3248       'id': 101,
3249       'caption': '''Import saved passwords from default browser on first run''',
3250       '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.
3251
3252       If disabled, the saved passwords are not imported.
3253
3254       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
3255       'label': '''Import saved passwords from default browser on first run''',
3256     },
3257     {
3258       'name': 'MaxConnectionsPerProxy',
3259       'type': 'int',
3260       'schema': { 'type': 'integer' },
3261       'supported_on': ['chrome.*:14-'],
3262       'features': {
3263         'dynamic_refresh': False,
3264         'per_profile': False,
3265       },
3266       'example_value': 32,
3267       'id': 92,
3268       'caption': '''Maximal number of concurrent connections to the proxy server''',
3269       'desc': '''Specifies the maximal number of simultaneous connections to the proxy server.
3270
3271       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.
3272
3273       The value of this policy should be lower than 100 and higher than 6 and the default value is 32.
3274
3275       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.
3276
3277       If this policy is left not set the default value will be used which is 32.''',
3278     },
3279     {
3280       'name': 'HideWebStorePromo',
3281       'type': 'main',
3282       'schema': { 'type': 'boolean' },
3283       'supported_on': ['chrome.*:15-21', 'chrome_os:15-21'],
3284       'deprecated': True,
3285       'features': {
3286         'dynamic_refresh': False,
3287       },
3288       'example_value': False,
3289       'id': 96,
3290       'caption': '''Prevent app promotions from appearing on the new tab page''',
3291       'desc': '''When set to True, promotions for Chrome Web Store apps will not appear on the new tab page.
3292
3293       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''',
3294     },
3295     {
3296       'name': 'URLBlacklist',
3297       'type': 'list',
3298       'schema': {
3299         'type': 'array',
3300         'items': { 'type': 'string' },
3301       },
3302       'supported_on': [
3303         'chrome.*:15-',
3304         'chrome_os:15-',
3305         'android:30-',
3306         'ios:99-',
3307       ],
3308       'features': {
3309         'dynamic_refresh': True,
3310         'per_profile': True,
3311       },
3312       'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/bad_path', 'http://server:8080/path', '.exact.hostname.com', '*'],
3313       'id': 103,
3314       'caption': '''Block access to a list of URLs''',
3315       'desc': '''Blocks access to the listed URLs.
3316
3317       This policy prevents the user from loading web pages from blacklisted URLs.
3318
3319       A URL has the format 'scheme://host:port/path'.
3320       The optional scheme can be http, https or ftp. Only this scheme will be blocked; if none is specified, all schemes are blocked.
3321       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.
3322       The optional port is a valid port number from 1 to 65535. If none is specified, all ports are blocked.
3323       If the optional path is specified, only paths with that prefix will be blocked.
3324
3325       Exceptions can be defined in the URL whitelist policy. These policies are limited to 1000 entries; subsequent entries will be ignored.
3326
3327       If this policy is not set no URL will be blacklisted in the browser.''',
3328     },
3329     {
3330       'name': 'URLWhitelist',
3331       'type': 'list',
3332       'schema': {
3333         'type': 'array',
3334         'items': { 'type': 'string' },
3335       },
3336       'supported_on': [
3337         'chrome.*:15-',
3338         'chrome_os:15-',
3339         'android:30-',
3340         'ios:99-',
3341       ],
3342       'features': {
3343         'dynamic_refresh': True,
3344         'per_profile': True,
3345       },
3346       'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/bad_path', 'http://server:8080/path', '.exact.hostname.com'],
3347       'id': 104,
3348       'caption': '''Allows access to a list of URLs''',
3349       'desc': '''Allows access to the listed URLs, as exceptions to the URL blacklist.
3350
3351       See the description of the URL blacklist policy for the format of entries of this list.
3352
3353       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.
3354
3355       The most specific filter will determine if a URL is blocked or allowed. The whitelist takes precedence over the blacklist.
3356
3357       This policy is limited to 1000 entries; subsequent entries will be ignored.
3358
3359       If this policy is not set there will be no exceptions to the blacklist from the 'URLBlacklist' policy.''',
3360     },
3361     {
3362       'name': 'OpenNetworkConfiguration',
3363       'type': 'string',
3364       'schema': { 'type': 'string' },
3365       'supported_on': ['chrome_os:16-'],
3366       'features': {
3367         'dynamic_refresh': True,
3368         'per_profile': True,
3369       },
3370       'example_value': '{ "NetworkConfigurations": [ { "GUID": "{4b224dfd-6849-7a63-5e394343244ae9c9}", "Name": "my WiFi", "Type": "WiFi", "WiFi": { "SSID": "my WiFi", "HiddenSSID": false, "Security": "None", "AutoConnect": true } } ] }',
3371       'id': 107,
3372       'caption': '''User-level network configuration''',
3373       '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>''',
3374     },
3375     {
3376       'name': 'DeviceOpenNetworkConfiguration',
3377       'type': 'string',
3378       'schema': { 'type': 'string' },
3379       'supported_on': ['chrome_os:16-'],
3380       'device_only': True,
3381       'features': {
3382         'dynamic_refresh': True,
3383       },
3384       'example_value': '{ "NetworkConfigurations": [ { "GUID": "{4b224dfd-6849-7a63-5e394343244ae9c9}", "Name": "my WiFi", "Type": "WiFi", "WiFi": { "SSID": "my WiFi", "HiddenSSID": false, "Security": "None", "AutoConnect": true } } ] }',
3385       'id': 108,
3386       'caption': '''Device-level network configuration''',
3387       '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>''',
3388     },
3389     {
3390       'name': 'CloudPrintSubmitEnabled',
3391       'type': 'main',
3392       'schema': { 'type': 'boolean' },
3393       'supported_on': ['chrome.*:17-'],
3394       'features': {
3395         'dynamic_refresh': True,
3396         'per_profile': True,
3397       },
3398       'example_value': True,
3399       'id': 109,
3400       'caption': '''Enable submission of documents to <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph>''',
3401       '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.
3402
3403       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.
3404
3405       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''',
3406     },
3407     {
3408       'name': 'EnterpriseWebStoreURL',
3409       'type': 'string',
3410       'schema': { 'type': 'string' },
3411       'supported_on': ['chrome.*:17-28', 'chrome_os:17-28'],
3412       'features': {
3413         'dynamic_refresh': True,
3414         'per_profile': True,
3415       },
3416       'deprecated': True,
3417       'example_value': 'http://company-intranet/chromeapps',
3418       'id': 112,
3419       'caption': '''Enterprise web store URL (deprecated)''',
3420       '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.''',
3421     },
3422     {
3423       'name': 'EnterpriseWebStoreName',
3424       'type': 'string',
3425       'schema': { 'type': 'string' },
3426       'supported_on': ['chrome.*:17-28', 'chrome_os:17-28'],
3427       'features': {
3428         'dynamic_refresh': True,
3429         'per_profile': True,
3430       },
3431       'deprecated': True,
3432       'example_value': 'WidgCo Chrome Apps',
3433       'id': 113,
3434       'caption': '''Enterprise web store name (deprecated)''',
3435       '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.''',
3436     },
3437     {
3438       'name': 'EnableOriginBoundCerts',
3439       'type': 'main',
3440       'schema': { 'type': 'boolean' },
3441       'supported_on': ['chrome.*:17-'],
3442       'features': {
3443         'dynamic_refresh': True,
3444         'per_profile': False,
3445       },
3446       'future': True,
3447       'example_value': True,
3448       'id': 114,
3449       'caption': '''Enable TLS domain-bound certificates extension''',
3450       'desc': '''Specifies whether the TLS domain-bound certificates extension should be enabled.
3451
3452       This setting is used to enable the TLS domain-bound certificates extension for testing.  This experimental setting will be removed in the future.''',
3453     },
3454     {
3455       'name': 'EnableMemoryInfo',
3456       'type': 'main',
3457       'schema': { 'type': 'boolean' },
3458       'supported_on': ['chrome.*:17-', 'chrome_os:18-'],
3459       'features': {
3460         'dynamic_refresh': True,
3461         'per_profile': True,
3462       },
3463       'future': True,
3464       'example_value': False,
3465       'id': 115,
3466       'caption': '''Enable reporting memory info (JS heap size) to page''',
3467       'desc': '''Allows pages to access JavaScript memory usage statistics.
3468
3469       This settings makes the memory statistics from the Developer Tools Profiles panel available to the web page itself.''',
3470     },
3471     {
3472       'name': 'DisablePrintPreview',
3473       'type': 'main',
3474       'schema': { 'type': 'boolean' },
3475       'supported_on': ['chrome.*:18-'],
3476       'features': {
3477         'dynamic_refresh': False,
3478         'per_profile': True,
3479       },
3480       'example_value': False,
3481       'id': 117,
3482       'caption': '''Disable Print Preview''',
3483       'desc': '''Show the system print dialog instead of print preview.
3484
3485       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.
3486
3487       If this policy is not set or is set to false, print commands trigger the print preview screen.''',
3488     },
3489     {
3490       'name': 'DisableSSLRecordSplitting',
3491       'type': 'main',
3492       'schema': { 'type': 'boolean' },
3493       'supported_on': ['chrome.*:18-', 'chrome_os:18-'],
3494       'features': {
3495         'dynamic_refresh': True,
3496         'per_profile': False,
3497       },
3498       'example_value': True,
3499       'id': 118,
3500       'caption': '''Disable SSL record splitting''',
3501       '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.
3502
3503       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.''',
3504     },
3505     {
3506       'name': 'EnableOnlineRevocationChecks',
3507       'type': 'main',
3508       'schema': { 'type': 'boolean' },
3509       'supported_on': ['chrome.*:19-', 'chrome_os:19-'],
3510       'features': {
3511         'dynamic_refresh': True,
3512         'per_profile': False,
3513       },
3514       'example_value': False,
3515       'id': 129,
3516       'caption': '''Whether online OCSP/CRL checks are performed''',
3517       '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 behaviour is restored and online OCSP/CRL checks will be performed.
3518
3519       If the policy is not set, or is set to false, then Chrome will not perform online revocation checks in Chrome 19 and later.''',
3520     },
3521     {
3522       'name': 'RequireOnlineRevocationChecksForLocalAnchors',
3523       'type': 'main',
3524       'schema': { 'type': 'boolean' },
3525       'supported_on': ['chrome_os:30-', 'chrome.linux:30-', 'chrome.win:30-'],
3526       'features': {
3527         'dynamic_refresh': True,
3528         'per_profile': False,
3529       },
3530       'example_value': False,
3531       'id': 235,
3532       'caption': '''Whether online OCSP/CRL checks are required for local trust anchors''',
3533       '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.
3534
3535       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').
3536
3537       If this policy is not set, or it is set to false, then Chrome will use the existing online revocation checking settings.''',
3538     },
3539     {
3540       'name': 'ForceEphemeralProfiles',
3541       'type': 'main',
3542       'schema': { 'type': 'boolean' },
3543       'supported_on': ['chrome.*:32-'],
3544       'features': {
3545         'dynamic_refresh': False,
3546         'per_profile': True,
3547       },
3548       'example_value': True,
3549       'id': 245,
3550       'caption': '''Ephemeral profile''',
3551       '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.
3552
3553       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.
3554
3555       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.
3556
3557       If the policy is set to disabled or left not set signing in leads to regular profiles.'''
3558     },
3559     {
3560       'name': 'AutoCleanUpStrategy',
3561       'type': 'string-enum',
3562       'schema': {
3563         'type': 'string',
3564         'enum': [ 'remove-lru', 'remove-lru-if-dormant' ],
3565       },
3566       'items': [
3567         {
3568           'name': 'RemoveLRU',
3569           'value': 'remove-lru',
3570           'caption': '''Least recently used users are removed until there is enough free space''',
3571         },
3572         {
3573           'name': 'RemoveLRUIfDormant',
3574           'value': 'remove-lru-if-dormant',
3575           'caption': '''Least recently used users who have not logged in within last 3 months are removed until there is enough free space''',
3576         },
3577       ],
3578       'supported_on': ['chrome_os:32-'],
3579       'device_only': True,
3580       'features': {
3581         'dynamic_refresh': True,
3582         'per_profile': False,
3583       },
3584       'example_value': 'remove-lru',
3585       'id': 246,
3586       'caption': '''Selects the strategy used to free up disk space during automatic clean-up''',
3587       '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.
3588
3589       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.
3590
3591       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.
3592
3593       If this policy is not set, automatic clean-up uses the default built-in strategy. Currently, it is the 'RemoveLRUIfDormant' strategy.'''
3594     },
3595     {
3596       'name': 'ReportDeviceVersionInfo',
3597       'type': 'main',
3598       'schema': { 'type': 'boolean' },
3599       'supported_on': ['chrome_os:18-'],
3600       'device_only': True,
3601       'features': {
3602         'dynamic_refresh': True,
3603       },
3604       'example_value': False,
3605       'id': 119,
3606       'caption': '''Report OS and firmware version''',
3607       'desc': '''Report OS and firmware version of enrolled devices.
3608
3609       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.''',
3610     },
3611     {
3612       'name': 'ReportDeviceActivityTimes',
3613       'type': 'main',
3614       'schema': { 'type': 'boolean' },
3615       'supported_on': ['chrome_os:18-'],
3616       'device_only': True,
3617       'features': {
3618         'dynamic_refresh': True,
3619       },
3620       'example_value': False,
3621       'id': 120,
3622       'caption': '''Report device activity times''',
3623       'desc': '''Report device activity times.
3624
3625       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.''',
3626     },
3627     {
3628       'name': 'ReportDeviceBootMode',
3629       'type': 'main',
3630       'schema': { 'type': 'boolean' },
3631       'supported_on': ['chrome_os:18-'],
3632       'device_only': True,
3633       'features': {
3634         'dynamic_refresh': True,
3635       },
3636       'example_value': False,
3637       'id': 121,
3638       'caption': '''Report device boot mode''',
3639       'desc': '''Report the state of the device's dev switch at boot.
3640
3641       If the policy is not set, or set to false, the state of the dev switch will not be reported.''',
3642     },
3643     {
3644       'name': 'ReportDeviceLocation',
3645       'type': 'main',
3646       'schema': { 'type': 'boolean' },
3647       'supported_on': ['chrome_os:20-'],
3648       'device_only': True,
3649       'features': {
3650         'dynamic_refresh': True,
3651       },
3652       'future': True,
3653       'example_value': False,
3654       'id': 143,
3655       'caption': '''Report device location''',
3656       'desc': '''Report the geographic location of the device.
3657
3658       If the policy is not set, or set to false, the location will not be reported.''',
3659     },
3660     {
3661       'name': 'ReportDeviceNetworkInterfaces',
3662       'type': 'main',
3663       'schema': { 'type': 'boolean' },
3664       'supported_on': ['chrome_os:29-'],
3665       'device_only': True,
3666       'features': {
3667         'dynamic_refresh': True,
3668       },
3669       'example_value': False,
3670       'id': 224,
3671       'caption': '''Report device network interfaces''',
3672       'desc': '''Report list of network interfaces with their types and hardware addresses to the server.
3673
3674       If the policy is not set, or set to false, the interface list will not be reported.''',
3675     },
3676     {
3677       'name': 'ReportDeviceUsers',
3678       'type': 'main',
3679       'schema': { 'type': 'boolean' },
3680       'supported_on': ['chrome_os:32-'],
3681       'device_only': True,
3682       'features': {
3683         'dynamic_refresh': True,
3684       },
3685       'example_value': False,
3686       'id': 248,
3687       'caption': '''Report device users''',
3688       'desc': '''Report list of device users that have recently logged in.
3689
3690       If the policy is not set, or set to false, the users will not be reported.''',
3691     },
3692     {
3693       'name': 'DeviceUserWhitelist',
3694       'type': 'list',
3695       'schema': {
3696         'type': 'array',
3697         'items': { 'type': 'string' },
3698       },
3699       'supported_on': ['chrome_os:12-'],
3700       'device_only': True,
3701       'features': {
3702         'dynamic_refresh': True,
3703       },
3704       'example_value': [ 'madmax@managedchrome.com' ],
3705       'id': 122,
3706       'caption': '''Login user white list''',
3707       '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>.
3708
3709       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.''',
3710     },
3711     {
3712       'name': 'DeviceAllowNewUsers',
3713       'type': 'main',
3714       'schema': { 'type': 'boolean' },
3715       'supported_on': ['chrome_os:12-'],
3716       'device_only': True,
3717       'features': {
3718         'dynamic_refresh': True,
3719       },
3720       'example_value': True,
3721       'id': 123,
3722       'caption': '''Allow creation of new user accounts''',
3723       '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.
3724
3725       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.''',
3726     },
3727     {
3728       'name': 'DeviceGuestModeEnabled',
3729       'type': 'main',
3730       'schema': { 'type': 'boolean' },
3731       'supported_on': ['chrome_os:12-'],
3732       'device_only': True,
3733       'features': {
3734         'dynamic_refresh': True,
3735       },
3736       'example_value': True,
3737       'id': 124,
3738       'caption': '''Enable guest mode''',
3739       '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.
3740
3741       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.''',
3742     },
3743     {
3744       'name': 'DeviceShowUserNamesOnSignin',
3745       'type': 'main',
3746       'schema': { 'type': 'boolean' },
3747       'supported_on': ['chrome_os:12-'],
3748       'device_only': True,
3749       'features': {
3750         'dynamic_refresh': True,
3751       },
3752       'example_value': True,
3753       'id': 125,
3754       'caption': '''Show usernames on login screen''',
3755       '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.''',
3756     },
3757     {
3758       'name': 'DeviceDataRoamingEnabled',
3759       'type': 'main',
3760       'schema': { 'type': 'boolean' },
3761       'supported_on': ['chrome_os:12-'],
3762       'device_only': True,
3763       'features': {
3764         'dynamic_refresh': True,
3765       },
3766       'example_value': True,
3767       'id': 126,
3768       'caption': '''Enable data roaming''',
3769       '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.''',
3770     },
3771     {
3772       'name': 'DeviceMetricsReportingEnabled',
3773       'type': 'main',
3774       'schema': { 'type': 'boolean' },
3775       'supported_on': ['chrome_os:14-'],
3776       'device_only': True,
3777       'features': {
3778         'dynamic_refresh': True,
3779       },
3780       'example_value': True,
3781       'id': 127,
3782       'caption': '''Enable metrics reporting''',
3783       '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.''',
3784     },
3785     {
3786       'name': 'ChromeOsReleaseChannel',
3787       'type': 'string-enum',
3788       'schema': {
3789         'type': 'string',
3790         'enum': [ 'stable-channel', 'beta-channel', 'dev-channel' ],
3791       },
3792       'items': [
3793         {
3794           'name': 'StableChannel',
3795           'value': 'stable-channel',
3796           'caption': '''Stable channel''',
3797         },
3798         {
3799           'name': 'BetaChannel',
3800           'value': 'beta-channel',
3801           'caption': '''Beta channel''',
3802         },
3803         {
3804           'name': 'DevChannel',
3805           'value': 'dev-channel',
3806           'caption': '''Dev channel (may be unstable)''',
3807         },
3808       ],
3809       'supported_on': ['chrome_os:11-'],
3810       'device_only': True,
3811       'features': {
3812         'dynamic_refresh': True,
3813       },
3814       'example_value': 'stable-channel',
3815       'id': 91,
3816       'caption': '''Release channel''',
3817       'desc': '''Specifies the release channel that this device should be locked to.''',
3818     },
3819     {
3820       'name': 'ChromeOsReleaseChannelDelegated',
3821       'type': 'main',
3822       'schema': { 'type': 'boolean' },
3823       'supported_on': ['chrome_os:19-'],
3824       'device_only': True,
3825       'features': {
3826         'dynamic_refresh': True,
3827       },
3828       'example_value': False,
3829       'id': 134,
3830       'caption': '''Whether the release channel should be configurable by the user''',
3831       '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.
3832
3833       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.''',
3834     },
3835     {
3836       'name': 'DeviceEphemeralUsersEnabled',
3837       'type': 'main',
3838       'schema': { 'type': 'boolean' },
3839       'supported_on': ['chrome_os:19-'],
3840       'device_only': True,
3841       'features': {
3842         'dynamic_refresh': True,
3843       },
3844       'example_value': True,
3845       'id': 128,
3846       'caption': '''Wipe user data on sign-out''',
3847       '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.''',
3848     },
3849     {
3850       'name': 'DeviceStartUpUrls',
3851       'type': 'list',
3852       'schema': {
3853         'type': 'array',
3854         'items': { 'type': 'string' },
3855       },
3856       'supported_on': ['chrome_os:19-'],
3857       'device_only': True,
3858       'features': {
3859         'dynamic_refresh': True,
3860       },
3861       'example_value': [ 'http://google.com', 'chrome-extension://aaaaaaaaaaaaaaaaaaaaaaaa/' ],
3862       'id': 137,
3863       'caption': '''Load specified urls on demo login''',
3864       'desc': '''This policy is active in retail mode only.
3865
3866       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.''',
3867     },
3868     {
3869       'name': 'DeviceIdleLogoutTimeout',
3870       'type': 'int',
3871       'schema': { 'type': 'integer' },
3872       'supported_on': ['chrome_os:19-'],
3873       'device_only': True,
3874       'features': {
3875         'dynamic_refresh': True,
3876       },
3877       'example_value': 60000,
3878       'id': 130,
3879       'caption': '''Timeout until idle user log-out is executed''',
3880       'desc': '''This policy is active in retail mode only.
3881
3882       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.
3883
3884       The policy value should be specified in milliseconds.''',
3885     },
3886     {
3887       'name': 'DeviceIdleLogoutWarningDuration',
3888       'type': 'int',
3889       'schema': { 'type': 'integer' },
3890       'supported_on': ['chrome_os:19-'],
3891       'device_only': True,
3892       'features': {
3893         'dynamic_refresh': True,
3894       },
3895       'example_value': 15000,
3896       'id': 131,
3897       'caption': '''Duration of the idle log-out warning message''',
3898       'desc': '''This policy is active in retail mode only.
3899
3900       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.
3901
3902       The policy value should be specified in milliseconds.''',
3903     },
3904     {
3905       'name': 'DeviceLoginScreenSaverId',
3906       'type': 'string',
3907       'schema': { 'type': 'string' },
3908       'supported_on': ['chrome_os:19-'],
3909       'device_only': True,
3910       'features': {
3911         'dynamic_refresh': True,
3912       },
3913       'example_value': 'fhblcfnmnbehmifidkddcenilbpddlfk',
3914       'id': 132,
3915       'caption': '''Screen saver to be used on the sign-in screen in retail mode''',
3916       'desc': '''This policy is active in retail mode only.
3917
3918       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.''',
3919     },
3920     {
3921       'name': 'DeviceLoginScreenSaverTimeout',
3922       'type': 'int',
3923       'schema': { 'type': 'integer' },
3924       'supported_on': ['chrome_os:19-'],
3925       'device_only': True,
3926       'features': {
3927         'dynamic_refresh': True,
3928       },
3929       'example_value': 120000,
3930       'id': 133,
3931       'caption': '''Duration of inactivity before the screen saver is shown on the sign-in screen in retail mode''',
3932       'desc': '''This policy is active in retail mode only.
3933
3934       Determines the duration before the screen saver is shown on the sign-in screen for devices in retail mode.
3935
3936       The policy value should be specified in milliseconds.''',
3937     },
3938     {
3939       'name': 'DeviceAppPack',
3940       'type': 'list',
3941       'schema': {
3942         'type': 'array',
3943         'items': { 'type': 'string' },
3944       },
3945       'supported_on': ['chrome_os:19-'],
3946       'device_only': True,
3947       'features': {
3948         'dynamic_refresh': True,
3949       },
3950       'example_value': [ { "extension-id": "khgabmflimjjbclkmljlpmgaleanedem", "update-url": "http://clients2.google.com/service/update2/crx" } ],
3951       'id': 135,
3952       'caption': '''List of AppPack extensions''',
3953       'desc': '''This policy is active in retail mode only.
3954
3955       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.
3956
3957       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.''',
3958     },
3959     {
3960       'name': 'DeviceAutoUpdateDisabled',
3961       'type': 'main',
3962       'schema': { 'type': 'boolean' },
3963       'supported_on': ['chrome_os:19-'],
3964       'device_only': True,
3965       'features': {
3966         'dynamic_refresh': True,
3967       },
3968       'example_value': True,
3969       'id': 136,
3970       'caption': '''Disables Auto Update''',
3971       'desc': '''Disables automatic updates when set to True.
3972
3973       <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.''',
3974     },
3975     {
3976       'name': 'DeviceAutoUpdateP2PEnabled',
3977       'type': 'main',
3978       'schema': { 'type': 'boolean' },
3979       'supported_on': ['chrome_os:31-'],
3980       'device_only': True,
3981       'features': {
3982         'dynamic_refresh': True,
3983       },
3984       'example_value': False,
3985       'id': 242,
3986       'caption': '''Auto update p2p enabled''',
3987       '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.''',
3988     },
3989     {
3990       'name': 'DeviceTargetVersionPrefix',
3991       'type': 'string',
3992       'schema': { 'type': 'string' },
3993       'supported_on': ['chrome_os:19-'],
3994       'device_only': True,
3995       'features': {
3996         'dynamic_refresh': True,
3997       },
3998       'example_value': '1412.',
3999       'id': 142,
4000       'caption': '''Target Auto Update Version''',
4001       'desc': '''Sets a target version for Auto Updates.
4002
4003       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:
4004
4005       "" (or not configured): update to latest version available.
4006       "1412.": update to any minor version of 1412 (e.g. 1412.24.34 or 1412.60.2)
4007       "1412.2.": update to any minor version of 1412.2 (e.g. 1412.2.34 or 1412.2.2)
4008       "1412.24.34": update to this specific version only''',
4009     },
4010     {
4011       'name': 'DeviceUpdateScatterFactor',
4012       'type': 'int',
4013       'schema': { 'type': 'integer' },
4014       'supported_on': ['chrome_os:20-'],
4015       'device_only': True,
4016       'features': {
4017         'dynamic_refresh': True,
4018       },
4019       'example_value': 7200,
4020       'id': 145,
4021       'caption': '''Auto update scatter factor''',
4022       '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.''',
4023     },
4024     {
4025       'name': 'DeviceUpdateAllowedConnectionTypes',
4026       'type': 'list',
4027       'schema': {
4028         'type': 'array',
4029         'items': { 'type': 'string' },
4030       },
4031       'supported_on': ['chrome_os:21-'],
4032       'device_only': True,
4033       'features': {
4034         'dynamic_refresh': True,
4035       },
4036       'example_value': [ 'ethernet' ],
4037       'id': 146,
4038       'caption': '''Connection types allowed for updates''',
4039       '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.
4040
4041       The recognized connection type identifiers are "ethernet", "wifi", "wimax", "bluetooth" and "cellular".''',
4042     },
4043     {
4044       'name': 'DeviceUpdateHttpDownloadsEnabled',
4045       'type': 'main',
4046       'schema': {
4047         'type': 'boolean',
4048       },
4049       'supported_on': ['chrome_os:29-'],
4050       'device_only': True,
4051       'features': {
4052         'dynamic_refresh': True,
4053       },
4054       'example_value': True,
4055       'id': 243,
4056       'caption': '''Allow autoupdate downloads via HTTP''',
4057       '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 allowes transparent HTTP caching of HTTP downloads.
4058
4059       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.''',
4060     },
4061     {
4062       'name': 'DeviceLocalAccounts',
4063       'type': 'list',
4064       'schema': {
4065         'type': 'array',
4066         'items': { 'type': 'string' },
4067       },
4068       'supported_on': ['chrome_os:25-'],
4069       'device_only': True,
4070       'features': {
4071         'dynamic_refresh': True,
4072       },
4073       'example_value': [ "demo@example.com" ],
4074       'id': 163,
4075       'caption': '''Device-local accounts''',
4076       'desc': '''Specifies the list of device-local accounts to be shown on the login screen.
4077
4078       Every list entry specifies an identifier, which is used internally to tell the different device-local accounts apart.''',
4079     },
4080     {
4081       'name': 'DeviceLocalAccountAutoLoginId',
4082       'type': 'string',
4083       'schema': { 'type': 'string' },
4084       'supported_on': ['chrome_os:26-'],
4085       'device_only': True,
4086       'features': {
4087         'dynamic_refresh': True,
4088       },
4089       'example_value': "public@example.com",
4090       'id': 194,
4091       'caption': '''Public session for auto-login''',
4092       'desc': '''A public session to auto-login after a delay.
4093
4094       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|).
4095
4096       If this policy is unset, there will be no auto-login.''',
4097     },
4098     {
4099       'name': 'DeviceLocalAccountAutoLoginDelay',
4100       'type': 'int',
4101       'schema': { 'type': 'integer' },
4102       'supported_on': ['chrome_os:26-'],
4103       'device_only': True,
4104       'features': {
4105         'dynamic_refresh': True,
4106       },
4107       'example_value': 180000,
4108       'id': 195,
4109       'caption': '''Public session auto-login timer''',
4110       'desc': '''The public session auto-login delay.
4111
4112       If the |DeviceLocalAccountAutoLoginId| policy is unset, this policy has no effect. Otherwise:
4113
4114       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.
4115
4116       If this policy is unset, 0 milliseconds will be used as the timeout.
4117
4118       This policy is specified in milliseconds.'''
4119     },
4120     {
4121       'name': 'DeviceLocalAccountAutoLoginBailoutEnabled',
4122       'type': 'main',
4123       'schema': { 'type': 'boolean' },
4124       'supported_on': ['chrome_os:28-'],
4125       'device_only': True,
4126       'features': {
4127         'dynamic_refresh': True,
4128       },
4129       'example_value': True,
4130       'id': 202,
4131       'caption': '''Enable bailout keyboard shortcut for auto-login''',
4132       'desc': '''Enable bailout keyboard shortcut for auto-login.
4133
4134       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.
4135
4136       If this policy is set to False, zero-delay auto-login (if configured) cannot be bypassed.'''
4137     },
4138     {
4139       'name': 'DeviceLocalAccountPromptForNetworkWhenOffline',
4140       'type': 'main',
4141       'schema': { 'type': 'boolean' },
4142       'supported_on': ['chrome_os:33-'],
4143       'device_only': True,
4144       'features': {
4145         'dynamic_refresh': True,
4146       },
4147       'example_value': True,
4148       'id': 250,
4149       'caption': '''Enable network configuration prompt when offline''',
4150       'desc': '''Enable network configuration prompt when offline.
4151
4152       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.
4153
4154       If this policy is set to False, an error message will be displayed instead of the network configuration prompt.'''
4155     },
4156     {
4157       'name': 'BackgroundModeEnabled',
4158       'type': 'main',
4159       'schema': { 'type': 'boolean' },
4160       'supported_on': ['chrome.win:19-', 'chrome.linux:19-'],
4161       'features': {
4162         'can_be_recommended': True,
4163         'dynamic_refresh': True,
4164         'per_profile': False,
4165       },
4166       'example_value': True,
4167       'id': 138,
4168       'caption': '''Continue running background apps when <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> is closed''',
4169       '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.
4170
4171       If this policy is set to True, background mode is enabled and cannot be controlled by the user in the browser settings.
4172
4173       If this policy is set to False, background mode is disabled and cannot be controlled by the user in the browser settings.
4174
4175       If this policy is left unset, background mode is initially disabled and can be controlled by the user in the browser settings.''',
4176     },
4177     {
4178       'name': 'Drive',
4179       'type': 'group',
4180       'caption': '''Configure Google Drive options''',
4181       'desc': '''Configure Google Drive in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.''',
4182       'policies': [
4183         {
4184           'name': 'DriveDisabled',
4185           'type': 'main',
4186           'schema': { 'type': 'boolean' },
4187           'supported_on': ['chrome_os:19-'],
4188           'features': {
4189             'dynamic_refresh': True,
4190             'per_profile': True,
4191           },
4192           'example_value': True,
4193           'id': 139,
4194           'caption': '''Disables Drive in the Chrome OS Files app''',
4195           '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.
4196
4197           If not set or set to False, then users will be able to transfer files to Google Drive.''',
4198         },
4199         {
4200           'name': 'DriveDisabledOverCellular',
4201           'type': 'main',
4202           'schema': { 'type': 'boolean' },
4203           'supported_on': ['chrome_os:19-'],
4204           'features': {
4205             'dynamic_refresh': True,
4206             'per_profile': True,
4207           },
4208           'example_value': True,
4209           'id': 140,
4210           'caption': '''Disables Google Drive over Cellular connections in the Chrome OS Files app''',
4211           '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.
4212
4213           If not set or set to False, then users will be able to transfer files to Google Drive via cellular connections.''',
4214         },
4215       ],
4216     },
4217     {
4218       'name': 'PinnedLauncherApps',
4219       'type': 'list',
4220       'schema': {
4221         'type': 'array',
4222         'items': { 'type': 'string' },
4223       },
4224       'supported_on': ['chrome_os:20-' ],
4225       'features': {
4226         'can_be_recommended': True,
4227         'dynamic_refresh': True,
4228         'per_profile': True,
4229       },
4230       'example_value': ['pjkljhegncpnkpknbcohdijeoejaedia'],
4231       'id': 144,
4232       'caption': '''List of pinned apps to show in the launcher''',
4233       '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.
4234
4235       If this policy is configured, the set of applications is fixed and can't be changed by the user.
4236
4237       If this policy is left unset, the user may change the list of pinned apps in the launcher.''',
4238     },
4239     {
4240       'name': 'RestrictSigninToPattern',
4241       'type': 'string',
4242       'schema': { 'type': 'string' },
4243       'supported_on': ['chrome.*:21-'],
4244       'features': {
4245         'dynamic_refresh': True,
4246         'per_profile': False,
4247       },
4248       'example_value': '*@domain.com',
4249       'id': 147,
4250       'caption': '''Restrict which users are allowed to sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>''',
4251       '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>.
4252
4253       An appropriate error is displayed if a user tries to log in with a username that does not match this pattern.
4254
4255       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>.''',
4256     },
4257     {
4258       'name': 'DisableSafeBrowsingProceedAnyway',
4259       'type': 'main',
4260       'schema': { 'type': 'boolean' },
4261       'supported_on': ['chrome.*:22-', 'chrome_os:22-', 'android:30-'],
4262       'features': {
4263         'dynamic_refresh': True,
4264         'per_profile': True,
4265       },
4266       'example_value': True,
4267       'id': 150,
4268       'caption': '''Disable proceeding from the Safe Browsing warning page''',
4269       'desc': '''The Safe Browsing service shows a warning page when users navigate to sites that are flagged as potentially mallicious. Enabling this setting prevents users from proceeding anyway from the warning page to the malicious site.
4270
4271       If this setting is disabled or not configured then users can choose to proceed to the flagged site after being shown the warning.''',
4272     },
4273     {
4274       'name': 'SpellCheckServiceEnabled',
4275       'type': 'main',
4276       'schema': { 'type': 'boolean' },
4277       'supported_on': ['chrome.*:22-', 'chrome_os:22-'],
4278       'features': {
4279         'can_be_recommended': True,
4280         'dynamic_refresh': True,
4281         'per_profile': True,
4282       },
4283       'example_value': False,
4284       'id': 151,
4285       'caption': '''Enable or disable spell checking web service''',
4286       '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.
4287
4288       Spell checking can still be performed using a downloaded dictionary; this policy only controls the usage of the online service.
4289
4290       If this setting is not configured then users can choose whether the spell checking service should be used or not.''',
4291     },
4292     {
4293       'name': 'ExternalStorageDisabled',
4294       'type': 'main',
4295       'schema': { 'type': 'boolean' },
4296       'supported_on': ['chrome_os:22-'],
4297       'features': {
4298         'dynamic_refresh': True,
4299         'per_profile': True,
4300       },
4301       'example_value': True,
4302       'id': 152,
4303       'caption': '''Disable mounting of external storage''',
4304       'desc': '''Disable mounting of external storage.
4305
4306       When this policy is set to true, external storage will not be available in the file browser.
4307
4308       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.
4309
4310       If this setting is disabled or not configured then users can use all supported types of external storage on their device.''',
4311     },
4312     {
4313       'name': 'AudioOutputAllowed',
4314       'type': 'main',
4315       'schema': { 'type': 'boolean' },
4316       'supported_on': ['chrome_os:23-'],
4317       'features': {
4318         'dynamic_refresh': True,
4319         'per_profile': False,
4320       },
4321       'example_value': False,
4322       'id': 159,
4323       'caption': '''Allow playing audio''',
4324       'desc': '''Allow playing audio.
4325
4326       When this policy is set to false, audio output will not be available on the device while the user is logged in.
4327
4328       This policy affects all types of audio output and not only the built-in speakers. Audio accessability features are also inhibited by this policy. Do not enable this policy if a screen reader is required for the user.
4329
4330       If this setting is set to true or not configured then users can use all supported audio outputs on their device.''',
4331     },
4332     {
4333       'name': 'AudioCaptureAllowed',
4334       'type': 'main',
4335       'schema': { 'type': 'boolean' },
4336       'supported_on': ['chrome.*:25-', 'chrome_os:23-'],
4337       'features': {
4338         'dynamic_refresh': True,
4339         'per_profile': False,
4340       },
4341       'example_value': False,
4342       'id': 160,
4343       'caption': '''Allow or deny audio capture''',
4344       'desc': '''Allow or deny audio capture.
4345
4346       If enabled or not configured (default), the user will be prompted for
4347       audio capture access except for URLs configured in the
4348       AudioCaptureAllowedUrls list which will be granted access without prompting.
4349
4350       When this policy is disabled, the user will never be prompted and audio
4351       capture only be available to URLs configured in AudioCaptureAllowedUrls.
4352
4353       This policy affects all types of audio inputs and not only the built-in microphone.''',
4354     },
4355     {
4356       'name': 'AudioCaptureAllowedUrls',
4357       'type': 'list',
4358       'schema': {
4359         'type': 'array',
4360         'items': { 'type': 'string' },
4361       },
4362       'supported_on': ['chrome.*:29-', 'chrome_os:29-'],
4363       'features': {
4364         'dynamic_refresh': True,
4365         'per_profile': True,
4366       },
4367       'example_value': ['http://www.example.com/', 'http://[*.]example.edu/'],
4368       'id': 208,
4369       'caption': '''URLs that will be granted access to audio capture devices without prompt''',
4370       'desc': '''Patterns in this list will be matched against the security
4371       origin of the requesting URL.  If a match is found, access to audio
4372       capture devices will be granted without prompt.
4373
4374       NOTE: This policy is currently only supported when running in Kiosk mode.''',
4375     },
4376     {
4377       'name': 'VideoCaptureAllowed',
4378       'type': 'main',
4379       'schema': { 'type': 'boolean' },
4380       'supported_on': ['chrome.*:25-', 'chrome_os:25-'],
4381       'features': {
4382         'dynamic_refresh': True,
4383         'per_profile': True,
4384       },
4385       'example_value': False,
4386       'id': 167,
4387       'caption': '''Allow or deny video capture''',
4388       'desc': '''Allow or deny video capture.
4389
4390       If enabled or not configured (default), the user will be prompted for
4391       video capture access except for URLs configured in the
4392       VideoCaptureAllowedUrls list which will be granted access without prompting.
4393
4394       When this policy is disabled, the user will never be prompted and video
4395       capture only be available to URLs configured in VideoCaptureAllowedUrls.
4396
4397       This policy affects all types of video inputs and not only the built-in camera.''',
4398     },
4399     {
4400       'name': 'VideoCaptureAllowedUrls',
4401       'type': 'list',
4402       'schema': {
4403         'type': 'array',
4404         'items': { 'type': 'string' },
4405       },
4406       'supported_on': ['chrome.*:29-', 'chrome_os:29-'],
4407       'features': {
4408         'dynamic_refresh': True,
4409         'per_profile': True,
4410       },
4411       'example_value': ['http://www.example.com/', 'http://[*.]example.edu/'],
4412       'id': 209,
4413       'caption': '''URLs that will be granted access to video capture devices without prompt''',
4414       'desc': '''Patterns in this list will be matched against the security
4415       origin of the requesting URL.  If a match is found, access to audio
4416       capture devices will be granted without prompt.
4417
4418       NOTE: This policy is currently only supported when running in Kiosk mode.''',
4419     },
4420     {
4421       'name': 'DisableScreenshots',
4422       'type': 'main',
4423       'schema': { 'type': 'boolean' },
4424       'supported_on': ['chrome_os:22-', 'chrome.*:22-'],
4425       'features': {
4426         'dynamic_refresh': True,
4427         'per_profile': False,
4428       },
4429       'example_value': True,
4430       'id': 153,
4431       'caption': '''Disable taking screenshots''',
4432       'desc': '''Disables taking screenshots.
4433
4434       If enabled screenshots cannot be taken using keyboard shortcuts or extension APIs.
4435
4436       If disabled or not specified, taking screenshots is allowed.'''
4437     },
4438     {
4439       'name': 'SystemTimezone',
4440       'type': 'string',
4441       'schema': { 'type': 'string' },
4442       'supported_on': ['chrome_os:22-'],
4443       'device_only': True,
4444       'features': {
4445         'dynamic_refresh': True,
4446       },
4447       'example_value': 'America/Los_Angeles',
4448       'id': 158,
4449       'caption': '''Timezone''',
4450       '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.
4451
4452       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.
4453
4454       New devices start out with the timezone set to "US/Pacific".
4455
4456       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".''',
4457     },
4458     {
4459       'name': 'SystemUse24HourClock',
4460       'type': 'main',
4461       'schema': { 'type': 'boolean' },
4462       'supported_on': ['chrome_os:30-'],
4463       'device_only': True,
4464       'features': {
4465         'dynamic_refresh': True,
4466       },
4467       'example_value': True,
4468       'id': 236,
4469       'caption': '''Use 24 hour clock by default''',
4470       'desc': '''Specifies the clock format be used for the device.
4471
4472       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.
4473
4474       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.
4475
4476       If this policy is not set, the device will default to a 24 hour clock format.''',
4477     },
4478     {
4479       'name': 'ShowLogoutButtonInTray',
4480       'type': 'main',
4481       'schema': { 'type': 'boolean' },
4482       'supported_on': ['chrome_os:25-'],
4483       'features': {
4484         'dynamic_refresh': True,
4485         'per_profile': True,
4486       },
4487       'example_value': True,
4488       'id': 164,
4489       'caption': '''Add a logout button to the system tray''',
4490       'desc': '''Adds a logout button to the system tray.
4491
4492       If enabled, a big, red logout button is shown in the system tray while a session is active and the screen is not locked.
4493
4494       If disabled or not specified, no big, red logout button is shown in the system tray.''',
4495     },
4496     {
4497       'name': 'BuiltInDnsClientEnabled',
4498       'type': 'main',
4499       'schema': { 'type': 'boolean' },
4500       'supported_on': ['chrome.*:25-'],
4501       'features': {
4502         'dynamic_refresh': True,
4503         'per_profile': False,
4504       },
4505       'example_value': True,
4506       'id': 165,
4507       'caption': '''Use built-in DNS client''',
4508       'desc': '''Controls whether the built-in DNS client is used in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
4509
4510       If this policy is set to true, the built-in DNS client will be used, if available.
4511
4512       If this policy is set to false, the built-in DNS client will never be used.
4513
4514       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.''',
4515     },
4516     {
4517       'name': 'ShelfAutoHideBehavior',
4518       'type': 'string-enum',
4519       'schema': {
4520         'type': 'string',
4521         'enum': [
4522           'Always',
4523           'Never'
4524         ],
4525       },
4526       'items': [
4527         {
4528           'name': 'AlwaysAutoHideShelf',
4529           'value': 'Always',
4530           'caption': '''Always auto-hide the shelf''',
4531         },
4532         {
4533           'name': 'NeverAutoHideShelf',
4534           'value': 'Never',
4535           'caption': '''Never auto-hide the shelf''',
4536         },
4537       ],
4538       'supported_on': ['chrome_os:25-'],
4539       'features': {
4540         'can_be_recommended': True,
4541         'dynamic_refresh': True,
4542         'per_profile': False,
4543       },
4544       'example_value': 'Always',
4545       'id': 166,
4546       'caption': '''Control shelf auto-hiding''',
4547       'desc': '''Control auto-hiding of the <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> shelf.
4548
4549       If this policy is set to 'AlwaysAutoHideShelf', the shelf will always auto-hide.
4550
4551       If this policy is set to 'NeverAutoHideShelf', the shelf never auto-hide.
4552
4553       If you set this policy, users cannot change or override it.
4554
4555       If the policy is left not set, users can choose whether the shelf should auto-hide.''',
4556     },
4557     {
4558       'name': 'UserDisplayName',
4559       'type': 'string',
4560       'schema': { 'type': 'string' },
4561       'supported_on': ['chrome_os:25-'],
4562       'features': {
4563         'dynamic_refresh': True,
4564         'per_profile': False,
4565       },
4566       'example_value': 'Policy User',
4567       'id': 169,
4568       'caption': '''Set the display name for device-local accounts''',
4569       '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.
4570
4571       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.
4572
4573       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.
4574
4575       This policy is ignored for regular user accounts.''',
4576     },
4577     {
4578       'name': 'SessionLengthLimit',
4579       'type': 'int',
4580       'schema': { 'type': 'integer' },
4581       'supported_on': ['chrome_os:25-'],
4582       'features': {
4583         'dynamic_refresh': True,
4584         'per_profile': False,
4585       },
4586       'example_value': 3600000,
4587       'id': 170,
4588       'caption': '''Limit the session length''',
4589       'desc': '''Limit the maximum length of a user session.
4590
4591       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.
4592
4593       When this policy is not set, the session length is not limited.
4594
4595       If you set this policy, users cannot change or override it.
4596
4597       The policy value should be specified in milliseconds. Values are clamped to a range of 30 seconds to 24 hours.''',
4598     },
4599     {
4600       'name': 'FullscreenAllowed',
4601       'type': 'main',
4602       'schema': { 'type': 'boolean' },
4603       'supported_on': ['chrome.win:31-', 'chrome.linux:31-', 'chrome_os:31-'],
4604       'features': {
4605         'dynamic_refresh': True,
4606         'per_profile': True,
4607       },
4608       'example_value': True,
4609       'id': 240,
4610       'caption': '''Allow fullscreen mode''',
4611       'desc': '''Allow fullscreen mode.
4612
4613       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.
4614
4615       If this policy is set to true or not not configured, the user, apps and extensions with appropriate permissions can enter fullscreen mode.
4616
4617       If this policy is set to false, neither the user nor any apps or extensions can enter fullscreen mode.
4618
4619       On all platforms except <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>, kiosk mode is unvailable when fullscreen mode is disabled.''',
4620     },
4621     {
4622       'name': 'PowerManagement',
4623       'type': 'group',
4624       'caption': '''Power mangement''',
4625       'desc': '''Configure power manegement in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.
4626
4627       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.''',
4628       'policies': [
4629         {
4630           'name': 'ScreenDimDelayAC',
4631           'type': 'int',
4632           'schema': {
4633             'type': 'integer',
4634             'minimum': 0
4635           },
4636           'supported_on': ['chrome_os:26-'],
4637           'features': {
4638             'dynamic_refresh': True,
4639             'per_profile': False,
4640           },
4641           'example_value': 420000,
4642           'id': 172,
4643           'caption': '''Screen dim delay when running on AC power''',
4644           'desc': '''Specifies the length of time without user input after which the screen is dimmed when running on AC power.
4645
4646           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.
4647
4648           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.
4649
4650           When this policy is unset, a default length of time is used.
4651
4652           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.''',
4653         },
4654         {
4655           'name': 'ScreenOffDelayAC',
4656           'type': 'int',
4657           'schema': {
4658             'type': 'integer',
4659             'minimum': 0
4660           },
4661           'supported_on': ['chrome_os:26-'],
4662           'features': {
4663             'dynamic_refresh': True,
4664             'per_profile': False,
4665           },
4666           'example_value': 480000,
4667           'id': 173,
4668           'caption': '''Screen off delay when running on AC power''',
4669           'desc': '''Specifies the length of time without user input after which the screen is turned off when running on AC power.
4670
4671           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.
4672
4673           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.
4674
4675           When this policy is unset, a default length of time is used.
4676
4677           The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
4678         },
4679         {
4680           'name': 'ScreenLockDelayAC',
4681           'type': 'int',
4682           'schema': {
4683             'type': 'integer',
4684             'minimum': 0
4685           },
4686           'supported_on': ['chrome_os:26-'],
4687           'features': {
4688             'dynamic_refresh': True,
4689             'per_profile': False,
4690           },
4691           'example_value': 600000,
4692           'id': 174,
4693           'caption': '''Screen lock delay when running on AC power''',
4694           'desc': '''Specifies the length of time without user input after which the screen is locked when running on AC power.
4695
4696           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.
4697
4698           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.
4699
4700           When this policy is unset, a default length of time is used.
4701
4702           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.
4703
4704           The policy value should be specified in milliseconds. Values are clamped to be less than the idle delay.''',
4705         },
4706         {
4707           'name': 'IdleWarningDelayAC',
4708           'type': 'int',
4709           'schema': {
4710             'type': 'integer',
4711             'minimum': 0
4712           },
4713           'supported_on': ['chrome_os:27-'],
4714           'features': {
4715             'dynamic_refresh': True,
4716             'per_profile': False,
4717           },
4718           'example_value': 545000,
4719           'id': 197,
4720           'caption': '''Idle warning delay when running on AC power''',
4721           'desc': '''Specifies the length of time without user input after which a warning dialog is shown when running on AC power.
4722
4723           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.
4724
4725           When this policy is unset, no warning dialog is shown.
4726
4727           The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
4728         },
4729         {
4730           'name': 'IdleDelayAC',
4731           'type': 'int',
4732           'schema': {
4733             'type': 'integer',
4734             'minimum': 0
4735           },
4736           'supported_on': ['chrome_os:26-'],
4737           'features': {
4738             'dynamic_refresh': True,
4739             'per_profile': False,
4740           },
4741           'example_value': 1800000,
4742           'id': 175,
4743           'caption': '''Idle delay when running on AC power''',
4744           'desc': '''Specifies the length of time without user input after which the idle action is taken when running on AC power.
4745
4746           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.
4747
4748           When this policy is unset, a default length of time is used.
4749
4750           The policy value should be specified in milliseconds.''',
4751         },
4752         {
4753           'name': 'ScreenDimDelayBattery',
4754           'type': 'int',
4755           'schema': {
4756             'type': 'integer',
4757             'minimum': 0
4758           },
4759           'supported_on': ['chrome_os:26-'],
4760           'features': {
4761             'dynamic_refresh': True,
4762             'per_profile': False,
4763           },
4764           'example_value': 300000,
4765           'id': 176,
4766           'caption': '''Screen dim delay when running on battery power''',
4767           'desc': '''Specifies the length of time without user input after which the screen is dimmed when running on battery power.
4768
4769           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.
4770
4771           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.
4772
4773           When this policy is unset, a default length of time is used.
4774
4775           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.''',
4776         },
4777         {
4778           'name': 'ScreenOffDelayBattery',
4779           'type': 'int',
4780           'schema': {
4781             'type': 'integer',
4782             'minimum': 0
4783           },
4784           'supported_on': ['chrome_os:26-'],
4785           'features': {
4786             'dynamic_refresh': True,
4787             'per_profile': False,
4788           },
4789           'example_value': 360000,
4790           'id': 177,
4791           'caption': '''Screen off delay when running on battery power''',
4792           'desc': '''Specifies the length of time without user input after which the screen is turned off when running on battery power.
4793
4794           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.
4795
4796           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.
4797
4798           When this policy is unset, a default length of time is used.
4799
4800           The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
4801         },
4802         {
4803           'name': 'ScreenLockDelayBattery',
4804           'type': 'int',
4805           'schema': {
4806             'type': 'integer',
4807             'minimum': 0
4808           },
4809           'supported_on': ['chrome_os:26-'],
4810           'features': {
4811             'dynamic_refresh': True,
4812             'per_profile': False,
4813           },
4814           'example_value': 600000,
4815           'id': 178,
4816           'caption': '''Screen lock delay when running on battery power''',
4817           'desc': '''Specifies the length of time without user input after which the screen is locked when running on battery power.
4818
4819           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.
4820
4821           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.
4822
4823           When this policy is unset, a default length of time is used.
4824
4825           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.
4826
4827           The policy value should be specified in milliseconds. Values are clamped to be less than the idle delay.''',
4828         },
4829         {
4830           'name': 'IdleWarningDelayBattery',
4831           'type': 'int',
4832           'schema': {
4833             'type': 'integer',
4834             'minimum': 0
4835           },
4836           'supported_on': ['chrome_os:27-'],
4837           'features': {
4838             'dynamic_refresh': True,
4839             'per_profile': False,
4840           },
4841           'example_value': 545000,
4842           'id': 198,
4843           'caption': '''Idle warning delay when running on battery power''',
4844           'desc': '''Specifies the length of time without user input after which a warning dialog is shown when running on battery power.
4845
4846           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.
4847
4848           When this policy is unset, no warning dialog is shown.
4849
4850           The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
4851         },
4852         {
4853           'name': 'IdleDelayBattery',
4854           'type': 'int',
4855           'schema': {
4856             'type': 'integer',
4857             'minimum': 0
4858           },
4859           'supported_on': ['chrome_os:26-'],
4860           'features': {
4861             'dynamic_refresh': True,
4862             'per_profile': False,
4863           },
4864           'example_value': 600000,
4865           'id': 179,
4866           'caption': '''Idle delay when running on battery power''',
4867           'desc': '''Specifies the length of time without user input after which the idle action is taken when running on battery power.
4868
4869           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.
4870
4871           When this policy is unset, a default length of time is used.
4872
4873           The policy value should be specified in milliseconds.''',
4874         },
4875         {
4876           'name': 'IdleAction',
4877           'type': 'int-enum',
4878           'schema': {
4879             'type': 'integer',
4880             'enum': [ 0, 1, 2, 3 ],
4881           },
4882           'items': [
4883             {
4884               'name': 'IdleActionSuspend',
4885               'value': 0,
4886               'caption': '''Suspend''',
4887             },
4888             {
4889               'name': 'IdleActionLogout',
4890               'value': 1,
4891               'caption': '''Log the user out''',
4892             },
4893             {
4894               'name': 'IdleActionShutdown',
4895               'value': 2,
4896               'caption': '''Shut down''',
4897             },
4898             {
4899               'name': 'IdleActionDoNothing',
4900               'value': 3,
4901               'caption': '''Do nothing''',
4902             },
4903           ],
4904           'supported_on': ['chrome_os:26-'],
4905           'features': {
4906             'dynamic_refresh': True,
4907             'per_profile': False,
4908           },
4909           'deprecated': True,
4910           'example_value': 0,
4911           'id': 180,
4912           'caption': '''Action to take when the idle delay is reached''',
4913           'desc': '''Specify the action to take when the idle delay is reached.
4914
4915           Note that this policy is deprecated and will be removed in the future.
4916
4917           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.
4918
4919           When this policy is unset, behavior of the more-specific policies remains unaffected.''',
4920         },
4921         {
4922           'name': 'IdleActionAC',
4923           'type': 'int-enum',
4924           'schema': {
4925             'type': 'integer',
4926             'enum': [ 0, 1, 2, 3 ],
4927           },
4928           'items': [
4929             {
4930               'name': 'IdleActionSuspend',
4931               'value': 0,
4932               'caption': '''Suspend''',
4933             },
4934             {
4935               'name': 'IdleActionLogout',
4936               'value': 1,
4937               'caption': '''Log the user out''',
4938             },
4939             {
4940               'name': 'IdleActionShutdown',
4941               'value': 2,
4942               'caption': '''Shut down''',
4943             },
4944             {
4945               'name': 'IdleActionDoNothing',
4946               'value': 3,
4947               'caption': '''Do nothing''',
4948             },
4949           ],
4950           'supported_on': ['chrome_os:30-'],
4951           'features': {
4952             'dynamic_refresh': True,
4953             'per_profile': False,
4954           },
4955           'example_value': 0,
4956           'id': 226,
4957           'caption': '''Action to take when the idle delay is reached while running on AC power''',
4958           'desc': '''Specify the action to take when the idle delay is reached while running on AC power.
4959
4960           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.
4961
4962           When this policy is unset, the default action is taken, which is suspend.
4963
4964           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.''',
4965         },
4966         {
4967           'name': 'IdleActionBattery',
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': 222,
5002           'caption': '''Action to take when the idle delay is reached while running on battery power''',
5003           'desc': '''Specify the action to take when the idle delay is reached while running on battery 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': 'LidCloseAction',
5013           'type': 'int-enum',
5014           'schema': {
5015             'type': 'integer',
5016             'enum': [ 0, 1, 2, 3 ],
5017           },
5018           'items': [
5019             {
5020               'name': 'LidCloseActionSuspend',
5021               'value': 0,
5022               'caption': '''Suspend''',
5023             },
5024             {
5025               'name': 'LidCloseActionLogout',
5026               'value': 1,
5027               'caption': '''Log the user out''',
5028             },
5029             {
5030               'name': 'LidCloseActionShutdown',
5031               'value': 2,
5032               'caption': '''Shut down''',
5033             },
5034             {
5035               'name': 'LidCloseActionDoNothing',
5036               'value': 3,
5037               'caption': '''Do nothing''',
5038             },
5039           ],
5040           'supported_on': ['chrome_os:26-'],
5041           'features': {
5042             'dynamic_refresh': True,
5043             'per_profile': False,
5044           },
5045           'example_value': 0,
5046           'id': 181,
5047           'caption': '''Action to take when the user closes the lid''',
5048           'desc': '''Specify the action to take when the user closes the lid.
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 closes the device's lid.
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': 'PowerManagementUsesAudioActivity',
5058           'type': 'main',
5059           'schema': { 'type': 'boolean' },
5060           'supported_on': ['chrome_os:26-'],
5061           'features': {
5062             'dynamic_refresh': True,
5063             'per_profile': False,
5064           },
5065           'example_value': True,
5066           'id': 182,
5067           'caption': '''Specify whether audio activity affects power management''',
5068           'desc': '''Specifies whether audio activity affects power management.
5069
5070           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.
5071
5072           If this policy is set to False, audio activity does not prevent the user from being considered idle.''',
5073         },
5074         {
5075           'name': 'PowerManagementUsesVideoActivity',
5076           'type': 'main',
5077           'schema': { 'type': 'boolean' },
5078           'supported_on': ['chrome_os:26-'],
5079           'features': {
5080             'dynamic_refresh': True,
5081             'per_profile': False,
5082           },
5083           'example_value': True,
5084           'id': 183,
5085           'caption': '''Specify whether video activity affects power management''',
5086           'desc': '''Specifies whether video activity affects power management.
5087
5088           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.
5089
5090           If this policy is set to False, video activity does not prevent the user from being considered idle.''',
5091         },
5092         {
5093           'name': 'PresentationIdleDelayScale',
5094           'type': 'int',
5095           'schema': { 'type': 'integer' },
5096           'supported_on': ['chrome_os:26-28'],
5097           'features': {
5098             'dynamic_refresh': True,
5099             'per_profile': False,
5100           },
5101           'deprecated': True,
5102           'example_value': 200,
5103           'id': 184,
5104           'caption': '''Percentage by which to scale the idle delay in presentation mode (deprecated)''',
5105           '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.''',
5106         },
5107         {
5108           'name': 'PresentationScreenDimDelayScale',
5109           'type': 'int',
5110           'schema': { 'type': 'integer' },
5111           'supported_on': ['chrome_os:29-'],
5112           'features': {
5113             'dynamic_refresh': True,
5114             'per_profile': False,
5115           },
5116           'example_value': 200,
5117           'id': 220,
5118           'caption': '''Percentage by which to scale the screen dim delay in presentation mode''',
5119           'desc': '''Specifies the percentage by which the screen dim delay is scaled when the device is in presentation mode.
5120
5121           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.
5122
5123           If this policy is unset, a default scale factor is used.
5124
5125           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.''',
5126         },
5127         {
5128           'name': 'AllowScreenWakeLocks',
5129           'type': 'main',
5130           'schema': { 'type': 'boolean' },
5131           'supported_on': ['chrome_os:28-'],
5132           'features': {
5133             'dynamic_refresh': True,
5134             'per_profile': False,
5135           },
5136           'example_value': False,
5137           'id': 203,
5138           'caption': '''Allow screen wake locks''',
5139           'desc': '''Specifies whether screen wake locks are allowed. Screen wake locks can be requested by extensions via the power management extension API.
5140
5141           If this policy is set to true or left not set, screen wake locks will be honored for power management.
5142
5143           If this policy is set to false, screen wake lock requests will get ignored.''',
5144         },
5145         {
5146           'name': 'UserActivityScreenDimDelayScale',
5147           'type': 'int',
5148           'schema': { 'type': 'integer' },
5149           'supported_on': ['chrome_os:29-'],
5150           'features': {
5151             'dynamic_refresh': True,
5152             'per_profile': False,
5153           },
5154           'example_value': 200,
5155           'id': 210,
5156           'caption': '''Percentage by which to scale the screen dim delay if the user becomes active after dimming''',
5157           '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.
5158
5159           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.
5160
5161           If this policy is unset, a default scale factor is used.
5162
5163           The scale factor must be 100% or more.''',
5164         },
5165         {
5166           'name': 'WaitForInitialUserActivity',
5167           'type': 'main',
5168           'schema': { 'type': 'boolean' },
5169           'supported_on': ['chrome_os:32-'],
5170           'features': {
5171             'dynamic_refresh': True,
5172             'per_profile': False,
5173           },
5174           'example_value': True,
5175           'id': 247,
5176           'caption': '''Wait for initial user activity''',
5177           '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.
5178
5179           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.
5180
5181           If this policy is set to False or left unset, power management delays and the session length limit start running immediately on session start.''',
5182         },
5183       ],
5184     },
5185     {
5186       # TODO(bartfab): Change the policy type to 'dict' once this is fully
5187       # supported. http://crbug.com/258339
5188       'name': 'DeviceLoginScreenPowerManagement',
5189       'type': 'string',
5190       'schema': { 'type': 'string' },
5191       'supported_on': ['chrome_os:30-'],
5192       'device_only': True,
5193       'features': {
5194         'dynamic_refresh': True,
5195       },
5196       'example_value': '{ "AC": { "IdleAction": "DoNothing" }, "Battery": { "IdleAction": "DoNothing" } }',
5197       'id': 225,
5198       'caption': '''Power mangement on the login screen''',
5199       'desc': '''Configure power management on the login screen in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.
5200
5201       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:
5202       * The actions to take on idle or lid close cannot be to end the session.
5203       * The default action taken on idle when running on AC power is to shut down.
5204
5205       The policy should be specified as a string that expresses the individual settings in JSON format, conforming to the following schema:
5206       {
5207         "type": "object",
5208         "properties": {
5209           "AC": {
5210             "description": "Power management settings applicable only when running on AC power",
5211             "type": "object",
5212             "properties": {
5213               "Delays": {
5214                 "type": "object",
5215                 "properties": {
5216                   "ScreenDim": {
5217                     "description": "The length of time without user input after which the screen is dimmed, in milliseconds",
5218                     "type": "integer",
5219                     "minimum": 0
5220                   },
5221                   "ScreenOff": {
5222                     "description": "The length of time without user input after which the screen is turned off, in milliseconds",
5223                     "type": "integer",
5224                     "minimum": 0
5225                   },
5226                   "Idle": {
5227                     "description": "The length of time without user input after which the idle action is taken, in milliseconds",
5228                     "type": "integer",
5229                     "minimum": 0
5230                   }
5231                 }
5232               },
5233               "IdleAction": {
5234                 "description": "Action to take when the idle delay is reached",
5235                 "enum": [ "Suspend", "Shutdown", "DoNothing" ]
5236               }
5237             }
5238           },
5239           "Battery": {
5240             "description": "Power management settings applicable only when running on battery power",
5241             "type": "object",
5242             "properties": {
5243               "Delays": {
5244                 "type": "object",
5245                 "properties": {
5246                   "ScreenDim": {
5247                     "description": "The length of time without user input after which the screen is dimmed, in milliseconds",
5248                     "type": "integer",
5249                     "minimum": 0
5250                   },
5251                   "ScreenOff": {
5252                     "description": "The length of time without user input after which the screen is turned off, in milliseconds",
5253                     "type": "integer",
5254                     "minimum": 0
5255                   },
5256                   "Idle": {
5257                     "description": "The length of time without user input after which the idle action is taken, in milliseconds",
5258                     "type": "integer",
5259                     "minimum": 0
5260                   }
5261                 }
5262               },
5263               "IdleAction": {
5264                 "description": "Action to take when the idle delay is reached",
5265                 "enum": [ "Suspend", "Shutdown", "DoNothing" ]
5266               }
5267             }
5268           },
5269           "LidCloseAction": {
5270             "description": "Action to take when the lid is closed",
5271             "enum": [ "Suspend", "Shutdown", "DoNothing" ]
5272           },
5273           "UserActivityScreenDimDelayScale": {
5274             "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",
5275             "type": "integer",
5276             "minimum": 100
5277           }
5278         }
5279       }
5280
5281       If a setting is left unspecified, a default value is used.
5282
5283       If this policy is unset, defaults are used for all settings.''',
5284     },
5285     {
5286       'name': 'DeviceAllowRedeemChromeOsRegistrationOffers',
5287       'type': 'main',
5288       'schema': { 'type': 'boolean' },
5289       'supported_on': ['chrome_os:26-'],
5290       'device_only': True,
5291       'features': {
5292         'dynamic_refresh': True,
5293       },
5294       'example_value': True,
5295       'id': 185,
5296       'caption': '''Allow users to redeem offers through Chrome OS Registration''',
5297       'desc': '''IT admins for enterprise devices can use this flag to controll whether to allow users to redeem offers through Chrome OS Registration.
5298
5299       If this policy is set to true or left not set, users will be able to redeem offers through Chrome OS Registration.
5300
5301       If this policy is set to false, user will not be able to redeem offers.''',
5302     },
5303     {
5304       'name': 'TermsOfServiceURL',
5305       'type': 'string',
5306       'schema': { 'type': 'string' },
5307       'supported_on': ['chrome_os:26-'],
5308       'features': {
5309         'dynamic_refresh': True,
5310         'per_profile': False,
5311       },
5312       'example_value': 'http://www.example.com/terms_of_service.txt',
5313       'id': 186,
5314       'caption': '''Set the Terms of Service for a device-local account''',
5315       'desc': '''Sets the Terms of Service that the user must accept before starting a device-local account session.
5316
5317       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.
5318
5319       If this policy is not set, no Terms of Service are shown.
5320
5321       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.''',
5322     },
5323     {
5324       'name': 'Accessibility',
5325       'type': 'group',
5326       'caption': '''Accessibility settings''',
5327       'desc': '''Configure <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> accessibility features.''',
5328       'policies': [
5329         {
5330           'name': 'ShowAccessibilityOptionsInSystemTrayMenu',
5331           'type': 'main',
5332           'schema': { 'type': 'boolean' },
5333           'supported_on': ['chrome_os:27-'],
5334           'features': {
5335             'can_be_recommended': True,
5336             'dynamic_refresh': True,
5337             'per_profile': True,
5338           },
5339           'example_value': True,
5340           'id': 188,
5341           'caption': '''Show accessibility options in system tray menu''',
5342           'desc': '''Show <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> accessibility options in the systenm menu.
5343
5344           If this policy is set to true, Accessibility options always appear in system tray menu.
5345
5346           If this policy is set to false, Accessibility options never appear in system tray menu.
5347
5348           If you set this policy, users cannot change or override it.
5349
5350           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.'''
5351         },
5352         {
5353           'name': 'LargeCursorEnabled',
5354           'type': 'main',
5355           'schema': { 'type': 'boolean' },
5356           'supported_on': ['chrome_os:29-'],
5357           'features': {
5358             'can_be_recommended': True,
5359             'dynamic_refresh': True,
5360             'per_profile': True,
5361           },
5362           'example_value': True,
5363           'id': 211,
5364           'caption': '''Enable large cursor''',
5365           'desc': '''Enable the large cursor accessibility feature.
5366
5367           If this policy is set to true, the large cursor will always be enabled.
5368
5369           If this policy is set to false, the large cursor will always be disabled.
5370
5371           If you set this policy, users cannot change or override it.
5372
5373           If this policy is left unset, the large cursor is disabled initially but can be enabled by the user anytime.'''
5374         },
5375         {
5376           'name': 'SpokenFeedbackEnabled',
5377           'type': 'main',
5378           'schema': { 'type': 'boolean' },
5379           'supported_on': ['chrome_os:29-'],
5380           'features': {
5381             'can_be_recommended': True,
5382             'dynamic_refresh': True,
5383             'per_profile': True,
5384           },
5385           'example_value': True,
5386           'id': 212,
5387           'caption': '''Enable spoken feedback''',
5388           'desc': '''Enable the spoken feedback accessibility feature.
5389
5390           If this policy is set to true, spoken feedback will always be enabled.
5391
5392           If this policy is set to false, spoken feedback will always be disabled.
5393
5394           If you set this policy, users cannot change or override it.
5395
5396           If this policy is left unset, spoken feedback is disabled initially but can be enabled by the user anytime.'''
5397         },
5398         {
5399           'name': 'HighContrastEnabled',
5400           'type': 'main',
5401           'schema': { 'type': 'boolean' },
5402           'supported_on': ['chrome_os:29-'],
5403           'features': {
5404             'can_be_recommended': True,
5405             'dynamic_refresh': True,
5406             'per_profile': True,
5407           },
5408           'example_value': True,
5409           'id': 213,
5410           'caption': '''Enable high contrast mode''',
5411           'desc': '''Enable the high contrast mode accessibility feature.
5412
5413           If this policy is set to true, high contrast mode will always be enabled.
5414
5415           If this policy is set to false, high contrast mode will always be disabled.
5416
5417           If you set this policy, users cannot change or override it.
5418
5419           If this policy is left unset, high contrast mode is disabled initially but can be enabled by the user anytime.'''
5420         },
5421         {
5422           'name': 'ScreenMagnifierType',
5423           'type': 'int-enum',
5424           'schema': {
5425             'type': 'integer',
5426             'enum': [ 0, 1 ],
5427           },
5428           'items': [
5429             {
5430               'name': 'None',
5431               'value': 0,
5432               'caption': '''Screen magnifier disabled''',
5433             },
5434             {
5435               'name': 'Full-screen',
5436               'value': 1,
5437               'caption': '''Full-screen magnifier enabled''',
5438             },
5439           ],
5440           'supported_on': ['chrome_os:29-'],
5441           'features': {
5442             'can_be_recommended': True,
5443             'dynamic_refresh': True,
5444             'per_profile': True,
5445           },
5446           'example_value': 1,
5447           'id': 214,
5448           'caption': '''Set screen magnifier type''',
5449           'desc': '''Set the type of screen magnifier that is enabled.
5450
5451           If this policy is set, it controls the type of screen magnifier that is enabled. Setting the policy to "None" disables the screen magnifier.
5452
5453           If you set this policy, users cannot change or override it.
5454
5455           If this policy is left unset, the screen magnifier is disabled initially but can be enabled by the user anytime.''',
5456         },
5457         {
5458           'name': 'DeviceLoginScreenDefaultLargeCursorEnabled',
5459           'type': 'main',
5460           'schema': { 'type': 'boolean' },
5461           'supported_on': ['chrome_os:29-'],
5462           'device_only': True,
5463           'features': {
5464             'dynamic_refresh': True,
5465           },
5466           'example_value': True,
5467           'id': 215,
5468           'caption': '''Set default state of the large cursor on the login screen''',
5469           'desc': '''Set the default state of the large cursor accessibility feature on the login screen.
5470
5471           If this policy is set to true, the large cursor will be enabled when the login screen is shown.
5472
5473           If this policy is set to false, the large cursor will be disabled when the login screen is shown.
5474
5475           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.
5476
5477           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.''',
5478         },
5479         {
5480           'name': 'DeviceLoginScreenDefaultSpokenFeedbackEnabled',
5481           'type': 'main',
5482           'schema': { 'type': 'boolean' },
5483           'supported_on': ['chrome_os:29-'],
5484           'device_only': True,
5485           'features': {
5486             'dynamic_refresh': True,
5487           },
5488           'example_value': True,
5489           'id': 216,
5490           'caption': '''Set the default state of spoken feedback on the login screen''',
5491           'desc': '''Set the default state of the spoken feedback accessibility feature on the login screen.
5492
5493           If this policy is set to true, spoken feedback will be enabled when the login screen is shown.
5494
5495           If this policy is set to false, spoken feedback will be disabled when the login screen is shown.
5496
5497           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.
5498
5499           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.''',
5500         },
5501         {
5502           'name': 'DeviceLoginScreenDefaultHighContrastEnabled',
5503           'type': 'main',
5504           'schema': { 'type': 'boolean' },
5505           'supported_on': ['chrome_os:29-'],
5506           'device_only': True,
5507           'features': {
5508             'dynamic_refresh': True,
5509           },
5510           'example_value': True,
5511           'id': 217,
5512           'caption': '''Set the default state of high contrast mode on the login screen''',
5513           'desc': '''Set the default state of the high contrast mode accessibility feature on the login screen.
5514
5515           If this policy is set to true, high contrast mode will be enabled when the login screen is shown.
5516
5517           If this policy is set to false, high contrast mode will be disabled when the login screen is shown.
5518
5519           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.
5520
5521           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.''',
5522         },
5523         {
5524           'name': 'DeviceLoginScreenDefaultScreenMagnifierType',
5525           'type': 'int-enum',
5526           'schema': {
5527             'type': 'integer',
5528             'enum': [ 0, 1 ],
5529           },
5530           'items': [
5531             {
5532               'name': 'None',
5533               'value': 0,
5534               'caption': '''Screen magnifier disabled''',
5535             },
5536             {
5537               'name': 'Full-screen',
5538               'value': 1,
5539               'caption': '''Full-screen magnifier enabled''',
5540             },
5541           ],
5542           'supported_on': ['chrome_os:29-'],
5543           'device_only': True,
5544           'features': {
5545             'dynamic_refresh': True,
5546           },
5547           'example_value': 1,
5548           'id': 218,
5549           'caption': '''Set the default screen magnifier type enabled on the login screen''',
5550           'desc': '''Set the default type of screen magnifier that is enabled on the login screen.
5551
5552           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.
5553
5554           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.
5555
5556           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.''',
5557         },
5558       ],
5559     },
5560     {
5561       'name': 'HideWebStoreIcon',
5562       'type': 'main',
5563       'schema': { 'type': 'boolean' },
5564       'supported_on': ['chrome.*:26-'],
5565       'features': {
5566         'dynamic_refresh': True,
5567         'per_profile': True,
5568       },
5569       'example_value': True,
5570       'id': 189,
5571       'caption': '''Hide the web store from the new tab page and app launcher''',
5572       'desc': '''Hide the Chrome Web Store app and footer link from the New Tab Page and Chrome OS app launcher.
5573
5574       When this policy is set to true, the icons are hidden.
5575
5576       When this policy is set to false or is not configured, the icons are visible.''',
5577     },
5578     {
5579       'name': 'DeviceStartUpFlags',
5580       'type': 'list',
5581       'schema': {
5582         'type': 'array',
5583         'items': { 'type': 'string' },
5584       },
5585       'supported_on': ['chrome_os:27-'],
5586       'device_only': True,
5587       'features': {
5588         'dynamic_refresh': False,
5589       },
5590       'example_value': [ "enable-managed-mode", "my-cool-flag" ],
5591       'id': 191,
5592       'caption': '''System wide flags to be applied on Chrome start-up''',
5593       '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.''',
5594     },
5595     {
5596       'name': 'UptimeLimit',
5597       'type': 'int',
5598       'schema': { 'type': 'integer' },
5599       'supported_on': ['chrome_os:29-'],
5600       'device_only': True,
5601       'features': {
5602         'dynamic_refresh': True,
5603       },
5604       'example_value': 86400,
5605       'id': 192,
5606       'caption': '''Limit device uptime by automatically rebooting''',
5607       'desc': '''Limit the device uptime by scheduling automatic reboots.
5608
5609       When this policy is set, it specifies the length of device uptime after which an automatic reboot is scheduled.
5610
5611       When this policy is not set, the device uptime is not limited.
5612
5613       If you set this policy, users cannot change or override it.
5614
5615       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.
5616
5617       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.
5618
5619       The policy value should be specified in seconds. Values are clamped to be at least 3600 (one hour).''',
5620     },
5621     {
5622       'name': 'RebootAfterUpdate',
5623       'type': 'main',
5624       'schema': { 'type': 'boolean' },
5625       'supported_on': ['chrome_os:29-'],
5626       'device_only': True,
5627       'features': {
5628         'dynamic_refresh': True,
5629       },
5630       'example_value': True,
5631       'id': 193,
5632       'caption': '''Automatically reboot after update''',
5633       'desc': '''Schedule an automatic reboot after a <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> update has been applied.
5634
5635       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.
5636
5637       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.
5638
5639       If you set this policy, users cannot change or override it.
5640
5641       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.''',
5642     },
5643     {
5644       'name': 'VariationsRestrictParameter',
5645       'type': 'string',
5646       'schema': { 'type': 'string' },
5647       'supported_on': ['chrome.*:27-', 'android:34-'],
5648       'features': {
5649         'dynamic_refresh': False,
5650         'per_profile': False,
5651       },
5652       'example_value': 'restricted',
5653       'id': 196,
5654       'future': True,
5655       'caption': '''Set the restriction on the fetching of the Variations seed''',
5656       'desc': '''Add a parameter to the fetching of the Variations seed in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
5657
5658       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.
5659
5660       If not specified, will not modify the Variations seed URL.''',
5661     },
5662     {
5663       'name': 'DeviceVariationsRestrictParameter',
5664       'type': 'string',
5665       'schema': { 'type': 'string' },
5666       'supported_on': ['chrome_os:28-'],
5667       'features': {
5668         'dynamic_refresh': False,
5669         'per_profile': False,
5670       },
5671       'device_only': True,
5672       'example_value': 'restricted',
5673       'id': 199,
5674       'future': True,
5675       'caption': '''Set the restriction on the fetching of the Variations seed''',
5676       'desc': '''Add a parameter to the fetching of the Variations seed in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.
5677
5678       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.
5679
5680       If not specified, will not modify the Variations seed URL.''',
5681     },
5682     {
5683       'name': 'Attestation',
5684       'type': 'group',
5685       'caption': 'Remote Attestation',
5686       'desc': 'Configure the remote attestation with TPM mechanism.',
5687       'policies': [
5688         {
5689           'name': 'AttestationEnabledForDevice',
5690           'type': 'main',
5691           'schema': { 'type': 'boolean' },
5692           'supported_on': ['chrome_os:28-'],
5693           'features': {
5694             'dynamic_refresh': True,
5695             'per_profile': False,
5696           },
5697           'device_only': True,
5698           'example_value': True,
5699           'id': 207,
5700           'caption': '''Enable remote attestation for the device''',
5701           'desc': '''If true, remote attestation is allowed for the device and a certificate will automatically be generated and uploaded to the Device Management Server.
5702
5703           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.''',
5704         },
5705         {
5706           'name': 'AttestationEnabledForUser',
5707           'type': 'main',
5708           'schema': { 'type': 'boolean' },
5709           'supported_on': ['chrome_os:28-'],
5710           'features': {
5711             'dynamic_refresh': True,
5712             'per_profile': True,
5713           },
5714           'example_value': True,
5715           'id': 200,
5716           'caption': '''Enable remote attestation for the user''',
5717           '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().
5718
5719           If it is set to false, or if it is not set, calls to the API will fail with an error code.''',
5720         },
5721         {
5722           'name': 'AttestationExtensionWhitelist',
5723           'type': 'list',
5724           'schema': {
5725             'type': 'array',
5726             'items': { 'type': 'string' },
5727           },
5728           'supported_on': ['chrome_os:28-'],
5729           'features': {
5730             'dynamic_refresh': True,
5731             'per_profile': True,
5732           },
5733           'example_value': ['ghdilpkmfbfdnomkmaiogjhjnggaggoi'],
5734           'id': 201,
5735           'caption': '''Extensions allowed to to use the remote attestation API''',
5736           '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.
5737
5738           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.''',
5739         },
5740         {
5741           'name': 'AttestationForContentProtectionEnabled',
5742           'type': 'main',
5743           'schema': { 'type': 'boolean' },
5744           'supported_on': ['chrome_os:31-'],
5745           'features': {
5746             'dynamic_refresh': True,
5747           },
5748           'device_only': True,
5749           'example_value': True,
5750           'id': 239,
5751           'caption': '''Enable the use of remote attestation for content protection for the device''',
5752           '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.
5753
5754           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.
5755
5756           If this setting is true, or if it is not set, remote attestation may be used for content protection.''',
5757         },
5758       ],
5759     },
5760     {
5761       'name': 'SuppressChromeFrameTurndownPrompt',
5762       'caption': '''Suppress the <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> turndown prompt''',
5763       '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>.''',
5764       'type': 'main',
5765       'schema': { 'type': 'boolean' },
5766       'supported_on': ['chrome_frame:29-32'],
5767       'features': {
5768         'dynamic_refresh': False,
5769       },
5770       'example_value': True,
5771       'id': 221,
5772     },
5773     {
5774       'name': 'LocallyManagedUsers',
5775       'type': 'group',
5776       'caption': '''Locally managed users settings''',
5777       'desc': '''Configure settings for managed users.''',
5778       'policies': [
5779         {
5780           'name': 'ContentPackDefaultFilteringBehavior',
5781           'future': True,
5782           'deprecated': True,
5783           'type': 'int-enum',
5784           'schema': {
5785             'type': 'integer',
5786             'enum': [ 0, 1, 2 ],
5787           },
5788           'items': [
5789             {
5790               'name': 'Allow',
5791               'value': 0,
5792               'caption': '''Allow access to sites outside of content packs''',
5793             },
5794             {
5795               'name': 'Warn',
5796               'value': 1,
5797               'caption': '''Warn when visiting sites outside of content packs''',
5798             },
5799             {
5800               'name': 'Block',
5801               'value': 2,
5802               'caption': '''Block access to sites outside of content packs''',
5803             },
5804           ],
5805           'supported_on': ['chrome.*:28-', 'chrome_os:28-'],
5806           'features': {
5807             'dynamic_refresh': True,
5808             'per_profile': True
5809           },
5810           'example_value': 2,
5811           'id': 204,
5812           'caption': '''Default behavior for sites not in any content pack''',
5813           'desc': '''The default behavior for sites not in any content pack.
5814
5815           This policy is for internal use by Chrome itself.''',
5816         },
5817         {
5818           'name': 'ContentPackManualBehaviorHosts',
5819           'future': True,
5820           'deprecated': True,
5821           'type': 'dict',
5822           'schema': {
5823             'type': 'object',
5824             'additionalProperties': {
5825               'type': 'boolean'
5826             }
5827           },
5828           'supported_on': ['chrome.*:28-', 'chrome_os:28-'],
5829           'features': {
5830             'dynamic_refresh': True,
5831             'per_profile': True
5832           },
5833           'example_value': {
5834             'www.example.com': True,
5835             'moose.org': False
5836           },
5837           'id': 205,
5838           'caption': '''Managed user manual exception hosts''',
5839           'desc': '''A dictionary mapping hostnames to a boolean flag specifying whether access to the host should be allowed (true) or blocked (false).
5840
5841           This policy is for internal use by Chrome itself.''',
5842         },
5843         {
5844           'name': 'ContentPackManualBehaviorURLs',
5845           'future': True,
5846           'deprecated': True,
5847           'type': 'dict',
5848           'schema': {
5849             'type': 'object',
5850             'additionalProperties': {
5851               'type': 'boolean'
5852             }
5853           },
5854           'supported_on': ['chrome.*:28-', 'chrome_os:28-'],
5855           'features': {
5856             'dynamic_refresh': True,
5857             'per_profile': True
5858           },
5859           'example_value': {
5860             'https://www.example.com': True,
5861             'http://moose.org': False
5862           },
5863           'id': 206,
5864           'caption': '''Managed user manual exception URLs''',
5865           'desc': '''A dictionary mapping URLs to a boolean flag specifying whether access to the host should be allowed (true) or blocked (false).
5866
5867           This policy is for internal use by Chrome itself.''',
5868         },
5869         {
5870           'name': 'SupervisedUsersEnabled',
5871           'type': 'main',
5872           'schema': { 'type': 'boolean' },
5873           'supported_on': ['chrome_os:29-'],
5874           'device_only': True,
5875           'features': {
5876             'dynamic_refresh': False,
5877           },
5878           'example_value': True,
5879           'id': 219,
5880           'caption': '''Enable supervised users''',
5881           'desc': '''If set to true, supervised users can be created and used.
5882
5883           If set to false or not configured, supervised-user creation and login will be disabled. All existing supervised users will be hidden.
5884
5885           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.'''
5886         },
5887         {
5888           'name': 'SupervisedUserCreationEnabled',
5889           'type': 'main',
5890           'schema': { 'type': 'boolean' },
5891           'supported_on': ['chrome.*:29-'],
5892           'features': {
5893             'dynamic_refresh': True,
5894             'per_profile': True,
5895           },
5896           'example_value': True,
5897           'id': 223,
5898           'caption': '''Enable creation of supervised users''',
5899           'desc': '''If set to false, supervised-user creation by this user will be disabled. Any existing supervised users will still be available.
5900
5901           If set to true or not configured, supervised users can be created and managed by this user.'''
5902         },
5903       ],
5904     },
5905     # TODO(joaodasilva): replace the 'dict' type with a more generic
5906     # 'json' type. The actual schema type for this should be 'array'.
5907     {
5908       'name': 'ManagedBookmarks',
5909       'type': 'dict',
5910       'schema': {
5911         'type': 'object',
5912         'items': {
5913           'type': 'object',
5914           'properties': {
5915             'name': { 'type': 'string' },
5916             'url': { 'type': 'string' },
5917           },
5918         },
5919       },
5920       'supported_on': ['android:30-'],
5921       'features': {
5922         'dynamic_refresh': True,
5923         'per_profile': True,
5924       },
5925       'future': True,
5926       'example_value': { "name": "Google", "url": "google.com" },
5927       'id': 227,
5928       'caption': '''Managed Bookmarks''',
5929       'desc': '''Configures a list of managed bookmarks.
5930
5931       The policy is a list of bookmarks, and each bookmark is a dictionary containing the bookmark "name" and target "url".
5932
5933       These bookmarks are placed in a Managed bookmarks folder inside the Mobile bookmarks. These bookmarks can't be modified by the user.
5934
5935       When this policy is set then the Managed bookmarks are the default folder opened when the bookmarks view is opened in Chrome.
5936
5937       Managed bookmarks are not synced to the user account.''',
5938     },
5939     {
5940       'name': 'DataCompressionProxyEnabled',
5941       'type': 'main',
5942       'schema': { 'type': 'boolean' },
5943       'supported_on': ['android:31-'],
5944       'features': {
5945         'dynamic_refresh': True,
5946         'per_profile': True,
5947       },
5948       'example_value': True,
5949       'id': 241,
5950       'caption': '''Enable the data compression proxy feature''',
5951       'desc': '''Enable or disable the data compression proxy and prevents users from changing this setting.
5952
5953       If you enable or disable this setting, users cannot change or override this setting.
5954
5955       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.''',
5956     },
5957     {
5958       'name': 'UserAvatarImage',
5959       'type': 'external',
5960       'schema': {
5961         'type': 'object',
5962         'properties': {
5963           'url': { "type": "string" },
5964           'hash': { "type": "string" }
5965         },
5966       },
5967       'supported_on': ['chrome_os:34-'],
5968       'features': {
5969         'dynamic_refresh': True,
5970         'per_profile': True,
5971       },
5972       'example_value': { "url": "http://example.com/avatar.jpg", "hash": "deadbeefdeadbeefdeadbeefdeadbeef" },
5973       'max_size': 524288,
5974       'id': 249,
5975       'caption': '''User avatar image''',
5976       'desc': '''Configure user avatar image.
5977
5978       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.
5979
5980       The avatar image is downloaded and cached. It will be re-downloaded whenever the URL or the hash changes.
5981
5982       The policy should be specified as a string that expresses the URL and hash in JSON format, conforming to the following schema:
5983       {
5984         "type": "object",
5985         "properties": {
5986           "url": {
5987             "description": "The URL from which the avatar image can be downloaded.",
5988             "type": "string"
5989           },
5990           "hash": {
5991             "description": "The SHA-256 hash of the avatar image.",
5992             "type": "string"
5993           }
5994         }
5995       }
5996
5997       If this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will download and use the avatar image.
5998
5999       If you set this policy, users cannot change or override it.
6000
6001       If the policy is left not set, the user can choose the avatar image representing him/her on the login screen.''',
6002     },
6003   ],
6004   'messages': {
6005     # Messages that are not associated to any policies.
6006     'win_supported_winxpsp2': {
6007       '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:'.''',
6008       'text': '''Microsoft Windows XP SP2 or later'''
6009     },
6010     'mac_chrome_preferences': {
6011       'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
6012       'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferences'''
6013     },
6014     'doc_data_type': {
6015       'desc': '''Caption text of the field 'data type' in the summary chart of a policy in the generated documentation''',
6016       'text': '''Data type:'''
6017     },
6018     'doc_win_reg_loc': {
6019       'desc': '''Caption text of the field 'windows registry location' in the summary chart of a policy in the generated documentation''',
6020       'text': '''Windows registry location:'''
6021     },
6022     'doc_mac_linux_pref_name': {
6023       'desc': '''Caption text of the field 'mac/linux preference name' in the summary chart of a policy in the generated documentation''',
6024       'text': '''Mac/Linux preference name:'''
6025     },
6026     'doc_supported_on': {
6027       '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''',
6028       'text': '''Supported on:'''
6029     },
6030     'doc_since_version': {
6031       'desc': '''Text in the summary chart of a policy that specifies the version number in which the policy was introduced.''',
6032       'text': '''since version <ph name="SINCE_VERSION">$6<ex>8</ex></ph>'''
6033     },
6034     'doc_until_version': {
6035       'desc': '''Text in the summary chart of a policy that specifies the version number after which the policy was dropped.''',
6036       'text': '''until version <ph name="UNTIL_VERSION">$6<ex>10</ex></ph>'''
6037     },
6038     'doc_supported_features': {
6039       'desc': '''Caption text of the list of 'policy features that this policy supports' in the summary chart of a policy in the generated documentation''',
6040       'text': '''Supported features:'''
6041     },
6042     'doc_description': {
6043       'desc': '''Caption text of the 'description text' in the summary chart of a policy in the generated documentation''',
6044       'text': '''Description:'''
6045     },
6046     'doc_example_value': {
6047       'desc': '''Caption text of the field 'example value' in the summary chart of a policy in the generated documentation''',
6048       'text': '''Example value:'''
6049     },
6050     'doc_intro': {
6051       'desc': '''Introduction text for the generated policy documentation''',
6052       'text': '''This is the list of policies that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> respects.
6053
6054       You don't need to change these settings by hand!  You can download easy-to-use templates from
6055       <ph name="POLICY_TEMPLATE_DOWNLOAD_URL">http://www.chromium.org/administrators/policy-templates<ex>
6056       http://www.chromium.org/administrators/policy-templates</ex></ph>.
6057
6058       The list of supported policies is the same for Chromium and Google Chrome.
6059
6060       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.
6061
6062       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.'''
6063     },
6064     'doc_back_to_top': {
6065       'desc': '''Text of a link in the generated policy documentation, that takes the user to the top of the page''',
6066       'text': '''Back to top'''
6067     },
6068     'doc_supported': {
6069       'desc': '''Appears next to the name of each supported feature in the 'list of supported policy features' in the generated policy documentation''',
6070       'text': '''Yes'''
6071     },
6072     'doc_not_supported': {
6073       'desc': '''Appears next to the name of each unsupported feature in the 'list of supported policy features' in the generated policy documentation''',
6074       'text': '''No'''
6075     },
6076     'doc_name_column_title': {
6077       'desc': '''Appears at the top of the policy summary table, over the column of policy names, in the generated policy documentation''',
6078       'text': '''Policy Name'''
6079     },
6080     'doc_description_column_title': {
6081       'desc': '''Appears at the top of the policy summary table, over the column of short policy descriptions, in the generated policy documentation''',
6082       'text': '''Description'''
6083     },
6084     'doc_feature_dynamic_refresh': {
6085       'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''',
6086       'text': '''Dynamic Policy Refresh'''
6087     },
6088     'doc_feature_can_be_recommended': {
6089       'desc': '''The name of the feature that indicates for a given policy that it can be recommended, instead of mandatory''',
6090       'text': '''Can Be Recommended'''
6091     },
6092     'doc_feature_per_profile': {
6093       'desc': '''The name of the feature that indicates whether a policy is applicable to browser Profiles individually or whether it affects the entire browser.''',
6094       'text': '''Per Profile'''
6095     },
6096     'doc_deprecated': {
6097       'desc': '''Text appended in parentheses to the policy name to indicate that it has been deprecated''',
6098       'text': 'deprecated',
6099     },
6100     'doc_recommended': {
6101       'desc': '''Text appended in parentheses next to the policies top-level container to indicate that those policies are of the Recommended level''',
6102       'text': 'Default Settings (users can override)',
6103     },
6104   },
6105   'placeholders': [],
6106 }