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

Side by Side Diff: chrome/app/policy/policy_templates.json

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

Powered by Google App Engine
This is Rietveld 408576698