3 "intro": "Top-level entries map a policy name to its test parameters, described below.",
5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "Defaults to empty if not specified."],
6 "official_only": "Whether this policy exists in official builds only. Defaults to |false| if not specified.",
7 "can_be_recommended": "Whether a recommended value may be set for the policy. Defaults to |false| if not specified.",
8 "test_policy": "A policy dictionary that should make the preferences affected by this policy become policy-controlled. Usually just sets the current policy. Defaults to an empty dictionary if not specified.",
9 "note": "If the policy affects any preferences, the following array should be specified with one entry per such preference.",
11 { "pref": "The affected preference's name.",
12 "local_state": "Whether |pref| is registered in local state's PrefService instead of the profile's PrefService. Defaults to |false| if not specified.",
13 "check_for_mandatory": "Should the preference be tested when a mandatory value is set for the policy? Defaults to |true| if not specified.",
14 "check_for_recommended": "Should the preference be tested when a recommended value is set for the policy? Defaults to |true| if not specified.",
15 "note": "When |can_be_recommended| is |false|, the policy is never set to a recommended value so |check_for_recommended| has no effect.",
16 "note 1": "The following entries should be specified if controlled setting indicators exist for |pref| in the settings UI.",
17 "indicator_test_setup_js": "Any JavaScript that should be executed before testing the indicators. This should be specified only if an explicit user action must be simulated (e.g. clicking a button).",
18 "indicator_selector": "A CSS selector that locates all controlled setting indicators for |pref|. This is appended to the selector 'span.controlled-setting-indicator' and if not specified, defaults to '[pref=(the value of |pref|)', e.g. '[pref=homepage]'.",
19 "note 2": "Any number of test cases may be specified in the following array.",
21 { "policy": "A policy dictionary that should affect |pref| when set as mandatory or recommended policy.",
22 "value": "The value that |pref| should take on. This must only be specified if |pref| has multiple controlled setting indicators, each corresponding to a specific value (e.g. indicators next to radio buttons).",
23 "readonly": "Whether setting the policy dictionary as recommended should cause |pref| to become read-only in the settings UI. This will be the case when the dictionary sets another policy that makes |pref| not applicable (e.g. setting 'homepage is NTP' makes the 'homepage URL' pref not applicable and read-only)."
28 "note 2": "The following entry should be specified if there is a controlled setting indicator that reacts to the policy directly, without a preference serving as an intermediary.",
29 "indicator_selector": "A CSS selector that locates the controlled setting indicator directly affected by the policy. This is appended to the selector 'span.controlled-setting-indicator'."
33 "os": ["win", "linux", "mac", "chromeos"],
34 "can_be_recommended": true,
35 "test_policy": { "HomepageLocation": "http://chromium.org" },
39 { "policy": { "HomepageIsNewTabPage": false, "HomepageLocation": "http://chromium.org" } },
40 { "policy": { "HomepageIsNewTabPage": true, "HomepageLocation": "http://chromium.org" },
48 "HomepageIsNewTabPage": {
49 "os": ["win", "linux", "mac", "chromeos"],
50 "can_be_recommended": true,
51 "test_policy": { "HomepageIsNewTabPage": true },
53 { "pref": "homepage_is_newtabpage",
55 { "policy": { "HomepageIsNewTabPage": false },
57 { "policy": { "HomepageIsNewTabPage": true },
64 "DefaultBrowserSettingEnabled": {
65 "os": ["win", "mac", "linux"],
66 "test_policy": { "DefaultBrowserSettingEnabled": true },
68 { "pref": "browser.default_browser_setting_enabled",
74 "ApplicationLocaleValue": {
76 "can_be_recommended": true,
77 "test_policy": { "ApplicationLocaleValue": "fr" },
79 { "pref": "intl.app_locale",
85 "AlternateErrorPagesEnabled": {
86 "os": ["win", "linux", "mac", "chromeos"],
87 "can_be_recommended": true,
88 "test_policy": { "AlternateErrorPagesEnabled": false },
90 { "pref": "alternate_error_pages.enabled",
92 { "policy": { "AlternateErrorPagesEnabled": false } }
98 "SearchSuggestEnabled": {
99 "os": ["win", "linux", "mac", "chromeos"],
100 "can_be_recommended": true,
101 "test_policy": { "SearchSuggestEnabled": false },
103 { "pref": "search.suggest_enabled",
105 { "policy": { "SearchSuggestEnabled": false } }
111 "DnsPrefetchingEnabled": {
112 "os": ["win", "linux", "mac", "chromeos"],
113 "can_be_recommended": true,
114 "test_policy": { "DnsPrefetchingEnabled": false },
116 { "pref": "dns_prefetching.enabled",
118 { "policy": { "DnsPrefetchingEnabled": false } }
125 "os": ["win", "linux", "mac", "chromeos"],
126 "test_policy": { "DisableSpdy": true },
128 { "pref": "spdy.disabled" }
133 "os": ["win", "linux", "mac", "chromeos"],
134 "test_policy": { "DisabledSchemes": ["file"] },
136 { "pref": "policy.url_blacklist" }
140 "JavascriptEnabled": {
141 "os": ["win", "linux", "mac", "chromeos"],
142 "test_policy": { "JavascriptEnabled": false },
144 { "pref": "profile.managed_default_content_settings.javascript",
145 "indicator_selector": "[content-setting=javascript]",
147 { "policy": { "JavascriptEnabled": false },
154 "IncognitoEnabled": {
155 "os": ["win", "linux", "mac", "chromeos"],
156 "test_policy": { "IncognitoEnabled": false },
158 { "pref": "incognito.mode_availability" }
162 "IncognitoModeAvailability": {
163 "os": ["win", "linux", "mac", "chromeos"],
164 "test_policy": { "IncognitoModeAvailability": 1 },
166 { "pref": "incognito.mode_availability" }
170 "SavingBrowserHistoryDisabled": {
171 "os": ["win", "linux", "mac", "chromeos"],
172 "test_policy": { "SavingBrowserHistoryDisabled": true },
174 { "pref": "history.saving_disabled" }
178 "AllowDeletingBrowserHistory": {
180 "test_policy": { "AllowDeletingBrowserHistory": false },
182 { "pref": "history.deleting_enabled" }
186 "RemoteAccessClientFirewallTraversal": {
189 "RemoteAccessHostFirewallTraversal": {
191 "test_policy": { "RemoteAccessHostFirewallTraversal": true },
193 { "pref": "remote_access.host_firewall_traversal" }
196 "note": "TODO(frankf): Enable on all OS after crbug.com/121066 is fixed."
199 "RemoteAccessHostRequireTwoFactor": {
201 "test_policy": { "RemoteAccessHostRequireTwoFactor": false },
203 { "pref": "remote_access.host_require_two_factor" }
207 "RemoteAccessHostDomain": {
209 "test_policy": { "RemoteAccessHostDomain": "" },
211 { "pref": "remote_access.host_domain" }
215 "RemoteAccessHostTalkGadgetPrefix": {
217 "test_policy": { "RemoteAccessHostTalkGadgetPrefix": "chromoting-host" },
219 { "pref": "remote_access.host_talkgadget_prefix" }
223 "RemoteAccessHostRequireCurtain": {
225 "test_policy": { "RemoteAccessHostRequireCurtain": false },
227 { "pref": "remote_access.host_require_curtain" }
231 "RemoteAccessHostAllowClientPairing": {
233 "test_policy": { "RemoteAccessHostAllowClientPairing": true },
235 { "pref": "remote_access.host_allow_client_pairing" }
239 "RemoteAccessHostAllowGnubbyAuth": {
241 "test_policy": { "RemoteAccessHostAllowGnubbyAuth": true },
243 { "pref": "remote_access.host_allow_gnubby_auth" }
248 "os": ["win", "linux", "mac", "chromeos"],
249 "test_policy": { "PrintingEnabled": false },
251 { "pref": "printing.enabled" }
255 "CloudPrintProxyEnabled": {
257 "test_policy": { "CloudPrintProxyEnabled": true },
259 { "pref": "cloud_print.enabled" }
263 "CloudPrintSubmitEnabled": {
264 "os": ["win", "mac", "linux"],
265 "test_policy": { "CloudPrintSubmitEnabled": false },
267 { "pref": "cloud_print.submit_enabled" }
271 "SafeBrowsingEnabled": {
272 "os": ["win", "linux", "mac", "chromeos"],
273 "can_be_recommended": true,
274 "test_policy": { "SafeBrowsingEnabled": false },
276 { "pref": "safebrowsing.enabled",
278 { "policy": { "SafeBrowsingEnabled": false } }
285 "pref": "settings.force_safesearch",
286 "test_policy": { "ForceSafeSearch": true },
287 "settings_pages": [],
288 "os": ["win", "linux", "mac", "chromeos"]
291 "MetricsReportingEnabled": {
292 "os": ["win", "mac", "linux"],
293 "official_only": true,
294 "can_be_recommended": true,
295 "test_policy": { "MetricsReportingEnabled": false },
297 { "pref": "user_experience_metrics.reporting_enabled",
300 { "policy": { "MetricsReportingEnabled": false } }
306 "PasswordManagerEnabled": {
307 "os": ["win", "linux", "mac", "chromeos"],
308 "can_be_recommended": true,
309 "test_policy": { "PasswordManagerEnabled": false },
311 { "pref": "profile.password_manager_enabled",
313 { "policy": { "PasswordManagerEnabled": false } }
319 "PasswordManagerAllowShowPasswords": {
320 "os": ["win", "linux", "mac", "chromeos"],
321 "test_policy": { "PasswordManagerAllowShowPasswords": false },
323 { "pref": "profile.password_manager_allow_show_passwords" }
328 "os": ["win", "linux", "mac", "chromeos"],
329 "can_be_recommended": true,
330 "test_policy": { "AutoFillEnabled": false },
332 { "pref": "autofill.enabled",
334 { "policy": { "AutoFillEnabled": false } }
341 "os": ["win", "linux", "mac", "chromeos"],
342 "test_policy": { "DisabledPlugins": ["Flash"] },
344 { "pref": "plugins.plugins_disabled" }
349 "os": ["win", "linux", "mac", "chromeos"],
350 "test_policy": { "EnabledPlugins": ["Flash"] },
352 { "pref": "plugins.plugins_enabled" }
356 "DisabledPluginsExceptions": {
357 "os": ["win", "linux", "mac", "chromeos"],
358 "test_policy": { "DisabledPluginsExceptions": ["Flash"] },
360 { "pref": "plugins.plugins_disabled_exceptions" }
364 "DisablePluginFinder": {
365 "os": ["win", "linux", "mac", "chromeos"],
366 "test_policy": { "DisablePluginFinder": true },
368 { "pref": "plugins.disable_plugin_finder",
375 "os": ["win", "linux", "mac", "chromeos"],
376 "test_policy": { "SyncDisabled": true },
378 { "pref": "sync.managed" }
383 "os": ["win", "linux", "mac"],
384 "test_policy": { "SigninAllowed": true },
386 { "pref": "signin.allowed" }
391 "note": "TODO(joaodasilva): To test that this policy works correctly, it would need to be set before the browser is launched. PolicyPrefsTest should be refactored to support this and a test for this policy added."
395 "os": ["win", "mac", "linux"],
396 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" },
398 { "pref": "browser.disk_cache_dir" }
403 "os": ["win", "mac", "linux"],
404 "test_policy": { "DiskCacheSize": 100 },
406 { "pref": "browser.disk_cache_size" }
411 "os": ["win", "mac", "linux"],
412 "test_policy": { "MediaCacheSize": 200 },
414 { "pref": "browser.media_cache_size" }
418 "DownloadDirectory": {
419 "os": ["win", "mac", "linux", "chromeos"],
420 "can_be_recommended": true,
421 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" },
423 { "pref": "download.default_directory",
425 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
428 { "pref": "download.prompt_for_download",
429 "check_for_recommended" : false,
431 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
437 "ClearSiteDataOnExit": {
438 "note": "This policy is retired, see http://crbug.com/133291."
442 "os": ["win", "mac", "linux"],
443 "test_policy": { "ProxyMode": "direct" },
447 { "policy": { "ProxyMode": "direct" } }
454 "os": ["win", "mac", "linux"],
455 "test_policy": { "ProxyServerMode": 0 },
459 { "policy": { "ProxyServerMode": 0 } }
466 "os": ["win", "mac", "linux"],
467 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" },
471 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" } }
478 "os": ["win", "mac", "linux"],
479 "test_policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" },
483 { "policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" } }
490 "os": ["win", "mac", "linux"],
491 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" },
495 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" } }
502 "os": ["linux", "win"],
503 "test_policy": { "ProxySettings": { "ProxyMode": "direct" } },
507 { "policy": { "ProxySettings": { "ProxyMode": "direct" } } }
513 "EnableOriginBoundCerts": {
514 "os": ["win", "mac", "linux"],
515 "test_policy": { "EnableOriginBoundCerts": true },
517 { "pref": "ssl.origin_bound_certs.enabled",
523 "DisableSSLRecordSplitting": {
524 "os": ["win", "linux", "mac", "chromeos"],
525 "test_policy": { "DisableSSLRecordSplitting": true },
527 { "pref": "ssl.ssl_record_splitting.disabled",
533 "EnableOnlineRevocationChecks": {
534 "os": ["win", "linux", "mac", "chromeos"],
535 "test_policy": { "EnableOnlineRevocationChecks": true },
537 { "pref": "ssl.rev_checking.enabled",
543 "RequireOnlineRevocationChecksForLocalAnchors": {
544 "os": ["win", "linux", "chromeos"],
545 "test_policy": { "RequireOnlineRevocationChecksForLocalAnchors": true },
547 { "pref": "ssl.rev_checking.required_for_local_anchors",
554 "os": ["win", "linux", "mac", "chromeos"],
555 "test_policy": { "AuthSchemes": "AuthSchemes" },
557 { "pref": "auth.schemes",
563 "DisableAuthNegotiateCnameLookup": {
564 "os": ["win", "linux", "mac", "chromeos"],
565 "test_policy": { "DisableAuthNegotiateCnameLookup": true },
567 { "pref": "auth.disable_negotiate_cname_lookup",
573 "EnableAuthNegotiatePort": {
574 "os": ["win", "linux", "mac", "chromeos"],
575 "test_policy": { "EnableAuthNegotiatePort": true },
577 { "pref": "auth.enable_negotiate_port",
583 "AuthServerWhitelist": {
584 "os": ["win", "linux", "mac", "chromeos"],
585 "test_policy": { "AuthServerWhitelist": "localhost" },
587 { "pref": "auth.server_whitelist",
593 "AuthNegotiateDelegateWhitelist": {
594 "os": ["win", "linux", "mac", "chromeos"],
595 "test_policy": { "AuthNegotiateDelegateWhitelist": "localhost" },
597 { "pref": "auth.negotiate_delegate_whitelist",
603 "GSSAPILibraryName": {
604 "os": ["mac", "linux"],
605 "test_policy": { "GSSAPILibraryName": "libwhatever.so" },
607 { "pref": "auth.gssapi_library_name",
613 "AllowCrossOriginAuthPrompt": {
614 "os": ["win", "mac", "linux"],
615 "test_policy": { "AllowCrossOriginAuthPrompt": true },
617 { "pref": "auth.allow_cross_origin_prompt",
623 "ExtensionInstallBlacklist": {
624 "os": ["win", "linux", "mac", "chromeos"],
625 "test_policy": { "ExtensionInstallBlacklist": ["*"] },
627 { "pref": "extensions.install.denylist" }
631 "ExtensionInstallWhitelist": {
632 "os": ["win", "linux", "mac", "chromeos"],
633 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp"] },
635 { "pref": "extensions.install.allowlist" }
639 "ExtensionInstallForcelist": {
640 "os": ["win", "linux", "mac", "chromeos"],
641 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx"] },
643 { "pref": "extensions.install.forcelist" }
647 "ExtensionInstallSources": {
648 "os": ["win", "linux", "mac", "chromeos"],
649 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"] },
651 { "pref": "extensions.allowed_install_sites" }
655 "ExtensionAllowedTypes": {
656 "os": ["win", "linux", "mac", "chromeos"],
657 "test_policy": { "ExtensionAllowedTypes": ["hosted_app"] },
659 { "pref": "extensions.allowed_types" }
664 "os": ["win", "linux", "mac", "chromeos"],
665 "can_be_recommended": true,
666 "test_policy": { "ShowHomeButton": true },
668 { "pref": "browser.show_home_button",
670 { "policy": { "ShowHomeButton": true } }
676 "DeveloperToolsDisabled": {
677 "os": ["win", "linux", "mac", "chromeos"],
678 "test_policy": { "DeveloperToolsDisabled": true },
680 { "pref": "devtools.disabled" }
684 "RestoreOnStartup": {
685 "os": ["win", "linux", "mac", "chromeos"],
686 "can_be_recommended": true,
687 "test_policy": { "RestoreOnStartup": 4 },
689 { "pref": "session.restore_on_startup",
691 { "policy": { "RestoreOnStartup": 1 },
693 { "policy": { "RestoreOnStartup": 4 },
695 { "policy": { "RestoreOnStartup": 5 },
702 "RestoreOnStartupURLs": {
703 "os": ["win", "linux", "mac", "chromeos"],
704 "can_be_recommended": true,
705 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] },
707 { "pref": "session.startup_urls",
709 { "policy": { "RestoreOnStartupURLs": ["chromium.org"] } }
715 "BlockThirdPartyCookies": {
716 "os": ["win", "linux", "mac", "chromeos"],
717 "can_be_recommended": true,
718 "test_policy": { "BlockThirdPartyCookies": true },
720 { "pref": "profile.block_third_party_cookies",
722 { "policy": { "BlockThirdPartyCookies": true } }
728 "DefaultSearchProviderEnabled": {
729 "os": ["win", "linux", "mac", "chromeos"],
730 "test_policy": { "DefaultSearchProviderEnabled": false },
732 { "pref": "default_search_provider.enabled",
734 { "policy": { "DefaultSearchProviderEnabled": false } },
735 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" } }
741 "DefaultSearchProviderName": {
742 "os": ["win", "linux", "mac", "chromeos"],
743 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderName": "google.com" },
745 { "pref": "default_search_provider.name" }
749 "DefaultSearchProviderKeyword": {
750 "os": ["win", "linux", "mac", "chromeos"],
751 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" },
753 { "pref": "default_search_provider.keyword" }
757 "DefaultSearchProviderSearchURL": {
758 "os": ["win", "linux", "mac", "chromeos"],
759 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" },
761 { "pref": "default_search_provider.search_url",
762 "indicator_selector": "[setting=search-engine]",
764 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" } }
770 "DefaultSearchProviderSuggestURL": {
771 "os": ["win", "linux", "mac", "chromeos"],
772 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderSuggestURL": "http://www.google.com/suggest?q={searchTerms}" },
774 { "pref": "default_search_provider.suggest_url" }
778 "DefaultSearchProviderInstantURL": {
779 "os": ["win", "linux", "mac", "chromeos"],
780 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderInstantURL": "http://www.google.com/instant?q={searchTerms}" },
782 { "pref": "default_search_provider.instant_url" }
786 "DefaultSearchProviderNewTabURL": {
787 "os": ["win", "linux", "mac", "chromeos"],
788 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderNewTabURL": "http://www.google.com/newtab" },
790 { "pref": "default_search_provider.new_tab_url" }
794 "DefaultSearchProviderIconURL": {
795 "os": ["win", "linux", "mac", "chromeos"],
796 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderIconURL": "http://www.google.com/favicon.ico" },
798 { "pref": "default_search_provider.icon_url" }
802 "DefaultSearchProviderEncodings": {
803 "os": ["win", "linux", "mac", "chromeos"],
804 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] },
806 { "pref": "default_search_provider.encodings" }
810 "DefaultSearchProviderAlternateURLs": {
811 "os": ["win", "linux", "mac", "chromeos"],
812 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/#q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] },
814 { "pref": "default_search_provider.alternate_urls" }
818 "DefaultSearchProviderSearchTermsReplacementKey": {
819 "os": ["win", "linux", "mac", "chromeos"],
820 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderSearchTermsReplacementKey": "espv" },
822 { "pref": "default_search_provider.search_terms_replacement_key" }
826 "DefaultSearchProviderImageURL": {
827 "os": ["win", "linux", "mac", "chromeos"],
828 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderImageURL": "http://www.google.com/searchbyimage/upload" },
830 { "pref": "default_search_provider.image_url" }
834 "DefaultSearchProviderSearchURLPostParams": {
835 "os": ["win", "linux", "mac", "chromeos"],
836 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderSearchURLPostParams": "" },
838 { "pref": "default_search_provider.search_url_post_params" }
842 "DefaultSearchProviderSuggestURLPostParams": {
843 "os": ["win", "linux", "mac", "chromeos"],
844 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderSuggestURLPostParams": "" },
846 { "pref": "default_search_provider.suggest_url_post_params" }
850 "DefaultSearchProviderInstantURLPostParams": {
851 "os": ["win", "linux", "mac", "chromeos"],
852 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderInstantURLPostParams": "" },
854 { "pref": "default_search_provider.instant_url_post_params" }
858 "DefaultSearchProviderImageURLPostParams": {
859 "os": ["win", "linux", "mac", "chromeos"],
860 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderImageURLPostParams": "image_content={imageThumbnail},image_url={imageURL},sbisrc={imageSearchSource}" },
862 { "pref": "default_search_provider.image_url_post_params" }
866 "DefaultCookiesSetting": {
867 "os": ["win", "linux", "mac", "chromeos"],
868 "test_policy": { "DefaultCookiesSetting": 2 },
870 { "pref": "profile.managed_default_content_settings.cookies",
871 "indicator_selector": "[content-setting=cookies]",
873 { "policy": { "DefaultCookiesSetting": 1 },
875 { "policy": { "DefaultCookiesSetting": 2 },
877 { "policy": { "DefaultCookiesSetting": 4 },
883 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
886 "DefaultImagesSetting": {
887 "os": ["win", "linux", "mac", "chromeos"],
888 "test_policy": { "DefaultImagesSetting": 2 },
890 { "pref": "profile.managed_default_content_settings.images",
891 "indicator_selector": "[content-setting=images]",
893 { "policy": { "DefaultImagesSetting": 1 },
895 { "policy": { "DefaultImagesSetting": 2 },
901 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
904 "DefaultJavaScriptSetting": {
905 "os": ["win", "linux", "mac", "chromeos"],
906 "test_policy": { "DefaultJavaScriptSetting": 2 },
908 { "pref": "profile.managed_default_content_settings.javascript",
909 "indicator_selector": "[content-setting=javascript]",
911 { "policy": { "DefaultJavaScriptSetting": 1 },
913 { "policy": { "DefaultJavaScriptSetting": 2 },
919 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
922 "DefaultPluginsSetting": {
923 "os": ["win", "linux", "mac", "chromeos"],
924 "test_policy": { "DefaultPluginsSetting": 2 },
926 { "pref": "profile.managed_default_content_settings.plugins",
927 "indicator_selector": "[content-setting=plugins]",
929 { "policy": { "DefaultPluginsSetting": 1 },
931 { "policy": { "DefaultPluginsSetting": 2 },
933 { "policy": { "DefaultPluginsSetting": 3 },
939 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
942 "DefaultPopupsSetting": {
943 "os": ["win", "linux", "mac", "chromeos"],
944 "test_policy": { "DefaultPopupsSetting": 2 },
946 { "pref": "profile.managed_default_content_settings.popups",
947 "indicator_selector": "[content-setting=popups]",
949 { "policy": { "DefaultPopupsSetting": 1 },
951 { "policy": { "DefaultPopupsSetting": 2 },
957 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
960 "DefaultNotificationsSetting": {
961 "os": ["win", "linux", "mac", "chromeos"],
962 "test_policy": { "DefaultNotificationsSetting": 2 },
964 { "pref": "profile.managed_default_content_settings.notifications",
965 "indicator_selector": "[content-setting=notifications]",
967 { "policy": { "DefaultNotificationsSetting": 1 },
969 { "policy": { "DefaultNotificationsSetting": 2 },
971 { "policy": { "DefaultNotificationsSetting": 3 },
977 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
980 "DefaultGeolocationSetting": {
981 "os": ["win", "linux", "mac", "chromeos"],
982 "test_policy": { "DefaultGeolocationSetting": 2 },
984 { "pref": "profile.managed_default_content_settings.geolocation",
985 "indicator_selector": "[content-setting=location]",
987 { "policy": { "DefaultGeolocationSetting": 1 },
989 { "policy": { "DefaultGeolocationSetting": 2 },
991 { "policy": { "DefaultGeolocationSetting": 3 },
997 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1000 "DefaultMediaStreamSetting": {
1001 "os": ["win", "linux", "mac", "chromeos"],
1002 "test_policy": { "DefaultMediaStreamSetting": 2 },
1004 { "pref": "profile.managed_default_content_settings.media_stream",
1005 "indicator_selector": "[content-setting=media-stream]",
1006 "indicator_tests": [
1007 { "policy": { "DefaultMediaStreamSetting": 2 },
1010 { "policy": { "DefaultMediaStreamSetting": 3 },
1017 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1020 "AudioCaptureAllowed": {
1021 "os": ["win", "linux", "mac", "chromeos"],
1022 "test_policy": { "AudioCaptureAllowed": false },
1024 { "pref": "hardware.audio_capture_enabled",
1025 "indicator_selector": "#media-indicator",
1026 "indicator_tests": [
1027 { "policy": { "AudioCaptureAllowed": false } }
1033 "AudioCaptureAllowedUrls": {
1034 "os": ["win", "linux", "mac", "chromeos"],
1035 "test_policy": { "AudioCaptureAllowedUrls": ["[*.]google.com"] },
1038 "pref": "hardware.audio_capture_allowed_urls"
1043 "VideoCaptureAllowed": {
1044 "os": ["win", "linux", "mac", "chromeos"],
1045 "test_policy": { "VideoCaptureAllowed": false },
1047 { "pref": "hardware.video_capture_enabled",
1048 "indicator_selector": "#media-indicator",
1049 "indicator_tests": [
1050 { "policy": { "VideoCaptureAllowed": false } }
1056 "VideoCaptureAllowedUrls": {
1057 "os": ["win", "linux", "mac", "chromeos"],
1058 "test_policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] },
1061 "pref": "hardware.video_capture_allowed_urls"
1066 "AutoSelectCertificateForUrls": {
1067 "os": ["win", "linux", "mac", "chromeos"],
1068 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://example.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] },
1070 { "pref": "profile.managed_auto_select_certificate_for_urls" }
1073 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1076 "CookiesAllowedForUrls": {
1077 "os": ["win", "linux", "mac", "chromeos"],
1078 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] },
1080 { "pref": "profile.managed_cookies_allowed_for_urls",
1081 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1082 "indicator_selector": "[content-exception=cookies]",
1083 "indicator_tests": [
1084 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] } }
1089 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1092 "CookiesBlockedForUrls": {
1093 "os": ["win", "linux", "mac", "chromeos"],
1094 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] },
1096 { "pref": "profile.managed_cookies_blocked_for_urls",
1097 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1098 "indicator_selector": "[content-exception=cookies]",
1099 "indicator_tests": [
1100 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] } }
1105 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1108 "CookiesSessionOnlyForUrls": {
1109 "os": ["win", "linux", "mac", "chromeos"],
1110 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] },
1112 { "pref": "profile.managed_cookies_sessiononly_for_urls",
1113 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1114 "indicator_selector": "[content-exception=cookies]",
1115 "indicator_tests": [
1116 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] } }
1121 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1124 "ImagesAllowedForUrls": {
1125 "os": ["win", "linux", "mac", "chromeos"],
1126 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] },
1128 { "pref": "profile.managed_images_allowed_for_urls",
1129 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1130 "indicator_selector": "[content-exception=images]",
1131 "indicator_tests": [
1132 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] } }
1137 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1140 "ImagesBlockedForUrls": {
1141 "os": ["win", "linux", "mac", "chromeos"],
1142 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] },
1144 { "pref": "profile.managed_images_blocked_for_urls",
1145 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1146 "indicator_selector": "[content-exception=images]",
1147 "indicator_tests": [
1148 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] } }
1153 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1156 "JavaScriptAllowedForUrls": {
1157 "os": ["win", "linux", "mac", "chromeos"],
1158 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] },
1160 { "pref": "profile.managed_javascript_allowed_for_urls",
1161 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1162 "indicator_selector": "[content-exception=javascript]",
1163 "indicator_tests": [
1164 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] } }
1169 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1172 "JavaScriptBlockedForUrls": {
1173 "os": ["win", "linux", "mac", "chromeos"],
1174 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] },
1176 { "pref": "profile.managed_javascript_blocked_for_urls",
1177 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1178 "indicator_selector": "[content-exception=javascript]",
1179 "indicator_tests": [
1180 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } }
1185 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1188 "PluginsAllowedForUrls": {
1189 "os": ["win", "linux", "mac", "chromeos"],
1190 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
1192 { "pref": "profile.managed_plugins_allowed_for_urls",
1193 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1194 "indicator_selector": "[content-exception=plugins]",
1195 "indicator_tests": [
1196 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } }
1201 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1204 "PluginsBlockedForUrls": {
1205 "os": ["win", "linux", "mac", "chromeos"],
1206 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] },
1208 { "pref": "profile.managed_plugins_blocked_for_urls",
1209 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1210 "indicator_selector": "[content-exception=plugins]",
1211 "indicator_tests": [
1212 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] } }
1217 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1220 "PopupsAllowedForUrls": {
1221 "os": ["win", "linux", "mac", "chromeos"],
1222 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] },
1224 { "pref": "profile.managed_popups_allowed_for_urls",
1225 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1226 "indicator_selector": "[content-exception=popups]",
1227 "indicator_tests": [
1228 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] } }
1233 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1236 "PopupsBlockedForUrls": {
1237 "os": ["win", "linux", "mac", "chromeos"],
1238 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] },
1240 { "pref": "profile.managed_popups_blocked_for_urls",
1241 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1242 "indicator_selector": "[content-exception=popups]",
1243 "indicator_tests": [
1244 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] } }
1249 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1252 "NotificationsAllowedForUrls": {
1253 "os": ["win", "linux", "mac", "chromeos"],
1254 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] },
1256 { "pref": "profile.managed_notifications_allowed_for_urls",
1257 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1258 "indicator_selector": "[content-exception=notifications]",
1259 "indicator_tests": [
1260 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] } }
1265 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1268 "NotificationsBlockedForUrls": {
1269 "os": ["win", "linux", "mac", "chromeos"],
1270 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] },
1272 { "pref": "profile.managed_notifications_blocked_for_urls",
1273 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1274 "indicator_selector": "[content-exception=notifications]",
1275 "indicator_tests": [
1276 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] } }
1281 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1285 "os": ["win", "linux", "mac", "chromeos"],
1286 "test_policy": { "Disable3DAPIs": true },
1288 { "pref": "disable_3d_apis" }
1295 "TranslateEnabled": {
1296 "os": ["win", "linux", "mac", "chromeos"],
1297 "can_be_recommended": true,
1298 "test_policy": { "TranslateEnabled": false },
1300 { "pref": "translate.enabled",
1301 "indicator_tests": [
1302 { "policy": { "TranslateEnabled": true } }
1308 "AllowOutdatedPlugins": {
1309 "os": ["win", "linux", "mac", "chromeos"],
1310 "test_policy": { "AllowOutdatedPlugins": true },
1312 { "pref": "plugins.allow_outdated" }
1316 "AlwaysAuthorizePlugins": {
1317 "os": ["win", "linux", "mac", "chromeos"],
1318 "test_policy": { "AlwaysAuthorizePlugins": true },
1320 { "pref": "plugins.always_authorize" }
1324 "BookmarkBarEnabled": {
1325 "os": ["win", "linux", "mac", "chromeos"],
1326 "can_be_recommended": true,
1327 "test_policy": { "BookmarkBarEnabled": true },
1329 { "pref": "bookmark_bar.show_on_all_tabs",
1330 "indicator_tests": [
1331 { "policy": { "BookmarkBarEnabled": true } }
1337 "EditBookmarksEnabled": {
1338 "os": ["win", "linux", "mac", "chromeos"],
1339 "test_policy": { "EditBookmarksEnabled": false },
1341 { "pref": "bookmarks.editing_enabled" }
1345 "AllowFileSelectionDialogs": {
1346 "os": ["win", "mac", "linux"],
1347 "test_policy": { "AllowFileSelectionDialogs": false },
1349 { "pref": "select_file_dialogs.allowed",
1352 { "pref": "download.prompt_for_download",
1353 "indicator_tests": [
1354 { "policy": { "AllowFileSelectionDialogs": false } }
1360 "ImportBookmarks": {
1361 "os": ["win", "mac", "linux"],
1362 "can_be_recommended": true,
1363 "test_policy": { "ImportBookmarks": false },
1365 { "pref": "import_bookmarks",
1366 "indicator_tests": [
1367 { "policy": { "ImportBookmarks": false } }
1374 "os": ["win", "mac", "linux"],
1375 "can_be_recommended": true,
1376 "test_policy": { "ImportHistory": false },
1378 { "pref": "import_history",
1379 "indicator_tests": [
1380 { "policy": { "ImportHistory": false } }
1387 "os": ["win", "mac", "linux"],
1388 "test_policy": { "ImportHomepage": false },
1390 { "pref": "import_home_page" }
1394 "ImportSearchEngine": {
1395 "os": ["win", "mac", "linux"],
1396 "can_be_recommended": true,
1397 "test_policy": { "ImportSearchEngine": false },
1399 { "pref": "import_search_engine",
1400 "indicator_tests": [
1401 { "policy": { "ImportSearchEngine": false } }
1407 "ImportSavedPasswords": {
1408 "os": ["win", "mac", "linux"],
1409 "can_be_recommended": true,
1410 "test_policy": { "ImportSavedPasswords": false },
1412 { "pref": "import_saved_passwords",
1413 "indicator_tests": [
1414 { "policy": { "ImportSavedPasswords": false } }
1420 "MaxConnectionsPerProxy": {
1421 "os": ["win", "linux", "mac", "chromeos"],
1422 "test_policy": { "MaxConnectionsPerProxy": 16 },
1424 { "pref": "net.max_connections_per_proxy",
1430 "HideWebStorePromo": {
1434 "os": ["win", "linux", "mac", "chromeos"],
1435 "test_policy": { "URLBlacklist": ["google.com"] },
1437 { "pref": "policy.url_blacklist" }
1442 "os": ["win", "linux", "mac", "chromeos"],
1443 "test_policy": { "URLWhitelist": ["google.com"] },
1445 { "pref": "policy.url_whitelist" }
1449 "EnterpriseWebStoreURL": {
1450 "note": "This policy is retired, see http://crbug.com/178938."
1453 "EnterpriseWebStoreName": {
1454 "note": "This policy is retired, see http://crbug.com/178938."
1457 "EnableMemoryInfo": {
1458 "note": "This policy is retired, see http://crbug.com/350339."
1461 "DisablePrintPreview": {
1462 "os": ["win", "mac", "linux"],
1463 "test_policy": { "DisablePrintPreview": false },
1465 { "pref": "printing.print_preview_disabled" }
1469 "BackgroundModeEnabled": {
1470 "os": ["win", "linux"],
1471 "can_be_recommended": true,
1472 "test_policy": { "BackgroundModeEnabled": false },
1474 { "pref": "background_mode.enabled",
1475 "local_state": true,
1476 "indicator_tests": [
1477 { "policy": { "BackgroundModeEnabled": false } }
1483 "RestrictSigninToPattern": {
1484 "os": ["win", "mac", "linux"],
1485 "test_policy": { "RestrictSigninToPattern": ".*@google.com" },
1487 { "pref": "google.services.username_pattern",
1493 "DisableSafeBrowsingProceedAnyway": {
1494 "os": ["win", "linux", "mac", "chromeos"],
1495 "test_policy": { "DisableSafeBrowsingProceedAnyway": true },
1497 { "pref": "safebrowsing.proceed_anyway_disabled" }
1501 "SpellCheckServiceEnabled": {
1502 "os": ["win", "linux", "mac", "chromeos"],
1503 "official_only": true,
1504 "can_be_recommended": true,
1505 "test_policy": { "SpellCheckServiceEnabled": false },
1507 { "pref": "spellcheck.use_spelling_service",
1508 "indicator_tests": [
1509 { "policy": { "SpellCheckServiceEnabled": false } }
1515 "DisableScreenshots": {
1516 "os": ["win", "linux", "mac", "chromeos"],
1517 "test_policy": { "DisableScreenshots": true },
1519 { "pref": "disable_screenshots" }
1523 "BuiltInDnsClientEnabled": {
1524 "os": ["win", "linux", "mac"],
1525 "test_policy": { "BuiltInDnsClientEnabled": true },
1527 { "pref": "async_dns.enabled",
1533 "QuickCheckEnabled": {
1534 "os": ["win", "linux", "mac", "chromeos"],
1535 "test_policy": { "QuickCheckEnabled": true },
1537 { "pref": "proxy.quick_check_enabled",
1543 "HideWebStoreIcon": {
1544 "os": ["win", "linux", "mac", "chromeos"],
1545 "test_policy": { "HideWebStoreIcon": true },
1547 { "pref": "hide_web_store_icon" }
1551 "VariationsRestrictParameter": {
1552 "test_policy": { "VariationsRestrictParameter": "restricted" },
1554 { "pref": "variations_restrict_parameter",
1560 "DataCompressionProxyEnabled": {
1562 "test_policy": { "DataCompressionProxyEnabled": false },
1564 { "pref": "spdy_proxy.enabled" }
1568 "ForceEphemeralProfiles": {
1571 "UserAvatarImage": {
1574 "UserAvatarImage": {
1575 "url": "http://localhost/",
1576 "hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
1579 "indicator_selector": "#account-picture-indicator"
1586 "url": "http://localhost/",
1587 "hash": "baddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecaf"
1590 "indicator_selector": "#wallpaper-indicator"
1593 "----- Chrome OS policies ------------------------------------------------": {},
1595 "ChromeOsLockOnIdleSuspend": {
1597 "can_be_recommended": true,
1598 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1600 { "pref": "settings.enable_screen_lock",
1601 "indicator_tests": [
1602 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
1608 "PolicyRefreshRate": {
1610 "test_policy": { "PolicyRefreshRate": 300000 },
1612 { "pref": "policy.user_refresh_rate",
1618 "MaxInvalidationFetchDelay": {
1619 "os": ["win", "linux", "mac", "chromeos"],
1620 "test_policy": { "PolicyRefreshRate": 15000 },
1624 "OpenNetworkConfiguration": {
1627 "SAMLOfflineSigninTimeLimit": {
1629 "test_policy": { "SAMLOfflineSigninTimeLimit": 0 },
1631 { "pref": "saml.offline_signin_time_limit" }
1637 "test_policy": { "DriveDisabled": true },
1639 { "pref": "gdata.disabled",
1640 "indicator_tests": [
1641 { "policy": { "DriveDisabled": true } }
1647 "DriveDisabledOverCellular": {
1649 "test_policy": { "DriveDisabledOverCellular": true },
1651 { "pref": "gdata.cellular.disabled" }
1655 "PinnedLauncherApps": {
1657 "can_be_recommended": true,
1658 "test_policy": { "PinnedLauncherApps": [] },
1660 { "pref": "pinned_launcher_apps" }
1664 "ExternalStorageDisabled": {
1666 "test_policy": { "ExternalStorageDisabled": true },
1668 { "pref": "hardware.external_storage_disabled" }
1672 "AudioOutputAllowed": {
1674 "test_policy": { "AudioOutputAllowed": true },
1676 { "pref": "hardware.audio_output_enabled",
1677 "local_state": true }
1681 "AudioCaptureAllowed": {
1683 "test_policy": { "AudioCaptureAllowed": true },
1685 { "pref": "hardware.audio_capture_enabled",
1686 "local_state": true }
1690 "ShowLogoutButtonInTray": {
1692 "test_policy": { "ShowLogoutButtonInTray": true },
1694 { "pref": "show_logout_button_in_tray" }
1698 "ShelfAutoHideBehavior": {
1700 "test_policy": { "ShelfAutoHideBehavior": "Always" },
1702 { "pref": "auto_hide_behavior_local" }
1706 "UserDisplayName": {
1710 "SessionLengthLimit": {
1712 "test_policy": { "SessionLengthLimit": 3600000 },
1714 { "pref": "session.length_limit",
1715 "local_state": true }
1719 "ScreenDimDelayAC": {
1721 "test_policy": { "ScreenDimDelayAC": 420000 },
1723 { "pref": "power.ac_screen_dim_delay_ms" }
1727 "ScreenOffDelayAC": {
1729 "test_policy": { "ScreenOffDelayAC": 480000 },
1731 { "pref": "power.ac_screen_off_delay_ms" }
1735 "ScreenLockDelayAC": {
1737 "test_policy": { "ScreenLockDelayAC": 600000 },
1739 { "pref": "power.ac_screen_lock_delay_ms" }
1743 "IdleWarningDelayAC": {
1745 "test_policy": { "IdleWarningDelayAC": 1800000 },
1747 { "pref": "power.ac_idle_warning_delay_ms" }
1753 "test_policy": { "IdleDelayAC": 1800000 },
1755 { "pref": "power.ac_idle_delay_ms" }
1759 "ScreenDimDelayBattery": {
1761 "test_policy": { "ScreenDimDelayBattery": 300000 },
1763 { "pref": "power.battery_screen_dim_delay_ms" }
1767 "ScreenOffDelayBattery": {
1769 "test_policy": { "ScreenOffDelayBattery": 360000 },
1771 { "pref": "power.battery_screen_off_delay_ms" }
1775 "ScreenLockDelayBattery": {
1777 "test_policy": { "ScreenLockDelayBattery": 600000 },
1779 { "pref": "power.battery_screen_lock_delay_ms" }
1783 "IdleWarningDelayBattery": {
1785 "test_policy": { "IdleWarningDelayBattery": 600000 },
1787 { "pref": "power.battery_idle_warning_delay_ms" }
1791 "IdleDelayBattery": {
1793 "test_policy": { "IdleDelayBattery": 600000 },
1795 { "pref": "power.battery_idle_delay_ms" }
1801 "test_policy": { "IdleAction": 0 },
1803 { "pref": "power.ac_idle_action" },
1804 { "pref": "power.battery_idle_action" }
1810 "test_policy": { "IdleActionAC": 0 },
1812 { "pref": "power.ac_idle_action" }
1816 "IdleActionBattery": {
1818 "test_policy": { "IdleActionBattery": 0 },
1820 { "pref": "power.battery_idle_action" }
1826 "test_policy": { "LidCloseAction": 0 },
1828 { "pref": "power.lid_closed_action" }
1832 "PowerManagementUsesAudioActivity": {
1834 "test_policy": { "PowerManagementUsesAudioActivity": true },
1836 { "pref": "power.use_audio_activity" }
1840 "PowerManagementUsesVideoActivity": {
1842 "test_policy": { "PowerManagementUsesVideoActivity": true },
1844 { "pref": "power.use_video_activity" }
1848 "PresentationIdleDelayScale": {
1851 "PresentationScreenDimDelayScale": {
1853 "test_policy": { "PresentationScreenDimDelayScale": 200 },
1855 { "pref": "power.presentation_screen_dim_delay_factor" }
1859 "AllowScreenWakeLocks": {
1861 "test_policy": { "AllowScreenWakeLocks": false },
1863 { "pref": "power.allow_screen_wake_locks" }
1867 "UserActivityScreenDimDelayScale": {
1869 "test_policy": { "UserActivityScreenDimDelayScale": 200 },
1871 { "pref": "power.user_activity_screen_dim_delay_factor" }
1875 "WaitForInitialUserActivity": {
1877 "test_policy": { "WaitForInitialUserActivity": true },
1879 { "pref": "session.wait_for_initial_user_activity",
1880 "local_state": true },
1881 { "pref": "power.wait_for_initial_user_activity" }
1885 "PowerManagementIdleSettings": {
1887 "test_policy": { "PowerManagementIdleSettings" : { "AC": { "Delays": { "ScreenDim": 5000, "ScreenOff": 7000, "IdleWarning": 8000, "Idle": 9000 }, "IdleAction": "Logout" }, "Battery": { "Delays": { "ScreenDim": 1000, "ScreenOff": 3000, "IdleWarning": 4000, "Idle": 5000 }, "IdleAction": "Logout"} } },
1889 { "pref": "power.ac_screen_dim_delay_ms" },
1890 { "pref": "power.ac_screen_off_delay_ms" },
1891 { "pref": "power.ac_idle_warning_delay_ms" },
1892 { "pref": "power.ac_idle_delay_ms" },
1893 { "pref": "power.battery_screen_dim_delay_ms" },
1894 { "pref": "power.battery_screen_off_delay_ms" },
1895 { "pref": "power.battery_idle_warning_delay_ms" },
1896 { "pref": "power.battery_idle_delay_ms" }
1900 "ScreenLockDelays": {
1902 "test_policy": { "ScreenLockDelays": { "AC": 6000, "Battery": 2000 } },
1904 { "pref": "power.ac_screen_lock_delay_ms" },
1905 { "pref": "power.battery_screen_lock_delay_ms" }
1909 "TermsOfServiceURL": {
1911 "test_policy": { "TermsOfServiceURL": "http://www.example.com/terms_of_service.txt" },
1913 { "pref": "terms_of_service.url" }
1917 "ShowAccessibilityOptionsInSystemTrayMenu": {
1919 "test_policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true },
1921 { "pref": "settings.a11y.enable_menu",
1922 "indicator_tests": [
1923 { "policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true } }
1929 "LargeCursorEnabled": {
1931 "test_policy": { "LargeCursorEnabled": true },
1933 { "pref": "settings.a11y.large_cursor_enabled",
1934 "indicator_tests": [
1935 { "policy": { "LargeCursorEnabled": true } }
1941 "SpokenFeedbackEnabled": {
1943 "test_policy": { "SpokenFeedbackEnabled": true },
1945 { "pref": "settings.accessibility",
1946 "indicator_tests": [
1947 { "policy": { "SpokenFeedbackEnabled": true } }
1953 "HighContrastEnabled": {
1955 "test_policy": { "HighContrastEnabled": true },
1957 { "pref": "settings.a11y.high_contrast_enabled",
1958 "indicator_tests": [
1959 { "policy": { "HighContrastEnabled": true } }
1965 "ScreenMagnifierType": {
1967 "test_policy": { "ScreenMagnifierType": 1 },
1969 { "pref": "settings.a11y.screen_magnifier",
1970 "indicator_tests": [
1971 { "policy": { "ScreenMagnifierType": 1 } }
1974 { "pref": "settings.a11y.screen_magnifier_type2" }
1978 "VirtualKeyboardEnabled": {
1980 "test_policy": { "VirtualKeyboardEnabled": true },
1982 { "pref": "settings.a11y.virtual_keyboard",
1983 "indicator_tests": [
1984 { "policy": { "VirtualKeyboardEnabled": true } }
1990 "KeyboardDefaultToFunctionKeys": {
1992 "test_policy": { "KeyboardDefaultToFunctionKeys": true },
1994 { "pref": "settings.language.send_function_keys",
1995 "indicator_tests": [
1996 { "policy": { "KeyboardDefaultToFunctionKeys": true } }
2002 "AttestationEnabledForUser": {
2004 "test_policy": { "AttestationEnabledForUser": true },
2006 { "pref": "attestation.enabled" }
2010 "AttestationExtensionWhitelist": {
2012 "test_policy": { "AttestationExtensionWhitelist": ["test_ext_id1", "test_ext_id2"] },
2014 { "pref": "attestation.extension_whitelist" }
2018 "ContentPackDefaultFilteringBehavior": {
2021 "ContentPackManualBehaviorHosts": {
2024 "ContentPackManualBehaviorURLs": {
2027 "ManagedBookmarks": {
2030 "FullscreenAllowed": {
2031 "os": ["win", "linux", "chromeos"],
2032 "test_policy": { "FullscreenAllowed": false },
2034 { "pref": "fullscreen.allowed" },
2035 { "pref": "apps.fullscreen.allowed" }
2039 "ChromeOsMultiProfileUserBehavior": {
2041 "test_policy": { "ChromeOsMultiProfileUserBehavior": "unrestricted" },
2043 { "pref": "settings.multiprofile_user_behavior" }
2047 "NativeMessagingBlacklist": {
2048 "os": ["win", "linux", "mac"],
2049 "test_policy": { "NativeMessagingBlacklist": ["*"] },
2051 { "pref": "native_messaging.blacklist" }
2055 "NativeMessagingWhitelist": {
2056 "os": ["win", "linux", "mac"],
2057 "test_policy": { "NativeMessagingWhitelist": ["native.messaging.host.name"] },
2059 { "pref": "native_messaging.whitelist" }
2063 "NativeMessagingUserLevelHosts": {
2064 "os": ["win", "linux", "mac"],
2065 "test_policy": { "NativeMessagingUserLevelHosts": false },
2067 { "pref": "native_messaging.user_level_hosts" }
2071 "----- Chrome OS device policies ---------------------------------------": {},
2073 "DevicePolicyRefreshRate": {
2075 "test_policy": { "DevicePolicyRefreshRate": 300000 },
2077 { "pref": "policy.device_refresh_rate",
2078 "local_state": true }
2082 "ChromeOsReleaseChannel": {
2085 "ChromeOsReleaseChannelDelegated": {
2088 "DeviceOpenNetworkConfiguration": {
2091 "ReportDeviceVersionInfo": {
2094 "ReportDeviceActivityTimes": {
2097 "ReportDeviceBootMode": {
2100 "ReportDeviceNetworkInterfaces": {
2103 "ReportDeviceUsers": {
2106 "DeviceAllowNewUsers": {
2109 "DeviceUserWhitelist": {
2112 "DeviceGuestModeEnabled": {
2115 "DeviceShowUserNamesOnSignin": {
2118 "DeviceDataRoamingEnabled": {
2121 "DeviceMetricsReportingEnabled": {
2123 "official_only": true,
2124 "test_policy": { "DeviceMetricsReportingEnabled": true },
2126 { "pref": "cros.metrics.reportingEnabled",
2127 "indicator_test_setup_js": "Preferences.getInstance().addEventListener('alternate_error_pages.enabled', function(event) { Preferences.prefsChangedCallback(['cros.metrics.reportingEnabled', {value: event.value.value, controlledBy: event.value.controlledBy, disabled: event.value.disabled}]); });",
2128 "indicator_tests": [
2129 { "policy": { "AlternateErrorPagesEnabled": true } }
2134 "note": "TODO(bartfab): The |indicator_test_setup_js| above is a hack that makes |cros.metrics.reportingEnabled| track the status of the entirely unrelated |alternate_error_pages.enabled| pref. This is because cros settings cannot currently be made policy-controlled in browser tests. Remove this hack once that restriction is lifted."
2137 "DeviceEphemeralUsersEnabled": {
2140 "DeviceIdleLogoutTimeout": {
2143 "DeviceIdleLogoutWarningDuration": {
2146 "DeviceLoginScreenSaverId": {
2149 "DeviceLoginScreenSaverTimeout": {
2152 "DeviceStartUpUrls": {
2158 "DeviceAutoUpdateDisabled": {
2161 "DeviceAutoUpdateP2PEnabled": {
2164 "DeviceTargetVersionPrefix": {
2167 "DeviceUpdateScatterFactor": {
2170 "DeviceUpdateAllowedConnectionTypes": {
2173 "DeviceUpdateHttpDownloadsEnabled": {
2176 "ReportDeviceLocation": {
2182 "SystemUse24HourClock": {
2185 "DeviceLocalAccounts": {
2188 "DeviceLocalAccountAutoLoginId": {
2191 "DeviceLocalAccountAutoLoginDelay": {
2194 "DeviceLocalAccountAutoLoginBailoutEnabled": {
2197 "DeviceLocalAccountPromptForNetworkWhenOffline": {
2200 "DeviceLoginScreenPowerManagement": {
2203 "DeviceAllowRedeemChromeOsRegistrationOffers": {
2206 "DeviceStartUpFlags": {
2209 "DeviceVariationsRestrictParameter" : {
2212 "DeviceLoginScreenDefaultLargeCursorEnabled" : {
2215 "DeviceLoginScreenDefaultSpokenFeedbackEnabled" : {
2218 "DeviceLoginScreenDefaultHighContrastEnabled" : {
2221 "DeviceLoginScreenDefaultScreenMagnifierType" : {
2224 "DeviceLoginScreenDefaultVirtualKeyboardEnabled" : {
2230 "RebootAfterUpdate": {
2233 "AttestationEnabledForDevice": {
2236 "AttestationForContentProtectionEnabled": {
2239 "SupervisedUsersEnabled": {
2242 "SupervisedUserCreationEnabled": {
2245 "AutoCleanUpStrategy": {
2248 "----- Chrome Frame policies -------------------------------------------": {},
2250 "ChromeFrameRendererSettings": {
2253 "RenderInChromeFrameList": {
2256 "RenderInHostList": {
2259 "ChromeFrameContentTypes": {
2265 "AdditionalLaunchParameters": {
2268 "SuppressChromeFrameTurndownPrompt": {
2271 "SkipMetadataCheck": {