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 "note": "The following entries should be specified if controlled setting indicators exist for |pref| in the settings UI.",
14 "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).",
15 "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]'.",
16 "note 2": "Any number of test cases may be specified in the following array.",
18 { "policy": "A policy dictionary that should affect |pref| when set as mandatory or recommended policy.",
19 "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).",
20 "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)."
25 "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.",
26 "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'."
30 "os": ["win", "linux", "mac", "chromeos"],
31 "can_be_recommended": true,
32 "test_policy": { "HomepageLocation": "http://chromium.org" },
36 { "policy": { "HomepageIsNewTabPage": false, "HomepageLocation": "http://chromium.org" } },
37 { "policy": { "HomepageIsNewTabPage": true, "HomepageLocation": "http://chromium.org" },
45 "HomepageIsNewTabPage": {
46 "os": ["win", "linux", "mac", "chromeos"],
47 "can_be_recommended": true,
48 "test_policy": { "HomepageIsNewTabPage": true },
50 { "pref": "homepage_is_newtabpage",
52 { "policy": { "HomepageIsNewTabPage": false },
54 { "policy": { "HomepageIsNewTabPage": true },
61 "DefaultBrowserSettingEnabled": {
62 "os": ["win", "mac", "linux"],
63 "test_policy": { "DefaultBrowserSettingEnabled": true },
65 { "pref": "browser.default_browser_setting_enabled",
71 "ApplicationLocaleValue": {
73 "can_be_recommended": true,
74 "test_policy": { "ApplicationLocaleValue": "fr" },
76 { "pref": "intl.app_locale",
82 "AlternateErrorPagesEnabled": {
83 "os": ["win", "linux", "mac", "chromeos"],
84 "can_be_recommended": true,
85 "test_policy": { "AlternateErrorPagesEnabled": false },
87 { "pref": "alternate_error_pages.enabled",
89 { "policy": { "AlternateErrorPagesEnabled": false } }
95 "SearchSuggestEnabled": {
96 "os": ["win", "linux", "mac", "chromeos"],
97 "can_be_recommended": true,
98 "test_policy": { "SearchSuggestEnabled": false },
100 { "pref": "search.suggest_enabled",
102 { "policy": { "SearchSuggestEnabled": false } }
108 "DnsPrefetchingEnabled": {
109 "os": ["win", "linux", "mac", "chromeos"],
110 "can_be_recommended": true,
111 "test_policy": { "DnsPrefetchingEnabled": false },
113 { "pref": "dns_prefetching.enabled",
115 { "policy": { "DnsPrefetchingEnabled": false } }
122 "os": ["win", "linux", "mac", "chromeos"],
123 "test_policy": { "DisableSpdy": true },
125 { "pref": "spdy.disabled" }
130 "os": ["win", "linux", "mac", "chromeos"],
131 "test_policy": { "DisabledSchemes": ["file"] },
133 { "pref": "policy.url_blacklist" }
137 "JavascriptEnabled": {
138 "os": ["win", "linux", "mac", "chromeos"],
139 "test_policy": { "JavascriptEnabled": false },
141 { "pref": "profile.managed_default_content_settings.javascript",
142 "indicator_selector": "[content-setting=javascript]",
144 { "policy": { "JavascriptEnabled": false },
151 "IncognitoEnabled": {
152 "os": ["win", "linux", "mac", "chromeos"],
153 "test_policy": { "IncognitoEnabled": false },
155 { "pref": "incognito.mode_availability" }
159 "IncognitoModeAvailability": {
160 "os": ["win", "linux", "mac", "chromeos"],
161 "test_policy": { "IncognitoModeAvailability": 1 },
163 { "pref": "incognito.mode_availability" }
167 "SavingBrowserHistoryDisabled": {
168 "os": ["win", "linux", "mac", "chromeos"],
169 "test_policy": { "SavingBrowserHistoryDisabled": true },
171 { "pref": "history.saving_disabled" }
175 "AllowDeletingBrowserHistory": {
177 "test_policy": { "AllowDeletingBrowserHistory": false },
179 { "pref": "history.deleting_enabled" }
183 "RemoteAccessClientFirewallTraversal": {
186 "RemoteAccessHostFirewallTraversal": {
188 "test_policy": { "RemoteAccessHostFirewallTraversal": true },
190 { "pref": "remote_access.host_firewall_traversal" }
193 "note": "TODO(frankf): Enable on all OS after crbug.com/121066 is fixed."
196 "RemoteAccessHostRequireTwoFactor": {
198 "test_policy": { "RemoteAccessHostRequireTwoFactor": false },
200 { "pref": "remote_access.host_require_two_factor" }
204 "RemoteAccessHostDomain": {
206 "test_policy": { "RemoteAccessHostDomain": "" },
208 { "pref": "remote_access.host_domain" }
212 "RemoteAccessHostTalkGadgetPrefix": {
214 "test_policy": { "RemoteAccessHostTalkGadgetPrefix": "chromoting-host" },
216 { "pref": "remote_access.host_talkgadget_prefix" }
220 "RemoteAccessHostRequireCurtain": {
222 "test_policy": { "RemoteAccessHostRequireCurtain": false },
224 { "pref": "remote_access.host_require_curtain" }
228 "RemoteAccessHostAllowClientPairing": {
230 "test_policy": { "RemoteAccessHostAllowClientPairing": true },
232 { "pref": "remote_access.host_allow_client_pairing" }
237 "os": ["win", "linux", "mac", "chromeos"],
238 "test_policy": { "PrintingEnabled": false },
240 { "pref": "printing.enabled" }
244 "CloudPrintProxyEnabled": {
246 "test_policy": { "CloudPrintProxyEnabled": true },
248 { "pref": "cloud_print.enabled" }
252 "CloudPrintSubmitEnabled": {
253 "os": ["win", "mac", "linux"],
254 "test_policy": { "CloudPrintSubmitEnabled": false },
256 { "pref": "cloud_print.submit_enabled" }
260 "SafeBrowsingEnabled": {
261 "os": ["win", "linux", "mac", "chromeos"],
262 "can_be_recommended": true,
263 "test_policy": { "SafeBrowsingEnabled": false },
265 { "pref": "safebrowsing.enabled",
267 { "policy": { "SafeBrowsingEnabled": false } }
274 "pref": "settings.force_safesearch",
275 "test_policy": { "ForceSafeSearch": true },
276 "settings_pages": [],
277 "os": ["win", "linux", "mac", "chromeos"]
280 "MetricsReportingEnabled": {
281 "os": ["win", "mac", "linux"],
282 "official_only": true,
283 "can_be_recommended": true,
284 "test_policy": { "MetricsReportingEnabled": false },
286 { "pref": "user_experience_metrics.reporting_enabled",
289 { "policy": { "MetricsReportingEnabled": false } }
295 "PasswordManagerEnabled": {
296 "os": ["win", "linux", "mac", "chromeos"],
297 "can_be_recommended": true,
298 "test_policy": { "PasswordManagerEnabled": false },
300 { "pref": "profile.password_manager_enabled",
302 { "policy": { "PasswordManagerEnabled": false } }
308 "PasswordManagerAllowShowPasswords": {
309 "os": ["win", "linux", "mac", "chromeos"],
310 "test_policy": { "PasswordManagerAllowShowPasswords": false },
312 { "pref": "profile.password_manager_allow_show_passwords" }
317 "os": ["win", "linux", "mac", "chromeos"],
318 "can_be_recommended": true,
319 "test_policy": { "AutoFillEnabled": false },
321 { "pref": "autofill.enabled",
323 { "policy": { "AutoFillEnabled": false } }
330 "os": ["win", "linux", "mac", "chromeos"],
331 "test_policy": { "DisabledPlugins": ["Flash"] },
333 { "pref": "plugins.plugins_disabled" }
338 "os": ["win", "linux", "mac", "chromeos"],
339 "test_policy": { "EnabledPlugins": ["Flash"] },
341 { "pref": "plugins.plugins_enabled" }
345 "DisabledPluginsExceptions": {
346 "os": ["win", "linux", "mac", "chromeos"],
347 "test_policy": { "DisabledPluginsExceptions": ["Flash"] },
349 { "pref": "plugins.plugins_disabled_exceptions" }
353 "DisablePluginFinder": {
354 "os": ["win", "linux", "mac", "chromeos"],
355 "test_policy": { "DisablePluginFinder": true },
357 { "pref": "plugins.disable_plugin_finder",
364 "os": ["win", "linux", "mac", "chromeos"],
365 "test_policy": { "SyncDisabled": true },
367 { "pref": "sync.managed" }
372 "os": ["win", "linux", "mac"],
373 "test_policy": { "SigninAllowed": true },
375 { "pref": "signin.allowed" }
380 "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."
384 "os": ["win", "mac", "linux"],
385 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" },
387 { "pref": "browser.disk_cache_dir" }
392 "os": ["win", "mac", "linux"],
393 "test_policy": { "DiskCacheSize": 100 },
395 { "pref": "browser.disk_cache_size" }
400 "os": ["win", "mac", "linux"],
401 "test_policy": { "MediaCacheSize": 200 },
403 { "pref": "browser.media_cache_size" }
407 "DownloadDirectory": {
408 "os": ["win", "mac", "linux"],
409 "can_be_recommended": true,
410 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" },
412 { "pref": "download.default_directory",
414 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
417 { "pref": "download.prompt_for_download",
419 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
425 "ClearSiteDataOnExit": {
426 "note": "This policy is retired, see http://crbug.com/133291."
430 "os": ["win", "mac", "linux"],
431 "test_policy": { "ProxyMode": "direct" },
435 { "policy": { "ProxyMode": "direct" } }
442 "os": ["win", "mac", "linux"],
443 "test_policy": { "ProxyServerMode": 0 },
447 { "policy": { "ProxyServerMode": 0 } }
454 "os": ["win", "mac", "linux"],
455 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" },
459 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" } }
466 "os": ["win", "mac", "linux"],
467 "test_policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" },
471 { "policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" } }
478 "os": ["win", "mac", "linux"],
479 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" },
483 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" } }
490 "os": ["linux", "win"],
491 "test_policy": { "ProxySettings": { "ProxyMode": "direct" } },
495 { "policy": { "ProxySettings": { "ProxyMode": "direct" } } }
501 "EnableOriginBoundCerts": {
502 "os": ["win", "mac", "linux"],
503 "test_policy": { "EnableOriginBoundCerts": true },
505 { "pref": "ssl.origin_bound_certs.enabled",
511 "DisableSSLRecordSplitting": {
512 "os": ["win", "linux", "mac", "chromeos"],
513 "test_policy": { "DisableSSLRecordSplitting": true },
515 { "pref": "ssl.ssl_record_splitting.disabled",
521 "EnableOnlineRevocationChecks": {
522 "os": ["win", "linux", "mac", "chromeos"],
523 "test_policy": { "EnableOnlineRevocationChecks": true },
525 { "pref": "ssl.rev_checking.enabled",
531 "RequireOnlineRevocationChecksForLocalAnchors": {
532 "os": ["win", "linux", "chromeos"],
533 "test_policy": { "RequireOnlineRevocationChecksForLocalAnchors": true },
535 { "pref": "ssl.rev_checking.required_for_local_anchors",
542 "os": ["win", "linux", "mac", "chromeos"],
543 "test_policy": { "AuthSchemes": "AuthSchemes" },
545 { "pref": "auth.schemes",
551 "DisableAuthNegotiateCnameLookup": {
552 "os": ["win", "linux", "mac", "chromeos"],
553 "test_policy": { "DisableAuthNegotiateCnameLookup": true },
555 { "pref": "auth.disable_negotiate_cname_lookup",
561 "EnableAuthNegotiatePort": {
562 "os": ["win", "linux", "mac", "chromeos"],
563 "test_policy": { "EnableAuthNegotiatePort": true },
565 { "pref": "auth.enable_negotiate_port",
571 "AuthServerWhitelist": {
572 "os": ["win", "linux", "mac", "chromeos"],
573 "test_policy": { "AuthServerWhitelist": "localhost" },
575 { "pref": "auth.server_whitelist",
581 "AuthNegotiateDelegateWhitelist": {
582 "os": ["win", "linux", "mac", "chromeos"],
583 "test_policy": { "AuthNegotiateDelegateWhitelist": "localhost" },
585 { "pref": "auth.negotiate_delegate_whitelist",
591 "GSSAPILibraryName": {
592 "os": ["mac", "linux"],
593 "test_policy": { "GSSAPILibraryName": "libwhatever.so" },
595 { "pref": "auth.gssapi_library_name",
601 "AllowCrossOriginAuthPrompt": {
602 "os": ["win", "mac", "linux"],
603 "test_policy": { "AllowCrossOriginAuthPrompt": true },
605 { "pref": "auth.allow_cross_origin_prompt",
611 "ExtensionInstallBlacklist": {
612 "os": ["win", "linux", "mac", "chromeos"],
613 "test_policy": { "ExtensionInstallBlacklist": ["*"] },
615 { "pref": "extensions.install.denylist" }
619 "ExtensionInstallWhitelist": {
620 "os": ["win", "linux", "mac", "chromeos"],
621 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp"] },
623 { "pref": "extensions.install.allowlist" }
627 "ExtensionInstallForcelist": {
628 "os": ["win", "linux", "mac", "chromeos"],
629 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx"] },
631 { "pref": "extensions.install.forcelist" }
635 "ExtensionInstallSources": {
636 "os": ["win", "linux", "mac", "chromeos"],
637 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"] },
639 { "pref": "extensions.allowed_install_sites" }
643 "ExtensionAllowedTypes": {
644 "os": ["win", "linux", "mac", "chromeos"],
645 "test_policy": { "ExtensionAllowedTypes": ["hosted_app"] },
647 { "pref": "extensions.allowed_types" }
652 "os": ["win", "linux", "mac", "chromeos"],
653 "can_be_recommended": true,
654 "test_policy": { "ShowHomeButton": true },
656 { "pref": "browser.show_home_button",
658 { "policy": { "ShowHomeButton": true } }
664 "DeveloperToolsDisabled": {
665 "os": ["win", "linux", "mac", "chromeos"],
666 "test_policy": { "DeveloperToolsDisabled": true },
668 { "pref": "devtools.disabled" }
672 "RestoreOnStartup": {
673 "os": ["win", "linux", "mac", "chromeos"],
674 "can_be_recommended": true,
675 "test_policy": { "RestoreOnStartup": 4 },
677 { "pref": "session.restore_on_startup",
679 { "policy": { "RestoreOnStartup": 1 },
681 { "policy": { "RestoreOnStartup": 4 },
683 { "policy": { "RestoreOnStartup": 5 },
690 "RestoreOnStartupURLs": {
691 "os": ["win", "linux", "mac", "chromeos"],
692 "can_be_recommended": true,
693 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] },
695 { "pref": "session.startup_urls",
697 { "policy": { "RestoreOnStartupURLs": ["chromium.org"] } }
703 "BlockThirdPartyCookies": {
704 "os": ["win", "linux", "mac", "chromeos"],
705 "can_be_recommended": true,
706 "test_policy": { "BlockThirdPartyCookies": true },
708 { "pref": "profile.block_third_party_cookies",
710 { "policy": { "BlockThirdPartyCookies": true } }
716 "DefaultSearchProviderEnabled": {
717 "os": ["win", "linux", "mac", "chromeos"],
718 "test_policy": { "DefaultSearchProviderEnabled": false },
720 { "pref": "default_search_provider.enabled",
722 { "policy": { "DefaultSearchProviderEnabled": false } },
723 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" } }
729 "DefaultSearchProviderName": {
730 "os": ["win", "linux", "mac", "chromeos"],
731 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderName": "google.com" },
733 { "pref": "default_search_provider.name" }
737 "DefaultSearchProviderKeyword": {
738 "os": ["win", "linux", "mac", "chromeos"],
739 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" },
741 { "pref": "default_search_provider.keyword" }
745 "DefaultSearchProviderSearchURL": {
746 "os": ["win", "linux", "mac", "chromeos"],
747 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" },
749 { "pref": "default_search_provider.search_url",
750 "indicator_selector": "[setting=search-engine]",
752 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" } }
758 "DefaultSearchProviderSuggestURL": {
759 "os": ["win", "linux", "mac", "chromeos"],
760 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderSuggestURL": "http://www.google.com/suggest?q={searchTerms}" },
762 { "pref": "default_search_provider.suggest_url" }
766 "DefaultSearchProviderInstantURL": {
767 "os": ["win", "linux", "mac", "chromeos"],
768 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderInstantURL": "http://www.google.com/instant?q={searchTerms}" },
770 { "pref": "default_search_provider.instant_url" }
774 "DefaultSearchProviderNewTabURL": {
775 "os": ["win", "linux", "mac", "chromeos"],
776 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderNewTabURL": "http://www.google.com/newtab" },
778 { "pref": "default_search_provider.new_tab_url" }
782 "DefaultSearchProviderIconURL": {
783 "os": ["win", "linux", "mac", "chromeos"],
784 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderIconURL": "http://www.google.com/favicon.ico" },
786 { "pref": "default_search_provider.icon_url" }
790 "DefaultSearchProviderEncodings": {
791 "os": ["win", "linux", "mac", "chromeos"],
792 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] },
794 { "pref": "default_search_provider.encodings" }
798 "DefaultSearchProviderAlternateURLs": {
799 "os": ["win", "linux", "mac", "chromeos"],
800 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/#q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] },
802 { "pref": "default_search_provider.alternate_urls" }
806 "DefaultSearchProviderSearchTermsReplacementKey": {
807 "os": ["win", "linux", "mac", "chromeos"],
808 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderSearchTermsReplacementKey": "espv" },
810 { "pref": "default_search_provider.search_terms_replacement_key" }
814 "DefaultSearchProviderImageURL": {
815 "os": ["win", "linux", "mac", "chromeos"],
816 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderImageURL": "http://www.google.com/searchbyimage/upload" },
818 { "pref": "default_search_provider.image_url" }
822 "DefaultSearchProviderSearchURLPostParams": {
823 "os": ["win", "linux", "mac", "chromeos"],
824 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderSearchURLPostParams": "" },
826 { "pref": "default_search_provider.search_url_post_params" }
830 "DefaultSearchProviderSuggestURLPostParams": {
831 "os": ["win", "linux", "mac", "chromeos"],
832 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderSuggestURLPostParams": "" },
834 { "pref": "default_search_provider.suggest_url_post_params" }
838 "DefaultSearchProviderInstantURLPostParams": {
839 "os": ["win", "linux", "mac", "chromeos"],
840 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderInstantURLPostParams": "" },
842 { "pref": "default_search_provider.instant_url_post_params" }
846 "DefaultSearchProviderImageURLPostParams": {
847 "os": ["win", "linux", "mac", "chromeos"],
848 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderImageURLPostParams": "image_content={imageThumbnail},image_url={imageURL},sbisrc={imageSearchSource}" },
850 { "pref": "default_search_provider.image_url_post_params" }
854 "DefaultCookiesSetting": {
855 "os": ["win", "linux", "mac", "chromeos"],
856 "test_policy": { "DefaultCookiesSetting": 2 },
858 { "pref": "profile.managed_default_content_settings.cookies",
859 "indicator_selector": "[content-setting=cookies]",
861 { "policy": { "DefaultCookiesSetting": 1 },
863 { "policy": { "DefaultCookiesSetting": 2 },
865 { "policy": { "DefaultCookiesSetting": 4 },
871 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
874 "DefaultImagesSetting": {
875 "os": ["win", "linux", "mac", "chromeos"],
876 "test_policy": { "DefaultImagesSetting": 2 },
878 { "pref": "profile.managed_default_content_settings.images",
879 "indicator_selector": "[content-setting=images]",
881 { "policy": { "DefaultImagesSetting": 1 },
883 { "policy": { "DefaultImagesSetting": 2 },
889 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
892 "DefaultJavaScriptSetting": {
893 "os": ["win", "linux", "mac", "chromeos"],
894 "test_policy": { "DefaultJavaScriptSetting": 2 },
896 { "pref": "profile.managed_default_content_settings.javascript",
897 "indicator_selector": "[content-setting=javascript]",
899 { "policy": { "DefaultJavaScriptSetting": 1 },
901 { "policy": { "DefaultJavaScriptSetting": 2 },
907 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
910 "DefaultPluginsSetting": {
911 "os": ["win", "linux", "mac", "chromeos"],
912 "test_policy": { "DefaultPluginsSetting": 2 },
914 { "pref": "profile.managed_default_content_settings.plugins",
915 "indicator_selector": "[content-setting=plugins]",
917 { "policy": { "DefaultPluginsSetting": 1 },
919 { "policy": { "DefaultPluginsSetting": 2 },
921 { "policy": { "DefaultPluginsSetting": 3 },
927 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
930 "DefaultPopupsSetting": {
931 "os": ["win", "linux", "mac", "chromeos"],
932 "test_policy": { "DefaultPopupsSetting": 2 },
934 { "pref": "profile.managed_default_content_settings.popups",
935 "indicator_selector": "[content-setting=popups]",
937 { "policy": { "DefaultPopupsSetting": 1 },
939 { "policy": { "DefaultPopupsSetting": 2 },
945 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
948 "DefaultNotificationsSetting": {
949 "os": ["win", "linux", "mac", "chromeos"],
950 "test_policy": { "DefaultNotificationsSetting": 2 },
952 { "pref": "profile.managed_default_content_settings.notifications",
953 "indicator_selector": "[content-setting=notifications]",
955 { "policy": { "DefaultNotificationsSetting": 1 },
957 { "policy": { "DefaultNotificationsSetting": 2 },
959 { "policy": { "DefaultNotificationsSetting": 3 },
965 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
968 "DefaultGeolocationSetting": {
969 "os": ["win", "linux", "mac", "chromeos"],
970 "test_policy": { "DefaultGeolocationSetting": 2 },
972 { "pref": "profile.managed_default_content_settings.geolocation",
973 "indicator_selector": "[content-setting=location]",
975 { "policy": { "DefaultGeolocationSetting": 1 },
977 { "policy": { "DefaultGeolocationSetting": 2 },
979 { "policy": { "DefaultGeolocationSetting": 3 },
985 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
988 "DefaultMediaStreamSetting": {
989 "os": ["win", "linux", "mac", "chromeos"],
990 "test_policy": { "DefaultMediaStreamSetting": 2 },
992 { "pref": "profile.managed_default_content_settings.media_stream",
993 "indicator_selector": "[content-setting=media-stream]",
995 { "policy": { "DefaultMediaStreamSetting": 2 },
998 { "policy": { "DefaultMediaStreamSetting": 3 },
1005 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1008 "AudioCaptureAllowed": {
1009 "os": ["win", "linux", "mac", "chromeos"],
1010 "test_policy": { "AudioCaptureAllowed": false },
1012 { "pref": "hardware.audio_capture_enabled",
1013 "indicator_selector": "#media-indicator",
1014 "indicator_tests": [
1015 { "policy": { "AudioCaptureAllowed": false } }
1021 "AudioCaptureAllowedUrls": {
1022 "os": ["win", "linux", "mac", "chromeos"],
1023 "test_policy": { "AudioCaptureAllowedUrls": ["[*.]google.com"] },
1026 "pref": "hardware.audio_capture_allowed_urls"
1031 "VideoCaptureAllowed": {
1032 "os": ["win", "linux", "mac", "chromeos"],
1033 "test_policy": { "VideoCaptureAllowed": false },
1035 { "pref": "hardware.video_capture_enabled",
1036 "indicator_selector": "#media-indicator",
1037 "indicator_tests": [
1038 { "policy": { "VideoCaptureAllowed": false } }
1044 "VideoCaptureAllowedUrls": {
1045 "os": ["win", "linux", "mac", "chromeos"],
1046 "test_policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] },
1049 "pref": "hardware.video_capture_allowed_urls"
1054 "AutoSelectCertificateForUrls": {
1055 "os": ["win", "linux", "mac", "chromeos"],
1056 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://example.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] },
1058 { "pref": "profile.managed_auto_select_certificate_for_urls" }
1061 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1064 "CookiesAllowedForUrls": {
1065 "os": ["win", "linux", "mac", "chromeos"],
1066 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] },
1068 { "pref": "profile.managed_cookies_allowed_for_urls",
1069 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1070 "indicator_selector": "[content-exception=cookies]",
1071 "indicator_tests": [
1072 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] } }
1077 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1080 "CookiesBlockedForUrls": {
1081 "os": ["win", "linux", "mac", "chromeos"],
1082 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] },
1084 { "pref": "profile.managed_cookies_blocked_for_urls",
1085 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1086 "indicator_selector": "[content-exception=cookies]",
1087 "indicator_tests": [
1088 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] } }
1093 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1096 "CookiesSessionOnlyForUrls": {
1097 "os": ["win", "linux", "mac", "chromeos"],
1098 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] },
1100 { "pref": "profile.managed_cookies_sessiononly_for_urls",
1101 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1102 "indicator_selector": "[content-exception=cookies]",
1103 "indicator_tests": [
1104 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] } }
1109 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1112 "ImagesAllowedForUrls": {
1113 "os": ["win", "linux", "mac", "chromeos"],
1114 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] },
1116 { "pref": "profile.managed_images_allowed_for_urls",
1117 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1118 "indicator_selector": "[content-exception=images]",
1119 "indicator_tests": [
1120 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] } }
1125 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1128 "ImagesBlockedForUrls": {
1129 "os": ["win", "linux", "mac", "chromeos"],
1130 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] },
1132 { "pref": "profile.managed_images_blocked_for_urls",
1133 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1134 "indicator_selector": "[content-exception=images]",
1135 "indicator_tests": [
1136 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] } }
1141 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1144 "JavaScriptAllowedForUrls": {
1145 "os": ["win", "linux", "mac", "chromeos"],
1146 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] },
1148 { "pref": "profile.managed_javascript_allowed_for_urls",
1149 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1150 "indicator_selector": "[content-exception=javascript]",
1151 "indicator_tests": [
1152 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] } }
1157 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1160 "JavaScriptBlockedForUrls": {
1161 "os": ["win", "linux", "mac", "chromeos"],
1162 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] },
1164 { "pref": "profile.managed_javascript_blocked_for_urls",
1165 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1166 "indicator_selector": "[content-exception=javascript]",
1167 "indicator_tests": [
1168 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } }
1173 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1176 "PluginsAllowedForUrls": {
1177 "os": ["win", "linux", "mac", "chromeos"],
1178 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
1180 { "pref": "profile.managed_plugins_allowed_for_urls",
1181 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1182 "indicator_selector": "[content-exception=plugins]",
1183 "indicator_tests": [
1184 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } }
1189 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1192 "PluginsBlockedForUrls": {
1193 "os": ["win", "linux", "mac", "chromeos"],
1194 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] },
1196 { "pref": "profile.managed_plugins_blocked_for_urls",
1197 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1198 "indicator_selector": "[content-exception=plugins]",
1199 "indicator_tests": [
1200 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] } }
1205 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1208 "PopupsAllowedForUrls": {
1209 "os": ["win", "linux", "mac", "chromeos"],
1210 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] },
1212 { "pref": "profile.managed_popups_allowed_for_urls",
1213 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1214 "indicator_selector": "[content-exception=popups]",
1215 "indicator_tests": [
1216 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] } }
1221 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1224 "PopupsBlockedForUrls": {
1225 "os": ["win", "linux", "mac", "chromeos"],
1226 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] },
1228 { "pref": "profile.managed_popups_blocked_for_urls",
1229 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1230 "indicator_selector": "[content-exception=popups]",
1231 "indicator_tests": [
1232 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] } }
1237 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1240 "NotificationsAllowedForUrls": {
1241 "os": ["win", "linux", "mac", "chromeos"],
1242 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] },
1244 { "pref": "profile.managed_notifications_allowed_for_urls",
1245 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1246 "indicator_selector": "[content-exception=notifications]",
1247 "indicator_tests": [
1248 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] } }
1253 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1256 "NotificationsBlockedForUrls": {
1257 "os": ["win", "linux", "mac", "chromeos"],
1258 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] },
1260 { "pref": "profile.managed_notifications_blocked_for_urls",
1261 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1262 "indicator_selector": "[content-exception=notifications]",
1263 "indicator_tests": [
1264 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] } }
1269 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1273 "os": ["win", "linux", "mac", "chromeos"],
1274 "test_policy": { "Disable3DAPIs": true },
1276 { "pref": "disable_3d_apis" }
1283 "TranslateEnabled": {
1284 "os": ["win", "linux", "mac", "chromeos"],
1285 "can_be_recommended": true,
1286 "test_policy": { "TranslateEnabled": false },
1288 { "pref": "translate.enabled",
1289 "indicator_tests": [
1290 { "policy": { "TranslateEnabled": true } }
1296 "AllowOutdatedPlugins": {
1297 "os": ["win", "linux", "mac", "chromeos"],
1298 "test_policy": { "AllowOutdatedPlugins": true },
1300 { "pref": "plugins.allow_outdated" }
1304 "AlwaysAuthorizePlugins": {
1305 "os": ["win", "linux", "mac", "chromeos"],
1306 "test_policy": { "AlwaysAuthorizePlugins": true },
1308 { "pref": "plugins.always_authorize" }
1312 "BookmarkBarEnabled": {
1313 "os": ["win", "linux", "mac", "chromeos"],
1314 "can_be_recommended": true,
1315 "test_policy": { "BookmarkBarEnabled": true },
1317 { "pref": "bookmark_bar.show_on_all_tabs",
1318 "indicator_tests": [
1319 { "policy": { "BookmarkBarEnabled": true } }
1325 "EditBookmarksEnabled": {
1326 "os": ["win", "linux", "mac", "chromeos"],
1327 "test_policy": { "EditBookmarksEnabled": false },
1329 { "pref": "bookmarks.editing_enabled" }
1333 "AllowFileSelectionDialogs": {
1334 "os": ["win", "mac", "linux"],
1335 "test_policy": { "AllowFileSelectionDialogs": false },
1337 { "pref": "select_file_dialogs.allowed",
1340 { "pref": "download.prompt_for_download",
1341 "indicator_tests": [
1342 { "policy": { "AllowFileSelectionDialogs": false } }
1348 "ImportBookmarks": {
1349 "os": ["win", "mac", "linux"],
1350 "can_be_recommended": true,
1351 "test_policy": { "ImportBookmarks": false },
1353 { "pref": "import_bookmarks",
1354 "indicator_tests": [
1355 { "policy": { "ImportBookmarks": false } }
1362 "os": ["win", "mac", "linux"],
1363 "can_be_recommended": true,
1364 "test_policy": { "ImportHistory": false },
1366 { "pref": "import_history",
1367 "indicator_tests": [
1368 { "policy": { "ImportHistory": false } }
1375 "os": ["win", "mac", "linux"],
1376 "test_policy": { "ImportHomepage": false },
1378 { "pref": "import_home_page" }
1382 "ImportSearchEngine": {
1383 "os": ["win", "mac", "linux"],
1384 "can_be_recommended": true,
1385 "test_policy": { "ImportSearchEngine": false },
1387 { "pref": "import_search_engine",
1388 "indicator_tests": [
1389 { "policy": { "ImportSearchEngine": false } }
1395 "ImportSavedPasswords": {
1396 "os": ["win", "mac", "linux"],
1397 "can_be_recommended": true,
1398 "test_policy": { "ImportSavedPasswords": false },
1400 { "pref": "import_saved_passwords",
1401 "indicator_tests": [
1402 { "policy": { "ImportSavedPasswords": false } }
1408 "MaxConnectionsPerProxy": {
1409 "os": ["win", "linux", "mac", "chromeos"],
1410 "test_policy": { "MaxConnectionsPerProxy": 16 },
1412 { "pref": "net.max_connections_per_proxy",
1418 "HideWebStorePromo": {
1422 "os": ["win", "linux", "mac", "chromeos"],
1423 "test_policy": { "URLBlacklist": ["google.com"] },
1425 { "pref": "policy.url_blacklist" }
1430 "os": ["win", "linux", "mac", "chromeos"],
1431 "test_policy": { "URLWhitelist": ["google.com"] },
1433 { "pref": "policy.url_whitelist" }
1437 "EnterpriseWebStoreURL": {
1438 "note": "This policy is retired, see http://crbug.com/178938."
1441 "EnterpriseWebStoreName": {
1442 "note": "This policy is retired, see http://crbug.com/178938."
1445 "EnableMemoryInfo": {
1446 "os": ["win", "linux", "mac", "chromeos"],
1447 "test_policy": { "EnableMemoryInfo": true },
1449 { "pref": "enable_memory_info" }
1453 "DisablePrintPreview": {
1454 "os": ["win", "mac", "linux"],
1455 "test_policy": { "DisablePrintPreview": false },
1457 { "pref": "printing.print_preview_disabled" }
1461 "BackgroundModeEnabled": {
1462 "os": ["win", "linux"],
1463 "can_be_recommended": true,
1464 "test_policy": { "BackgroundModeEnabled": false },
1466 { "pref": "background_mode.enabled",
1467 "local_state": true,
1468 "indicator_tests": [
1469 { "policy": { "BackgroundModeEnabled": false } }
1475 "RestrictSigninToPattern": {
1476 "os": ["win", "mac", "linux"],
1477 "test_policy": { "RestrictSigninToPattern": ".*@google.com" },
1479 { "pref": "google.services.username_pattern",
1485 "DisableSafeBrowsingProceedAnyway": {
1486 "os": ["win", "linux", "mac", "chromeos"],
1487 "test_policy": { "DisableSafeBrowsingProceedAnyway": true },
1489 { "pref": "safebrowsing.proceed_anyway_disabled" }
1493 "SpellCheckServiceEnabled": {
1494 "os": ["win", "linux", "mac", "chromeos"],
1495 "official_only": true,
1496 "can_be_recommended": true,
1497 "test_policy": { "SpellCheckServiceEnabled": false },
1499 { "pref": "spellcheck.use_spelling_service",
1500 "indicator_tests": [
1501 { "policy": { "SpellCheckServiceEnabled": false } }
1507 "DisableScreenshots": {
1508 "os": ["win", "linux", "mac", "chromeos"],
1509 "test_policy": { "DisableScreenshots": true },
1511 { "pref": "disable_screenshots" }
1515 "BuiltInDnsClientEnabled": {
1516 "os": ["win", "linux", "mac"],
1517 "test_policy": { "BuiltInDnsClientEnabled": true },
1519 { "pref": "async_dns.enabled",
1525 "HideWebStoreIcon": {
1526 "os": ["win", "linux", "mac", "chromeos"],
1527 "test_policy": { "HideWebStoreIcon": true },
1529 { "pref": "hide_web_store_icon" }
1533 "VariationsRestrictParameter": {
1534 "test_policy": { "VariationsRestrictParameter": "restricted" },
1536 { "pref": "variations_restrict_parameter",
1542 "DataCompressionProxyEnabled": {
1544 "test_policy": { "DataCompressionProxyEnabled": false },
1546 { "pref": "spdy_proxy.enabled" }
1550 "ForceEphemeralProfiles": {
1553 "UserAvatarImage": {
1556 "UserAvatarImage": {
1557 "url": "http://localhost/",
1558 "hash": "01234567890012345678900123456789001234567890"
1561 "indicator_selector": "#account-picture-indicator"
1564 "----- Chrome OS policies ------------------------------------------------": {},
1566 "ChromeOsLockOnIdleSuspend": {
1568 "can_be_recommended": true,
1569 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1571 { "pref": "settings.enable_screen_lock",
1572 "indicator_tests": [
1573 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
1579 "PolicyRefreshRate": {
1581 "test_policy": { "PolicyRefreshRate": 300000 },
1583 { "pref": "policy.user_refresh_rate",
1589 "MaxInvalidationFetchDelay": {
1590 "os": ["win", "linux", "mac", "chromeos"],
1591 "test_policy": { "PolicyRefreshRate": 15000 },
1595 "OpenNetworkConfiguration": {
1600 "test_policy": { "DriveDisabled": true },
1602 { "pref": "gdata.disabled",
1603 "indicator_tests": [
1604 { "policy": { "DriveDisabled": true } }
1610 "DriveDisabledOverCellular": {
1612 "test_policy": { "DriveDisabledOverCellular": true },
1614 { "pref": "gdata.cellular.disabled" }
1618 "PinnedLauncherApps": {
1620 "can_be_recommended": true,
1621 "test_policy": { "PinnedLauncherApps": [] },
1623 { "pref": "pinned_launcher_apps" }
1627 "ExternalStorageDisabled": {
1629 "test_policy": { "ExternalStorageDisabled": true },
1631 { "pref": "hardware.external_storage_disabled" }
1635 "AudioOutputAllowed": {
1637 "test_policy": { "AudioOutputAllowed": true },
1639 { "pref": "hardware.audio_output_enabled",
1640 "local_state": true }
1644 "AudioCaptureAllowed": {
1646 "test_policy": { "AudioCaptureAllowed": true },
1648 { "pref": "hardware.audio_capture_enabled",
1649 "local_state": true }
1653 "ShowLogoutButtonInTray": {
1655 "test_policy": { "ShowLogoutButtonInTray": true },
1657 { "pref": "show_logout_button_in_tray" }
1661 "ShelfAutoHideBehavior": {
1663 "test_policy": { "ShelfAutoHideBehavior": "Always" },
1665 { "pref": "auto_hide_behavior_local" }
1669 "UserDisplayName": {
1673 "SessionLengthLimit": {
1675 "test_policy": { "SessionLengthLimit": 3600000 },
1677 { "pref": "session.length_limit",
1678 "local_state": true }
1682 "ScreenDimDelayAC": {
1684 "test_policy": { "ScreenDimDelayAC": 420000 },
1686 { "pref": "power.ac_screen_dim_delay_ms" }
1690 "ScreenOffDelayAC": {
1692 "test_policy": { "ScreenOffDelayAC": 480000 },
1694 { "pref": "power.ac_screen_off_delay_ms" }
1698 "ScreenLockDelayAC": {
1700 "test_policy": { "ScreenLockDelayAC": 600000 },
1702 { "pref": "power.ac_screen_lock_delay_ms" }
1706 "IdleWarningDelayAC": {
1708 "test_policy": { "IdleWarningDelayAC": 1800000 },
1710 { "pref": "power.ac_idle_warning_delay_ms" }
1716 "test_policy": { "IdleDelayAC": 1800000 },
1718 { "pref": "power.ac_idle_delay_ms" }
1722 "ScreenDimDelayBattery": {
1724 "test_policy": { "ScreenDimDelayBattery": 300000 },
1726 { "pref": "power.battery_screen_dim_delay_ms" }
1730 "ScreenOffDelayBattery": {
1732 "test_policy": { "ScreenOffDelayBattery": 360000 },
1734 { "pref": "power.battery_screen_off_delay_ms" }
1738 "ScreenLockDelayBattery": {
1740 "test_policy": { "ScreenLockDelayBattery": 600000 },
1742 { "pref": "power.battery_screen_lock_delay_ms" }
1746 "IdleWarningDelayBattery": {
1748 "test_policy": { "IdleWarningDelayBattery": 600000 },
1750 { "pref": "power.battery_idle_warning_delay_ms" }
1754 "IdleDelayBattery": {
1756 "test_policy": { "IdleDelayBattery": 600000 },
1758 { "pref": "power.battery_idle_delay_ms" }
1764 "test_policy": { "IdleAction": 0 },
1766 { "pref": "power.ac_idle_action" },
1767 { "pref": "power.battery_idle_action" }
1773 "test_policy": { "IdleActionAC": 0 },
1775 { "pref": "power.ac_idle_action" }
1779 "IdleActionBattery": {
1781 "test_policy": { "IdleActionBattery": 0 },
1783 { "pref": "power.battery_idle_action" }
1789 "test_policy": { "LidCloseAction": 0 },
1791 { "pref": "power.lid_closed_action" }
1795 "PowerManagementUsesAudioActivity": {
1797 "test_policy": { "PowerManagementUsesAudioActivity": true },
1799 { "pref": "power.use_audio_activity" }
1803 "PowerManagementUsesVideoActivity": {
1805 "test_policy": { "PowerManagementUsesVideoActivity": true },
1807 { "pref": "power.use_video_activity" }
1811 "PresentationIdleDelayScale": {
1814 "PresentationScreenDimDelayScale": {
1816 "test_policy": { "PresentationScreenDimDelayScale": 200 },
1818 { "pref": "power.presentation_screen_dim_delay_factor" }
1822 "AllowScreenWakeLocks": {
1824 "test_policy": { "AllowScreenWakeLocks": false },
1826 { "pref": "power.allow_screen_wake_locks" }
1830 "UserActivityScreenDimDelayScale": {
1832 "test_policy": { "UserActivityScreenDimDelayScale": 200 },
1834 { "pref": "power.user_activity_screen_dim_delay_factor" }
1838 "WaitForInitialUserActivity": {
1840 "test_policy": { "WaitForInitialUserActivity": true },
1842 { "pref": "session.wait_for_initial_user_activity",
1843 "local_state": true },
1844 { "pref": "power.wait_for_initial_user_activity" }
1848 "TermsOfServiceURL": {
1850 "test_policy": { "TermsOfServiceURL": "http://www.example.com/terms_of_service.txt" },
1852 { "pref": "terms_of_service.url" }
1856 "ShowAccessibilityOptionsInSystemTrayMenu": {
1858 "test_policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true },
1860 { "pref": "settings.a11y.enable_menu",
1861 "indicator_tests": [
1862 { "policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true } }
1868 "LargeCursorEnabled": {
1870 "test_policy": { "LargeCursorEnabled": true },
1872 { "pref": "settings.a11y.large_cursor_enabled",
1873 "indicator_tests": [
1874 { "policy": { "LargeCursorEnabled": true } }
1880 "SpokenFeedbackEnabled": {
1882 "test_policy": { "SpokenFeedbackEnabled": true },
1884 { "pref": "settings.accessibility",
1885 "indicator_tests": [
1886 { "policy": { "SpokenFeedbackEnabled": true } }
1892 "HighContrastEnabled": {
1894 "test_policy": { "HighContrastEnabled": true },
1896 { "pref": "settings.a11y.high_contrast_enabled",
1897 "indicator_tests": [
1898 { "policy": { "HighContrastEnabled": true } }
1904 "ScreenMagnifierType": {
1906 "test_policy": { "ScreenMagnifierType": 1 },
1908 { "pref": "settings.a11y.screen_magnifier",
1909 "indicator_tests": [
1910 { "policy": { "ScreenMagnifierType": 1 } }
1913 { "pref": "settings.a11y.screen_magnifier_type2" }
1917 "AttestationEnabledForUser": {
1919 "test_policy": { "AttestationEnabledForUser": true },
1921 { "pref": "attestation.enabled" }
1925 "AttestationExtensionWhitelist": {
1927 "test_policy": { "AttestationExtensionWhitelist": ["test_ext_id1", "test_ext_id2"] },
1929 { "pref": "attestation.extension_whitelist" }
1933 "ContentPackDefaultFilteringBehavior": {
1936 "ContentPackManualBehaviorHosts": {
1939 "ContentPackManualBehaviorURLs": {
1942 "ManagedBookmarks": {
1945 "FullscreenAllowed": {
1946 "os": ["win", "linux", "chromeos"],
1947 "test_policy": { "FullscreenAllowed": false },
1949 { "pref": "fullscreen.allowed" },
1950 { "pref": "apps.fullscreen.allowed" }
1954 "ChromeOsMultiProfileUserBehavior": {
1956 "test_policy": { "ChromeOsMultiProfileUserBehavior": "unrestricted" },
1958 { "pref": "settings.multiprofile_user_behavior" }
1962 "NativeMessagingBlacklist": {
1963 "os": ["win", "linux", "mac"],
1964 "test_policy": { "NativeMessagingBlacklist": ["*"] },
1966 { "pref": "native_messaging.blacklist" }
1970 "NativeMessagingWhitelist": {
1971 "os": ["win", "linux", "mac"],
1972 "test_policy": { "NativeMessagingWhitelist": ["native.messaging.host.name"] },
1974 { "pref": "native_messaging.whitelist" }
1978 "----- Chrome OS device policies ---------------------------------------": {},
1980 "DevicePolicyRefreshRate": {
1982 "test_policy": { "DevicePolicyRefreshRate": 300000 },
1984 { "pref": "policy.device_refresh_rate",
1985 "local_state": true }
1989 "ChromeOsReleaseChannel": {
1992 "ChromeOsReleaseChannelDelegated": {
1995 "DeviceOpenNetworkConfiguration": {
1998 "ReportDeviceVersionInfo": {
2001 "ReportDeviceActivityTimes": {
2004 "ReportDeviceBootMode": {
2007 "ReportDeviceNetworkInterfaces": {
2010 "ReportDeviceUsers": {
2013 "DeviceAllowNewUsers": {
2016 "DeviceUserWhitelist": {
2019 "DeviceGuestModeEnabled": {
2022 "DeviceShowUserNamesOnSignin": {
2025 "DeviceDataRoamingEnabled": {
2028 "DeviceMetricsReportingEnabled": {
2030 "official_only": true,
2031 "test_policy": { "DeviceMetricsReportingEnabled": true },
2033 { "pref": "cros.metrics.reportingEnabled",
2034 "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}]); });",
2035 "indicator_tests": [
2036 { "policy": { "AlternateErrorPagesEnabled": true } }
2041 "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."
2044 "DeviceEphemeralUsersEnabled": {
2047 "DeviceIdleLogoutTimeout": {
2050 "DeviceIdleLogoutWarningDuration": {
2053 "DeviceLoginScreenSaverId": {
2056 "DeviceLoginScreenSaverTimeout": {
2059 "DeviceStartUpUrls": {
2065 "DeviceAutoUpdateDisabled": {
2068 "DeviceAutoUpdateP2PEnabled": {
2071 "DeviceTargetVersionPrefix": {
2074 "DeviceUpdateScatterFactor": {
2077 "DeviceUpdateAllowedConnectionTypes": {
2080 "DeviceUpdateHttpDownloadsEnabled": {
2083 "ReportDeviceLocation": {
2089 "SystemUse24HourClock": {
2092 "DeviceLocalAccounts": {
2095 "DeviceLocalAccountAutoLoginId": {
2098 "DeviceLocalAccountAutoLoginDelay": {
2101 "DeviceLocalAccountAutoLoginBailoutEnabled": {
2104 "DeviceLocalAccountPromptForNetworkWhenOffline": {
2107 "DeviceLoginScreenPowerManagement": {
2110 "DeviceAllowRedeemChromeOsRegistrationOffers": {
2113 "DeviceStartUpFlags": {
2116 "DeviceVariationsRestrictParameter" : {
2119 "DeviceLoginScreenDefaultLargeCursorEnabled" : {
2122 "DeviceLoginScreenDefaultSpokenFeedbackEnabled" : {
2125 "DeviceLoginScreenDefaultHighContrastEnabled" : {
2128 "DeviceLoginScreenDefaultScreenMagnifierType" : {
2134 "RebootAfterUpdate": {
2137 "AttestationEnabledForDevice": {
2140 "AttestationForContentProtectionEnabled": {
2143 "SupervisedUsersEnabled": {
2146 "SupervisedUserCreationEnabled": {
2149 "AutoCleanUpStrategy": {
2152 "----- Chrome Frame policies -------------------------------------------": {},
2154 "ChromeFrameRendererSettings": {
2157 "RenderInChromeFrameList": {
2160 "RenderInHostList": {
2163 "ChromeFrameContentTypes": {
2169 "AdditionalLaunchParameters": {
2172 "SuppressChromeFrameTurndownPrompt": {
2175 "SkipMetadataCheck": {