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

Side by Side Diff: chrome/test/data/policy/policy_test_cases.json

Issue 10905223: Converted policy_prefs_ui.py pyauto test to a browser_test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/policy/policy_prefs_browsertest.cc ('k') | chrome/test/functional/PYAUTO_TESTS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "-- Template --": { 2 "-- Template --": {
3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below.", 3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below.",
4 4
5 "pref": "The pref that this policy maps to, if any.", 5 "pref": "The pref that this policy maps to, if any.",
6 "test_policy": "A policy dictionary that should trigger the managed banner i n the settings UI. Usually just sets the current policy.", 6 "test_policy": "A policy dictionary that should trigger the managed banner i n the settings UI. Usually just sets the current policy.",
7 "settings_pages": ["A list of settings pages where the banner should be visi ble when this policy is set."], 7 "settings_pages": ["A list of settings pages where the banner should be visi ble when this policy is set."],
8 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos"], 8 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos"],
9 "local_state": "Optionally indicate that |pref| is registed in local state, instead of in the profile PrefService.", 9 "local_state": "Optionally indicate that |pref| is registed in local state, instead of in the profile PrefService.",
10 "official_only": "Optionally set this to true if this policy only works on o fficial builds.", 10 "official_only": "Optionally set this to true if this policy only works on o fficial builds."
11 }, 11 },
12 12
13 "HomepageLocation": { 13 "HomepageLocation": {
14 "pref": "homepage", 14 "pref": "homepage",
15 "test_policy": { "HomepageLocation": "http://chromium.org" }, 15 "test_policy": { "HomepageLocation": "http://chromium.org" },
16 "settings_pages": ["chrome://settings-frame/homePageOverlay"], 16 "settings_pages": ["chrome://settings-frame/homePageOverlay"],
17 "os": ["win", "linux", "mac", "chromeos"], 17 "os": ["win", "linux", "mac", "chromeos"]
18 }, 18 },
19 19
20 "HomepageIsNewTabPage": { 20 "HomepageIsNewTabPage": {
21 "pref": "homepage_is_newtabpage", 21 "pref": "homepage_is_newtabpage",
22 "test_policy": { "HomepageIsNewTabPage": true }, 22 "test_policy": { "HomepageIsNewTabPage": true },
23 "settings_pages": ["chrome://settings-frame/homePageOverlay"], 23 "settings_pages": ["chrome://settings-frame/homePageOverlay"],
24 "os": ["win", "linux", "mac", "chromeos"], 24 "os": ["win", "linux", "mac", "chromeos"]
25 }, 25 },
26 26
27 "DefaultBrowserSettingEnabled": { 27 "DefaultBrowserSettingEnabled": {
28 "pref": "browser.default_browser_setting_enabled", 28 "pref": "browser.default_browser_setting_enabled",
29 "test_policy": { "DefaultBrowserSettingEnabled": true }, 29 "test_policy": { "DefaultBrowserSettingEnabled": true },
30 "settings_pages": [], 30 "settings_pages": [],
31 "local_state": true, 31 "local_state": true,
32 "os": ["win", "mac", "linux"], 32 "os": ["win", "mac", "linux"],
33 33
34 "note": "TODO(joaodasilva): Couldn't verify on linux.", 34 "note": "TODO(joaodasilva): Couldn't verify on linux."
35 }, 35 },
36 36
37 "ApplicationLocaleValue": { 37 "ApplicationLocaleValue": {
38 "pref": "intl.app_locale", 38 "pref": "intl.app_locale",
39 "test_policy": { "ApplicationLocaleValue": "fr" }, 39 "test_policy": { "ApplicationLocaleValue": "fr" },
40 "settings_pages": [], 40 "settings_pages": [],
41 "local_state": true, 41 "local_state": true,
42 "os": ["win"], 42 "os": ["win"]
43 }, 43 },
44 44
45 "AlternateErrorPagesEnabled": { 45 "AlternateErrorPagesEnabled": {
46 "pref": "alternate_error_pages.enabled", 46 "pref": "alternate_error_pages.enabled",
47 "test_policy": { "AlternateErrorPagesEnabled": false }, 47 "test_policy": { "AlternateErrorPagesEnabled": false },
48 "settings_pages": ["chrome://settings-frame"], 48 "settings_pages": ["chrome://settings-frame"],
49 "os": ["win", "linux", "mac", "chromeos"], 49 "os": ["win", "linux", "mac", "chromeos"]
50 }, 50 },
51 51
52 "SearchSuggestEnabled": { 52 "SearchSuggestEnabled": {
53 "pref": "search.suggest_enabled", 53 "pref": "search.suggest_enabled",
54 "test_policy": { "SearchSuggestEnabled": false }, 54 "test_policy": { "SearchSuggestEnabled": false },
55 "settings_pages": ["chrome://settings-frame"], 55 "settings_pages": ["chrome://settings-frame"],
56 "os": ["win", "linux", "mac", "chromeos"], 56 "os": ["win", "linux", "mac", "chromeos"]
57 }, 57 },
58 58
59 "DnsPrefetchingEnabled": { 59 "DnsPrefetchingEnabled": {
60 "pref": "dns_prefetching.enabled", 60 "pref": "dns_prefetching.enabled",
61 "test_policy": { "DnsPrefetchingEnabled": false }, 61 "test_policy": { "DnsPrefetchingEnabled": false },
62 "settings_pages": ["chrome://settings-frame"], 62 "settings_pages": ["chrome://settings-frame"],
63 "os": ["win", "linux", "mac", "chromeos"], 63 "os": ["win", "linux", "mac", "chromeos"]
64 }, 64 },
65 65
66 "DisableSpdy": { 66 "DisableSpdy": {
67 "pref": "spdy.disabled", 67 "pref": "spdy.disabled",
68 "test_policy": { "DisableSpdy": true }, 68 "test_policy": { "DisableSpdy": true },
69 "settings_pages": [], 69 "settings_pages": [],
70 "os": ["win", "linux", "mac", "chromeos"], 70 "os": ["win", "linux", "mac", "chromeos"]
71 }, 71 },
72 72
73 "DisabledSchemes": { 73 "DisabledSchemes": {
74 "pref": "protocol.disabled_schemes", 74 "pref": "protocol.disabled_schemes",
75 "test_policy": { "DisabledSchemes": ["file"] }, 75 "test_policy": { "DisabledSchemes": ["file"] },
76 "settings_pages": [], 76 "settings_pages": [],
77 "local_state": true, 77 "local_state": true,
78 "os": ["win", "linux", "mac", "chromeos"], 78 "os": ["win", "linux", "mac", "chromeos"]
79 }, 79 },
80 80
81 "JavascriptEnabled": { 81 "JavascriptEnabled": {
82 "pref": "profile.managed_default_content_settings.javascript", 82 "pref": "profile.managed_default_content_settings.javascript",
83 "test_policy": { "JavascriptEnabled": false }, 83 "test_policy": { "JavascriptEnabled": false },
84 "settings_pages": ["chrome://settings-frame/content"], 84 "settings_pages": ["chrome://settings-frame/content"],
85 "os": ["win", "linux", "mac", "chromeos"], 85 "os": ["win", "linux", "mac", "chromeos"]
86 }, 86 },
87 87
88 "IncognitoEnabled": { 88 "IncognitoEnabled": {
89 "pref": "incognito.mode_availability", 89 "pref": "incognito.mode_availability",
90 "test_policy": { "IncognitoEnabled": false }, 90 "test_policy": { "IncognitoEnabled": false },
91 "settings_pages": [], 91 "settings_pages": [],
92 "os": ["win", "linux", "mac", "chromeos"], 92 "os": ["win", "linux", "mac", "chromeos"]
93 }, 93 },
94 94
95 "IncognitoModeAvailability": { 95 "IncognitoModeAvailability": {
96 "pref": "incognito.mode_availability", 96 "pref": "incognito.mode_availability",
97 "test_policy": { "IncognitoModeAvailability": 1 }, 97 "test_policy": { "IncognitoModeAvailability": 1 },
98 "settings_pages": [], 98 "settings_pages": [],
99 "os": ["win", "linux", "mac", "chromeos"], 99 "os": ["win", "linux", "mac", "chromeos"]
100 }, 100 },
101 101
102 "SavingBrowserHistoryDisabled": { 102 "SavingBrowserHistoryDisabled": {
103 "pref": "history.saving_disabled", 103 "pref": "history.saving_disabled",
104 "test_policy": { "SavingBrowserHistoryDisabled": true }, 104 "test_policy": { "SavingBrowserHistoryDisabled": true },
105 "settings_pages": [], 105 "settings_pages": [],
106 "os": ["win", "linux", "mac", "chromeos"], 106 "os": ["win", "linux", "mac", "chromeos"]
107 }, 107 },
108 108
109 "RemoteAccessClientFirewallTraversal": { 109 "RemoteAccessClientFirewallTraversal": {
110 "pref": null, 110 "pref": null,
111 "test_policy": { "RemoteAccessClientFirewallTraversal": true }, 111 "test_policy": { "RemoteAccessClientFirewallTraversal": true },
112 "settings_pages": [], 112 "settings_pages": [],
113 "os": [], 113 "os": []
114 }, 114 },
115 115
116 "RemoteAccessHostFirewallTraversal": { 116 "RemoteAccessHostFirewallTraversal": {
117 "pref": "remote_access.host_firewall_traversal", 117 "pref": "remote_access.host_firewall_traversal",
118 "test_policy": { "RemoteAccessHostFirewallTraversal": true }, 118 "test_policy": { "RemoteAccessHostFirewallTraversal": true },
119 "settings_pages": [], 119 "settings_pages": [],
120 "os": [], 120 "os": [],
121 121
122 "note": "TODO(frankf): Enable on all OS after crbug.com/121066 is fixed.", 122 "note": "TODO(frankf): Enable on all OS after crbug.com/121066 is fixed."
123 }, 123 },
124 124
125 "RemoteAccessHostRequireTwoFactor": { 125 "RemoteAccessHostRequireTwoFactor": {
126 "pref": "remote_access.host_require_two_factor", 126 "pref": "remote_access.host_require_two_factor",
127 "test_policy": { "RemoteAccessHostRequireTwoFactor": false }, 127 "test_policy": { "RemoteAccessHostRequireTwoFactor": false },
128 "settings_pages": [], 128 "settings_pages": [],
129 "os": [], 129 "os": []
130 }, 130 },
131 131
132 "RemoteAccessHostDomain": { 132 "RemoteAccessHostDomain": {
133 "pref": "remote_access.host_domain", 133 "pref": "remote_access.host_domain",
134 "test_policy": { "RemoteAccessHostDomain": "" }, 134 "test_policy": { "RemoteAccessHostDomain": "" },
135 "settings_pages": [], 135 "settings_pages": [],
136 "os": [], 136 "os": []
137 }, 137 },
138 138
139 "RemoteAccessHostTalkGadgetPrefix": { 139 "RemoteAccessHostTalkGadgetPrefix": {
140 "pref": "remote_access.host_talkgadget_prefix", 140 "pref": "remote_access.host_talkgadget_prefix",
141 "test_policy": { "RemoteAccessHostTalkGadgetPrefix": "chromoting-host" }, 141 "test_policy": { "RemoteAccessHostTalkGadgetPrefix": "chromoting-host" },
142 "settings_pages": [], 142 "settings_pages": [],
143 "os": [], 143 "os": []
144 }, 144 },
145 145
146 "RemoteAccessHostRequireCurtain": { 146 "RemoteAccessHostRequireCurtain": {
147 "pref": "remote_access.host_require_curtain", 147 "pref": "remote_access.host_require_curtain",
148 "test_policy": { "RemoteAccessHostRequireCurtain": false }, 148 "test_policy": { "RemoteAccessHostRequireCurtain": false },
149 "settings_pages": [], 149 "settings_pages": [],
150 "os": [], 150 "os": []
151 }, 151 },
152 152
153 "PrintingEnabled": { 153 "PrintingEnabled": {
154 "pref": "printing.enabled", 154 "pref": "printing.enabled",
155 "test_policy": { "PrintingEnabled": false }, 155 "test_policy": { "PrintingEnabled": false },
156 "settings_pages": [], 156 "settings_pages": [],
157 "os": ["win", "linux", "mac", "chromeos"], 157 "os": ["win", "linux", "mac", "chromeos"]
158 }, 158 },
159 159
160 "CloudPrintProxyEnabled": { 160 "CloudPrintProxyEnabled": {
161 "pref": "cloud_print.enabled", 161 "pref": "cloud_print.enabled",
162 "test_policy": { "CloudPrintProxyEnabled": true }, 162 "test_policy": { "CloudPrintProxyEnabled": true },
163 "settings_pages": [], 163 "settings_pages": [],
164 "os": [], 164 "os": []
165 }, 165 },
166 166
167 "CloudPrintSubmitEnabled": { 167 "CloudPrintSubmitEnabled": {
168 "pref": "cloud_print.submit_enabled", 168 "pref": "cloud_print.submit_enabled",
169 "test_policy": { "CloudPrintSubmitEnabled": false }, 169 "test_policy": { "CloudPrintSubmitEnabled": false },
170 "settings_pages": [], 170 "settings_pages": [],
171 "os": ["win", "mac", "linux"], 171 "os": ["win", "mac", "linux"]
172 }, 172 },
173 173
174 "SafeBrowsingEnabled": { 174 "SafeBrowsingEnabled": {
175 "pref": "safebrowsing.enabled", 175 "pref": "safebrowsing.enabled",
176 "test_policy": { "SafeBrowsingEnabled": false }, 176 "test_policy": { "SafeBrowsingEnabled": false },
177 "settings_pages": ["chrome://settings-frame"], 177 "settings_pages": ["chrome://settings-frame"],
178 "os": ["win", "linux", "mac", "chromeos"], 178 "os": ["win", "linux", "mac", "chromeos"]
179 }, 179 },
180 180
181 "MetricsReportingEnabled": { 181 "MetricsReportingEnabled": {
182 "pref": "user_experience_metrics.reporting_enabled", 182 "pref": "user_experience_metrics.reporting_enabled",
183 "test_policy": { "MetricsReportingEnabled": false }, 183 "test_policy": { "MetricsReportingEnabled": false },
184 "settings_pages": ["chrome://settings-frame"], 184 "settings_pages": ["chrome://settings-frame"],
185 "os": ["win", "mac", "linux"], 185 "os": ["win", "mac", "linux"],
186 "local_state": true, 186 "local_state": true,
187 "official_only": true 187 "official_only": true
188 }, 188 },
189 189
190 "PasswordManagerEnabled": { 190 "PasswordManagerEnabled": {
191 "pref": "profile.password_manager_enabled", 191 "pref": "profile.password_manager_enabled",
192 "test_policy": { "PasswordManagerEnabled": false }, 192 "test_policy": { "PasswordManagerEnabled": false },
193 "settings_pages": ["chrome://settings-frame"], 193 "settings_pages": ["chrome://settings-frame"],
194 "os": ["win", "linux", "mac", "chromeos"], 194 "os": ["win", "linux", "mac", "chromeos"]
195 }, 195 },
196 196
197 "PasswordManagerAllowShowPasswords": { 197 "PasswordManagerAllowShowPasswords": {
198 "pref": "profile.password_manager_allow_show_passwords", 198 "pref": "profile.password_manager_allow_show_passwords",
199 "test_policy": { "PasswordManagerAllowShowPasswords": false }, 199 "test_policy": { "PasswordManagerAllowShowPasswords": false },
200 "settings_pages": ["chrome://settings-frame"], 200 "settings_pages": ["chrome://settings-frame"],
201 "os": ["win", "linux", "mac", "chromeos"], 201 "os": ["win", "linux", "mac", "chromeos"],
202 202
203 "note": "TODO(joaodasilva): Should be chrome://settings-frame/passwords. htt p://crbug.com/97749", 203 "note": "TODO(joaodasilva): Should be chrome://settings-frame/passwords. htt p://crbug.com/97749"
204 }, 204 },
205 205
206 "AutoFillEnabled": { 206 "AutoFillEnabled": {
207 "pref": "autofill.enabled", 207 "pref": "autofill.enabled",
208 "test_policy": { "AutoFillEnabled": false }, 208 "test_policy": { "AutoFillEnabled": false },
209 "settings_pages": ["chrome://settings-frame"], 209 "settings_pages": ["chrome://settings-frame"],
210 "os": ["win", "linux", "mac", "chromeos"], 210 "os": ["win", "linux", "mac", "chromeos"]
211 }, 211 },
212 212
213 "DisabledPlugins": { 213 "DisabledPlugins": {
214 "pref": "plugins.plugins_disabled", 214 "pref": "plugins.plugins_disabled",
215 "test_policy": { "DisabledPlugins": ["Flash"] }, 215 "test_policy": { "DisabledPlugins": ["Flash"] },
216 "settings_pages": [], 216 "settings_pages": [],
217 "os": ["win", "linux", "mac", "chromeos"], 217 "os": ["win", "linux", "mac", "chromeos"]
218 }, 218 },
219 219
220 "EnabledPlugins": { 220 "EnabledPlugins": {
221 "pref": "plugins.plugins_enabled", 221 "pref": "plugins.plugins_enabled",
222 "test_policy": { "EnabledPlugins": ["Flash"] }, 222 "test_policy": { "EnabledPlugins": ["Flash"] },
223 "settings_pages": [], 223 "settings_pages": [],
224 "os": ["win", "linux", "mac", "chromeos"], 224 "os": ["win", "linux", "mac", "chromeos"]
225 }, 225 },
226 226
227 "DisabledPluginsExceptions": { 227 "DisabledPluginsExceptions": {
228 "pref": "plugins.plugins_disabled_exceptions", 228 "pref": "plugins.plugins_disabled_exceptions",
229 "test_policy": { "DisabledPluginsExceptions": ["Flash"] }, 229 "test_policy": { "DisabledPluginsExceptions": ["Flash"] },
230 "settings_pages": [], 230 "settings_pages": [],
231 "os": ["win", "linux", "mac", "chromeos"], 231 "os": ["win", "linux", "mac", "chromeos"]
232 }, 232 },
233 233
234 "DisablePluginFinder": { 234 "DisablePluginFinder": {
235 "pref": "plugins.disable_plugin_finder", 235 "pref": "plugins.disable_plugin_finder",
236 "test_policy": { "DisablePluginFinder": true }, 236 "test_policy": { "DisablePluginFinder": true },
237 "settings_pages": [], 237 "settings_pages": [],
238 "local_state": true, 238 "local_state": true,
239 "os": ["win", "linux", "mac", "chromeos"], 239 "os": ["win", "linux", "mac", "chromeos"]
240 }, 240 },
241 241
242 "SyncDisabled": { 242 "SyncDisabled": {
243 "pref": "sync.managed", 243 "pref": "sync.managed",
244 "test_policy": { "SyncDisabled": true }, 244 "test_policy": { "SyncDisabled": true },
245 "settings_pages": ["chrome://settings-frame"], 245 "settings_pages": [],
246 "os": ["win", "linux", "mac", "chromeos"], 246 "os": ["win", "linux", "mac", "chromeos"],
247
248 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
247 }, 249 },
248 250
249 "UserDataDir": { 251 "UserDataDir": {
250 "pref": null, 252 "pref": null,
251 "test_policy": { "UserDataDir": "${users}/${user_name}/chrome-test" }, 253 "test_policy": { "UserDataDir": "${users}/${user_name}/chrome-test" },
252 "settings_pages": [], 254 "settings_pages": [],
253 "os": ["win", "mac"], 255 "os": ["win", "mac"]
254 }, 256 },
255 257
256 "DiskCacheDir": { 258 "DiskCacheDir": {
257 "pref": "browser.disk_cache_dir", 259 "pref": "browser.disk_cache_dir",
258 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" }, 260 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" },
259 "settings_pages": [], 261 "settings_pages": [],
260 "os": ["win", "mac", "linux"], 262 "os": ["win", "mac", "linux"]
261 }, 263 },
262 264
263 "DiskCacheSize": { 265 "DiskCacheSize": {
264 "pref": "browser.disk_cache_size", 266 "pref": "browser.disk_cache_size",
265 "test_policy": { "DiskCacheSize": 100 }, 267 "test_policy": { "DiskCacheSize": 100 },
266 "settings_pages": [], 268 "settings_pages": [],
267 "os": ["win", "mac", "linux"], 269 "os": ["win", "mac", "linux"]
268 }, 270 },
269 271
270 "MediaCacheSize": { 272 "MediaCacheSize": {
271 "pref": "browser.media_cache_size", 273 "pref": "browser.media_cache_size",
272 "test_policy": { "MediaCacheSize": 200 }, 274 "test_policy": { "MediaCacheSize": 200 },
273 "settings_pages": [], 275 "settings_pages": [],
274 "os": ["win", "mac", "linux"], 276 "os": ["win", "mac", "linux"]
275 }, 277 },
276 278
277 "DownloadDirectory": { 279 "DownloadDirectory": {
278 "pref": "download.default_directory", 280 "pref": "download.default_directory",
279 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" }, 281 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" },
280 "settings_pages": ["chrome://settings-frame"], 282 "settings_pages": ["chrome://settings-frame"],
281 "os": ["win", "mac", "linux"], 283 "os": ["win", "mac", "linux"]
282 }, 284 },
283 285
284 "ClearSiteDataOnExit": { 286 "ClearSiteDataOnExit": {
285 "pref": "profile.managed_default_content_settings.cookies", 287 "pref": "profile.managed_default_content_settings.cookies",
286 "test_policy": { "ClearSiteDataOnExit": true }, 288 "test_policy": { "ClearSiteDataOnExit": true },
287 "settings_pages": ["chrome://settings-frame/content"], 289 "settings_pages": ["chrome://settings-frame/content"],
288 "os": ["win", "linux", "mac", "chromeos"], 290 "os": ["win", "linux", "mac", "chromeos"]
289 }, 291 },
290 292
291 "ProxyMode": { 293 "ProxyMode": {
292 "pref": "proxy", 294 "pref": "proxy",
293 "test_policy": { "ProxyMode": "direct" }, 295 "test_policy": { "ProxyMode": "direct" },
294 "settings_pages": [], 296 "settings_pages": [],
295 "os": ["win", "mac", "linux"], 297 "os": ["win", "mac", "linux"],
296 298
297 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749", 299 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
298 }, 300 },
299 301
300 "ProxyServerMode": { 302 "ProxyServerMode": {
301 "pref": "proxy", 303 "pref": "proxy",
302 "test_policy": { "ProxyServerMode": 0 }, 304 "test_policy": { "ProxyServerMode": 0 },
303 "settings_pages": [], 305 "settings_pages": [],
304 "os": ["win", "mac", "linux"], 306 "os": ["win", "mac", "linux"],
305 307
306 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749", 308 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
307 }, 309 },
308 310
309 "ProxyServer": { 311 "ProxyServer": {
310 "pref": "proxy", 312 "pref": "proxy",
311 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localh ost:8080" }, 313 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localh ost:8080" },
312 "settings_pages": [], 314 "settings_pages": [],
313 "os": ["win", "mac", "linux"], 315 "os": ["win", "mac", "linux"]
314 }, 316 },
315 317
316 "ProxyPacUrl": { 318 "ProxyPacUrl": {
317 "pref": "proxy", 319 "pref": "proxy",
318 "test_policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost :8080/proxy.pac" }, 320 "test_policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost :8080/proxy.pac" },
319 "settings_pages": [], 321 "settings_pages": [],
320 "os": ["win", "mac", "linux"], 322 "os": ["win", "mac", "linux"]
321 }, 323 },
322 324
323 "ProxyBypassList": { 325 "ProxyBypassList": {
324 "pref": "proxy", 326 "pref": "proxy",
325 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localh ost:8080", "ProxyBypassList": "localhost" }, 327 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localh ost:8080", "ProxyBypassList": "localhost" },
326 "settings_pages": [], 328 "settings_pages": [],
327 "os": ["win", "mac", "linux"], 329 "os": ["win", "mac", "linux"]
328 }, 330 },
329 331
330 "ProxySettings": { 332 "ProxySettings": {
331 "pref": "proxy", 333 "pref": "proxy",
332 "test_policy": { "ProxySettings": { "ProxyMode": "direct" } }, 334 "test_policy": { "ProxySettings": { "ProxyMode": "direct" } },
333 "settings_pages": [], 335 "settings_pages": [],
334 "os": ["linux", "win"], 336 "os": ["linux", "win"]
335 }, 337 },
336 338
337 "EnableOriginBoundCerts": { 339 "EnableOriginBoundCerts": {
338 "pref": "ssl.origin_bound_certs.enabled", 340 "pref": "ssl.origin_bound_certs.enabled",
339 "test_policy": { "EnableOriginBoundCerts": true }, 341 "test_policy": { "EnableOriginBoundCerts": true },
340 "settings_pages": [], 342 "settings_pages": [],
341 "local_state": true, 343 "local_state": true,
342 "os": ["win", "mac", "linux"], 344 "os": ["win", "mac", "linux"]
343 }, 345 },
344 346
345 "DisableSSLRecordSplitting": { 347 "DisableSSLRecordSplitting": {
346 "pref": "ssl.ssl_record_splitting.disabled", 348 "pref": "ssl.ssl_record_splitting.disabled",
347 "test_policy": { "DisableSSLRecordSplitting": true }, 349 "test_policy": { "DisableSSLRecordSplitting": true },
348 "settings_pages": [], 350 "settings_pages": [],
349 "local_state": true, 351 "local_state": true,
350 "os": ["win", "linux", "mac", "chromeos"], 352 "os": ["win", "linux", "mac", "chromeos"]
351 }, 353 },
352 354
353 "EnableOnlineRevocationChecks": { 355 "EnableOnlineRevocationChecks": {
354 "pref": "ssl.rev_checking.enabled", 356 "pref": "ssl.rev_checking.enabled",
355 "test_policy": { "EnableOnlineRevocationChecks": true }, 357 "test_policy": { "EnableOnlineRevocationChecks": true },
356 "settings_pages": [], 358 "settings_pages": [],
357 "local_state": true, 359 "local_state": true,
358 "os": ["win", "linux", "mac", "chromeos"], 360 "os": ["win", "linux", "mac", "chromeos"]
359 }, 361 },
360 362
361 "AuthSchemes": { 363 "AuthSchemes": {
362 "pref": "auth.schemes", 364 "pref": "auth.schemes",
363 "test_policy": { "AuthSchemes": "AuthSchemes" }, 365 "test_policy": { "AuthSchemes": "AuthSchemes" },
364 "settings_pages": [], 366 "settings_pages": [],
365 "local_state": true, 367 "local_state": true,
366 "os": ["win", "linux", "mac", "chromeos"], 368 "os": ["win", "linux", "mac", "chromeos"]
367 }, 369 },
368 370
369 "DisableAuthNegotiateCnameLookup": { 371 "DisableAuthNegotiateCnameLookup": {
370 "pref": "auth.disable_negotiate_cname_lookup", 372 "pref": "auth.disable_negotiate_cname_lookup",
371 "test_policy": { "DisableAuthNegotiateCnameLookup": true }, 373 "test_policy": { "DisableAuthNegotiateCnameLookup": true },
372 "settings_pages": [], 374 "settings_pages": [],
373 "local_state": true, 375 "local_state": true,
374 "os": ["win", "linux", "mac", "chromeos"], 376 "os": ["win", "linux", "mac", "chromeos"]
375 }, 377 },
376 378
377 "EnableAuthNegotiatePort": { 379 "EnableAuthNegotiatePort": {
378 "pref": "auth.enable_negotiate_port", 380 "pref": "auth.enable_negotiate_port",
379 "test_policy": { "EnableAuthNegotiatePort": true }, 381 "test_policy": { "EnableAuthNegotiatePort": true },
380 "settings_pages": [], 382 "settings_pages": [],
381 "local_state": true, 383 "local_state": true,
382 "os": ["win", "linux", "mac", "chromeos"], 384 "os": ["win", "linux", "mac", "chromeos"]
383 }, 385 },
384 386
385 "AuthServerWhitelist": { 387 "AuthServerWhitelist": {
386 "pref": "auth.server_whitelist", 388 "pref": "auth.server_whitelist",
387 "test_policy": { "AuthServerWhitelist": "localhost" }, 389 "test_policy": { "AuthServerWhitelist": "localhost" },
388 "settings_pages": [], 390 "settings_pages": [],
389 "local_state": true, 391 "local_state": true,
390 "os": ["win", "linux", "mac", "chromeos"], 392 "os": ["win", "linux", "mac", "chromeos"]
391 }, 393 },
392 394
393 "AuthNegotiateDelegateWhitelist": { 395 "AuthNegotiateDelegateWhitelist": {
394 "pref": "auth.negotiate_delegate_whitelist", 396 "pref": "auth.negotiate_delegate_whitelist",
395 "test_policy": { "AuthNegotiateDelegateWhitelist": "localhost" }, 397 "test_policy": { "AuthNegotiateDelegateWhitelist": "localhost" },
396 "settings_pages": [], 398 "settings_pages": [],
397 "local_state": true, 399 "local_state": true,
398 "os": ["win", "linux", "mac", "chromeos"], 400 "os": ["win", "linux", "mac", "chromeos"]
399 }, 401 },
400 402
401 "GSSAPILibraryName": { 403 "GSSAPILibraryName": {
402 "pref": "auth.gssapi_library_name", 404 "pref": "auth.gssapi_library_name",
403 "test_policy": { "GSSAPILibraryName": "libwhatever.so" }, 405 "test_policy": { "GSSAPILibraryName": "libwhatever.so" },
404 "settings_pages": [], 406 "settings_pages": [],
405 "local_state": true, 407 "local_state": true,
406 "os": ["mac", "linux"], 408 "os": ["mac", "linux"]
407 }, 409 },
408 410
409 "AllowCrossOriginAuthPrompt": { 411 "AllowCrossOriginAuthPrompt": {
410 "pref": "auth.allow_cross_origin_prompt", 412 "pref": "auth.allow_cross_origin_prompt",
411 "test_policy": { "AllowCrossOriginAuthPrompt": true }, 413 "test_policy": { "AllowCrossOriginAuthPrompt": true },
412 "settings_pages": [], 414 "settings_pages": [],
413 "local_state": true, 415 "local_state": true,
414 "os": ["win", "mac", "linux"], 416 "os": ["win", "mac", "linux"]
415 }, 417 },
416 418
417 "ExtensionInstallBlacklist": { 419 "ExtensionInstallBlacklist": {
418 "pref": "extensions.install.denylist", 420 "pref": "extensions.install.denylist",
419 "test_policy": { "ExtensionInstallBlacklist": ["*"] }, 421 "test_policy": { "ExtensionInstallBlacklist": ["*"] },
420 "settings_pages": [], 422 "settings_pages": [],
421 "os": ["win", "linux", "mac", "chromeos"], 423 "os": ["win", "linux", "mac", "chromeos"]
422 }, 424 },
423 425
424 "ExtensionInstallWhitelist": { 426 "ExtensionInstallWhitelist": {
425 "pref": "extensions.install.allowlist", 427 "pref": "extensions.install.allowlist",
426 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoeg djlp"] }, 428 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoeg djlp"] },
427 "settings_pages": [], 429 "settings_pages": [],
428 "os": ["win", "linux", "mac", "chromeos"], 430 "os": ["win", "linux", "mac", "chromeos"]
429 }, 431 },
430 432
431 "ExtensionInstallForcelist": { 433 "ExtensionInstallForcelist": {
432 "pref": "extensions.install.forcelist", 434 "pref": "extensions.install.forcelist",
433 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoeg djlp;https://clients2.google.com/service/update2/crx"] }, 435 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoeg djlp;https://clients2.google.com/service/update2/crx"] },
434 "settings_pages": [], 436 "settings_pages": [],
435 "os": ["win", "linux", "mac", "chromeos"], 437 "os": ["win", "linux", "mac", "chromeos"]
436 }, 438 },
437 439
438 "ExtensionInstallSources": { 440 "ExtensionInstallSources": {
439 "pref": "extensions.allowed_install_sites", 441 "pref": "extensions.allowed_install_sites",
440 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*" ] }, 442 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*" ] },
441 "settings_pages": [], 443 "settings_pages": [],
442 "os": ["win", "linux", "mac", "chromeos"], 444 "os": ["win", "linux", "mac", "chromeos"]
443 }, 445 },
444 446
445 "ShowHomeButton": { 447 "ShowHomeButton": {
446 "pref": "browser.show_home_button", 448 "pref": "browser.show_home_button",
447 "test_policy": { "ShowHomeButton": true }, 449 "test_policy": { "ShowHomeButton": true },
448 "settings_pages": ["chrome://settings-frame"], 450 "settings_pages": ["chrome://settings-frame"],
449 "os": ["win", "linux", "mac", "chromeos"], 451 "os": ["win", "linux", "mac", "chromeos"]
450 }, 452 },
451 453
452 "DeveloperToolsDisabled": { 454 "DeveloperToolsDisabled": {
453 "pref": "devtools.disabled", 455 "pref": "devtools.disabled",
454 "test_policy": { "DeveloperToolsDisabled": true }, 456 "test_policy": { "DeveloperToolsDisabled": true },
455 "settings_pages": [], 457 "settings_pages": [],
456 "os": ["win", "linux", "mac", "chromeos"], 458 "os": ["win", "linux", "mac", "chromeos"]
457 }, 459 },
458 460
459 "RestoreOnStartup": { 461 "RestoreOnStartup": {
460 "pref": "session.restore_on_startup", 462 "pref": "session.restore_on_startup",
461 "test_policy": { "RestoreOnStartup": 4 }, 463 "test_policy": { "RestoreOnStartup": 4 },
462 "settings_pages": ["chrome://settings-frame"], 464 "settings_pages": ["chrome://settings-frame"],
463 "os": ["win", "linux", "mac", "chromeos"], 465 "os": ["win", "linux", "mac", "chromeos"]
464 }, 466 },
465 467
466 "RestoreOnStartupURLs": { 468 "RestoreOnStartupURLs": {
467 "pref": "session.urls_to_restore_on_startup", 469 "pref": "session.urls_to_restore_on_startup",
468 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] }, 470 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] },
469 "settings_pages": [], 471 "settings_pages": [],
470 "os": ["win", "linux", "mac", "chromeos"], 472 "os": ["win", "linux", "mac", "chromeos"],
471 473
472 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749", 474 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
473 }, 475 },
474 476
475 "BlockThirdPartyCookies": { 477 "BlockThirdPartyCookies": {
476 "pref": "profile.block_third_party_cookies", 478 "pref": "profile.block_third_party_cookies",
477 "test_policy": { "BlockThirdPartyCookies": true }, 479 "test_policy": { "BlockThirdPartyCookies": true },
478 "settings_pages": ["chrome://settings-frame/content"], 480 "settings_pages": ["chrome://settings-frame/content"],
479 "os": ["win", "linux", "mac", "chromeos"], 481 "os": ["win", "linux", "mac", "chromeos"],
480 482
481 "note": "TODO(joaodasilva): The banner is out of place. http://crbug.com/777 91", 483 "note": "TODO(joaodasilva): The banner is out of place. http://crbug.com/777 91"
482 }, 484 },
483 485
484 "DefaultSearchProviderEnabled": { 486 "DefaultSearchProviderEnabled": {
485 "pref": "default_search_provider.enabled", 487 "pref": "default_search_provider.enabled",
486 "test_policy": { "DefaultSearchProviderEnabled": false }, 488 "test_policy": { "DefaultSearchProviderEnabled": false },
487 "settings_pages": [], 489 "settings_pages": [],
488 "os": ["win", "linux", "mac", "chromeos"], 490 "os": ["win", "linux", "mac", "chromeos"],
489 491
490 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749", 492 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
491 }, 493 },
492 494
493 "DefaultSearchProviderName": { 495 "DefaultSearchProviderName": {
494 "pref": "default_search_provider.name", 496 "pref": "default_search_provider.name",
495 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderName": "google.com" }, 497 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderName": "google.com" },
496 "settings_pages": [], 498 "settings_pages": [],
497 "os": ["win", "linux", "mac", "chromeos"], 499 "os": ["win", "linux", "mac", "chromeos"]
498 }, 500 },
499 501
500 "DefaultSearchProviderKeyword": { 502 "DefaultSearchProviderKeyword": {
501 "pref": "default_search_provider.keyword", 503 "pref": "default_search_provider.keyword",
502 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderKeyword": "google" }, 504 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderKeyword": "google" },
503 "settings_pages": [], 505 "settings_pages": [],
504 "os": ["win", "linux", "mac", "chromeos"], 506 "os": ["win", "linux", "mac", "chromeos"]
505 }, 507 },
506 508
507 "DefaultSearchProviderSearchURL": { 509 "DefaultSearchProviderSearchURL": {
508 "pref": "default_search_provider.search_url", 510 "pref": "default_search_provider.search_url",
509 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}" }, 511 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}" },
510 "settings_pages": [], 512 "settings_pages": [],
511 "os": ["win", "linux", "mac", "chromeos"], 513 "os": ["win", "linux", "mac", "chromeos"],
512 514
513 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749", 515 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
514 }, 516 },
515 517
516 "DefaultSearchProviderSuggestURL": { 518 "DefaultSearchProviderSuggestURL": {
517 "pref": "default_search_provider.suggest_url", 519 "pref": "default_search_provider.suggest_url",
518 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderSuggestURL": "http://www.google.com/sugge st?q={searchTerms}" }, 520 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderSuggestURL": "http://www.google.com/sugge st?q={searchTerms}" },
519 "settings_pages": [], 521 "settings_pages": [],
520 "os": ["win", "linux", "mac", "chromeos"], 522 "os": ["win", "linux", "mac", "chromeos"]
521 }, 523 },
522 524
523 "DefaultSearchProviderInstantURL": { 525 "DefaultSearchProviderInstantURL": {
524 "pref": "default_search_provider.instant_url", 526 "pref": "default_search_provider.instant_url",
525 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderInstantURL": "http://www.google.com/insta nt?q={searchTerms}" }, 527 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderInstantURL": "http://www.google.com/insta nt?q={searchTerms}" },
526 "settings_pages": [], 528 "settings_pages": [],
527 "os": ["win", "linux", "mac", "chromeos"], 529 "os": ["win", "linux", "mac", "chromeos"]
528 }, 530 },
529 531
530 "DefaultSearchProviderIconURL": { 532 "DefaultSearchProviderIconURL": {
531 "pref": "default_search_provider.icon_url", 533 "pref": "default_search_provider.icon_url",
532 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderIconURL": "http://www.google.com/favicon. ico" }, 534 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderIconURL": "http://www.google.com/favicon. ico" },
533 "settings_pages": [], 535 "settings_pages": [],
534 "os": ["win", "linux", "mac", "chromeos"], 536 "os": ["win", "linux", "mac", "chromeos"]
535 }, 537 },
536 538
537 "DefaultSearchProviderEncodings": { 539 "DefaultSearchProviderEncodings": {
538 "pref": "default_search_provider.encodings", 540 "pref": "default_search_provider.encodings",
539 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] }, 541 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] },
540 "settings_pages": [], 542 "settings_pages": [],
541 "os": ["win", "linux", "mac", "chromeos"], 543 "os": ["win", "linux", "mac", "chromeos"]
542 }, 544 },
543 545
544 "DefaultCookiesSetting": { 546 "DefaultCookiesSetting": {
545 "pref": "profile.managed_default_content_settings.cookies", 547 "pref": "profile.managed_default_content_settings.cookies",
546 "test_policy": { "DefaultCookiesSetting": 2 }, 548 "test_policy": { "DefaultCookiesSetting": 2 },
547 "settings_pages": ["chrome://settings-frame/content"], 549 "settings_pages": ["chrome://settings-frame/content"],
548 "os": ["win", "linux", "mac", "chromeos"], 550 "os": ["win", "linux", "mac", "chromeos"]
549 }, 551 },
550 552
551 "DefaultImagesSetting": { 553 "DefaultImagesSetting": {
552 "pref": "profile.managed_default_content_settings.images", 554 "pref": "profile.managed_default_content_settings.images",
553 "test_policy": { "DefaultImagesSetting": 2 }, 555 "test_policy": { "DefaultImagesSetting": 2 },
554 "settings_pages": ["chrome://settings-frame/content"], 556 "settings_pages": ["chrome://settings-frame/content"],
555 "os": ["win", "linux", "mac", "chromeos"], 557 "os": ["win", "linux", "mac", "chromeos"]
556 }, 558 },
557 559
558 "DefaultJavaScriptSetting": { 560 "DefaultJavaScriptSetting": {
559 "pref": "profile.managed_default_content_settings.javascript", 561 "pref": "profile.managed_default_content_settings.javascript",
560 "test_policy": { "DefaultJavaScriptSetting": 2 }, 562 "test_policy": { "DefaultJavaScriptSetting": 2 },
561 "settings_pages": ["chrome://settings-frame/content"], 563 "settings_pages": ["chrome://settings-frame/content"],
562 "os": ["win", "linux", "mac", "chromeos"], 564 "os": ["win", "linux", "mac", "chromeos"]
563 }, 565 },
564 566
565 "DefaultPluginsSetting": { 567 "DefaultPluginsSetting": {
566 "pref": "profile.managed_default_content_settings.plugins", 568 "pref": "profile.managed_default_content_settings.plugins",
567 "test_policy": { "DefaultPluginsSetting": 2 }, 569 "test_policy": { "DefaultPluginsSetting": 2 },
568 "settings_pages": ["chrome://settings-frame/content"], 570 "settings_pages": ["chrome://settings-frame/content"],
569 "os": ["win", "linux", "mac", "chromeos"], 571 "os": ["win", "linux", "mac", "chromeos"]
570 }, 572 },
571 573
572 "DefaultPopupsSetting": { 574 "DefaultPopupsSetting": {
573 "pref": "profile.managed_default_content_settings.popups", 575 "pref": "profile.managed_default_content_settings.popups",
574 "test_policy": { "DefaultPopupsSetting": 2 }, 576 "test_policy": { "DefaultPopupsSetting": 2 },
575 "settings_pages": ["chrome://settings-frame/content"], 577 "settings_pages": ["chrome://settings-frame/content"],
576 "os": ["win", "linux", "mac", "chromeos"], 578 "os": ["win", "linux", "mac", "chromeos"]
577 }, 579 },
578 580
579 "DefaultNotificationsSetting": { 581 "DefaultNotificationsSetting": {
580 "pref": "profile.managed_default_content_settings.notifications", 582 "pref": "profile.managed_default_content_settings.notifications",
581 "test_policy": { "DefaultNotificationsSetting": 2 }, 583 "test_policy": { "DefaultNotificationsSetting": 2 },
582 "settings_pages": ["chrome://settings-frame/content"], 584 "settings_pages": ["chrome://settings-frame/content"],
583 "os": ["win", "linux", "mac", "chromeos"], 585 "os": ["win", "linux", "mac", "chromeos"]
584 }, 586 },
585 587
586 "DefaultGeolocationSetting": { 588 "DefaultGeolocationSetting": {
587 "pref": "profile.managed_default_content_settings.geolocation", 589 "pref": "profile.managed_default_content_settings.geolocation",
588 "test_policy": { "DefaultGeolocationSetting": 2 }, 590 "test_policy": { "DefaultGeolocationSetting": 2 },
589 "settings_pages": ["chrome://settings-frame/content"], 591 "settings_pages": ["chrome://settings-frame/content"],
590 "os": ["win", "linux", "mac", "chromeos"], 592 "os": ["win", "linux", "mac", "chromeos"]
591 }, 593 },
592 594
593 "DefaultMediaStreamSetting": { 595 "DefaultMediaStreamSetting": {
594 "pref": "profile.managed_default_content_settings.media_stream", 596 "pref": "profile.managed_default_content_settings.media_stream",
595 "test_policy": { "DefaultMediaStreamSetting": 2 }, 597 "test_policy": { "DefaultMediaStreamSetting": 2 },
596 "settings_pages": ["chrome://settings-frame/content"], 598 "settings_pages": ["chrome://settings-frame/content"],
597 "os": ["win", "linux", "mac", "chromeos"], 599 "os": ["win", "linux", "mac", "chromeos"]
598 }, 600 },
599 601
600 "AutoSelectCertificateForUrls": { 602 "AutoSelectCertificateForUrls": {
601 "pref": "profile.managed_auto_select_certificate_for_urls", 603 "pref": "profile.managed_auto_select_certificate_for_urls",
602 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://examp le.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] }, 604 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://examp le.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] },
603 "settings_pages": [], 605 "settings_pages": [],
604 "os": ["win", "linux", "mac", "chromeos"], 606 "os": ["win", "linux", "mac", "chromeos"]
605 }, 607 },
606 608
607 "CookiesAllowedForUrls": { 609 "CookiesAllowedForUrls": {
608 "pref": "profile.managed_cookies_allowed_for_urls", 610 "pref": "profile.managed_cookies_allowed_for_urls",
609 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] }, 611 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] },
610 "settings_pages": [], 612 "settings_pages": [],
611 "os": ["win", "linux", "mac", "chromeos"], 613 "os": ["win", "linux", "mac", "chromeos"]
612 }, 614 },
613 615
614 "CookiesBlockedForUrls": { 616 "CookiesBlockedForUrls": {
615 "pref": "profile.managed_cookies_blocked_for_urls", 617 "pref": "profile.managed_cookies_blocked_for_urls",
616 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] }, 618 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] },
617 "settings_pages": [], 619 "settings_pages": [],
618 "os": ["win", "linux", "mac", "chromeos"], 620 "os": ["win", "linux", "mac", "chromeos"]
619 }, 621 },
620 622
621 "CookiesSessionOnlyForUrls": { 623 "CookiesSessionOnlyForUrls": {
622 "pref": "profile.managed_cookies_sessiononly_for_urls", 624 "pref": "profile.managed_cookies_sessiononly_for_urls",
623 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] }, 625 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] },
624 "settings_pages": [], 626 "settings_pages": [],
625 "os": ["win", "linux", "mac", "chromeos"], 627 "os": ["win", "linux", "mac", "chromeos"]
626 }, 628 },
627 629
628 "ImagesAllowedForUrls": { 630 "ImagesAllowedForUrls": {
629 "pref": "profile.managed_images_allowed_for_urls", 631 "pref": "profile.managed_images_allowed_for_urls",
630 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] }, 632 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] },
631 "settings_pages": [], 633 "settings_pages": [],
632 "os": ["win", "linux", "mac", "chromeos"], 634 "os": ["win", "linux", "mac", "chromeos"]
633 }, 635 },
634 636
635 "ImagesBlockedForUrls": { 637 "ImagesBlockedForUrls": {
636 "pref": "profile.managed_images_blocked_for_urls", 638 "pref": "profile.managed_images_blocked_for_urls",
637 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] }, 639 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] },
638 "settings_pages": [], 640 "settings_pages": [],
639 "os": ["win", "linux", "mac", "chromeos"], 641 "os": ["win", "linux", "mac", "chromeos"]
640 }, 642 },
641 643
642 "JavaScriptAllowedForUrls": { 644 "JavaScriptAllowedForUrls": {
643 "pref": "profile.managed_javascript_allowed_for_urls", 645 "pref": "profile.managed_javascript_allowed_for_urls",
644 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] }, 646 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] },
645 "settings_pages": [], 647 "settings_pages": [],
646 "os": ["win", "linux", "mac", "chromeos"], 648 "os": ["win", "linux", "mac", "chromeos"]
647 }, 649 },
648 650
649 "JavaScriptBlockedForUrls": { 651 "JavaScriptBlockedForUrls": {
650 "pref": "profile.managed_javascript_blocked_for_urls", 652 "pref": "profile.managed_javascript_blocked_for_urls",
651 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] }, 653 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] },
652 "settings_pages": [], 654 "settings_pages": [],
653 "os": ["win", "linux", "mac", "chromeos"], 655 "os": ["win", "linux", "mac", "chromeos"]
654 }, 656 },
655 657
656 "PluginsAllowedForUrls": { 658 "PluginsAllowedForUrls": {
657 "pref": "profile.managed_plugins_allowed_for_urls", 659 "pref": "profile.managed_plugins_allowed_for_urls",
658 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] }, 660 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
659 "settings_pages": [], 661 "settings_pages": [],
660 "os": ["win", "linux", "mac", "chromeos"], 662 "os": ["win", "linux", "mac", "chromeos"]
661 }, 663 },
662 664
663 "PluginsBlockedForUrls": { 665 "PluginsBlockedForUrls": {
664 "pref": "profile.managed_plugins_blocked_for_urls", 666 "pref": "profile.managed_plugins_blocked_for_urls",
665 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] }, 667 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] },
666 "settings_pages": [], 668 "settings_pages": [],
667 "os": ["win", "linux", "mac", "chromeos"], 669 "os": ["win", "linux", "mac", "chromeos"]
668 }, 670 },
669 671
670 "PopupsAllowedForUrls": { 672 "PopupsAllowedForUrls": {
671 "pref": "profile.managed_popups_allowed_for_urls", 673 "pref": "profile.managed_popups_allowed_for_urls",
672 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] }, 674 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] },
673 "settings_pages": [], 675 "settings_pages": [],
674 "os": ["win", "linux", "mac", "chromeos"], 676 "os": ["win", "linux", "mac", "chromeos"]
675 }, 677 },
676 678
677 "PopupsBlockedForUrls": { 679 "PopupsBlockedForUrls": {
678 "pref": "profile.managed_popups_blocked_for_urls", 680 "pref": "profile.managed_popups_blocked_for_urls",
679 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] }, 681 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] },
680 "settings_pages": [], 682 "settings_pages": [],
681 "os": ["win", "linux", "mac", "chromeos"], 683 "os": ["win", "linux", "mac", "chromeos"]
682 }, 684 },
683 685
684 "NotificationsAllowedForUrls": { 686 "NotificationsAllowedForUrls": {
685 "pref": "profile.managed_notifications_allowed_for_urls", 687 "pref": "profile.managed_notifications_allowed_for_urls",
686 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] }, 688 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] },
687 "settings_pages": [], 689 "settings_pages": [],
688 "os": ["win", "linux", "mac", "chromeos"], 690 "os": ["win", "linux", "mac", "chromeos"]
689 }, 691 },
690 692
691 "NotificationsBlockedForUrls": { 693 "NotificationsBlockedForUrls": {
692 "pref": "profile.managed_notifications_blocked_for_urls", 694 "pref": "profile.managed_notifications_blocked_for_urls",
693 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] }, 695 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] },
694 "settings_pages": [], 696 "settings_pages": [],
695 "os": ["win", "linux", "mac", "chromeos"], 697 "os": ["win", "linux", "mac", "chromeos"]
696 }, 698 },
697 699
698 "Disable3DAPIs": { 700 "Disable3DAPIs": {
699 "pref": "disable_3d_apis", 701 "pref": "disable_3d_apis",
700 "test_policy": { "Disable3DAPIs": true }, 702 "test_policy": { "Disable3DAPIs": true },
701 "settings_pages": [], 703 "settings_pages": [],
702 "os": ["win", "linux", "mac", "chromeos"], 704 "os": ["win", "linux", "mac", "chromeos"]
703 }, 705 },
704 706
705 "InstantEnabled": { 707 "InstantEnabled": {
706 "pref": "instant.enabled", 708 "pref": "instant.enabled",
707 "test_policy": { "InstantEnabled": true }, 709 "test_policy": { "InstantEnabled": true },
708 "settings_pages": ["chrome://settings-frame"], 710 "settings_pages": ["chrome://settings-frame"],
709 "os": ["win", "linux", "mac", "chromeos"], 711 "os": ["win", "linux", "mac", "chromeos"]
710 }, 712 },
711 713
712 "TranslateEnabled": { 714 "TranslateEnabled": {
713 "pref": "translate.enabled", 715 "pref": "translate.enabled",
714 "test_policy": { "TranslateEnabled": false }, 716 "test_policy": { "TranslateEnabled": false },
715 "settings_pages": ["chrome://settings-frame"], 717 "settings_pages": ["chrome://settings-frame"],
716 "os": ["win", "linux", "mac", "chromeos"], 718 "os": ["win", "linux", "mac", "chromeos"]
717 }, 719 },
718 720
719 "AllowOutdatedPlugins": { 721 "AllowOutdatedPlugins": {
720 "pref": "plugins.allow_outdated", 722 "pref": "plugins.allow_outdated",
721 "test_policy": { "AllowOutdatedPlugins": true }, 723 "test_policy": { "AllowOutdatedPlugins": true },
722 "settings_pages": [], 724 "settings_pages": [],
723 "os": ["win", "linux", "mac", "chromeos"], 725 "os": ["win", "linux", "mac", "chromeos"]
724 }, 726 },
725 727
726 "AlwaysAuthorizePlugins": { 728 "AlwaysAuthorizePlugins": {
727 "pref": "plugins.always_authorize", 729 "pref": "plugins.always_authorize",
728 "test_policy": { "AlwaysAuthorizePlugins": true }, 730 "test_policy": { "AlwaysAuthorizePlugins": true },
729 "settings_pages": [], 731 "settings_pages": [],
730 "os": ["win", "linux", "mac", "chromeos"], 732 "os": ["win", "linux", "mac", "chromeos"]
731 }, 733 },
732 734
733 "BookmarkBarEnabled": { 735 "BookmarkBarEnabled": {
734 "pref": "bookmark_bar.show_on_all_tabs", 736 "pref": "bookmark_bar.show_on_all_tabs",
735 "test_policy": { "BookmarkBarEnabled": true }, 737 "test_policy": { "BookmarkBarEnabled": true },
736 "settings_pages": ["chrome://settings-frame"], 738 "settings_pages": ["chrome://settings-frame"],
737 "os": ["win", "linux", "mac", "chromeos"], 739 "os": ["win", "linux", "mac", "chromeos"]
738 }, 740 },
739 741
740 "EditBookmarksEnabled": { 742 "EditBookmarksEnabled": {
741 "pref": "bookmarks.editing_enabled", 743 "pref": "bookmarks.editing_enabled",
742 "test_policy": { "EditBookmarksEnabled": false }, 744 "test_policy": { "EditBookmarksEnabled": false },
743 "settings_pages": [], 745 "settings_pages": [],
744 "os": ["win", "linux", "mac", "chromeos"], 746 "os": ["win", "linux", "mac", "chromeos"]
745 }, 747 },
746 748
747 "AllowFileSelectionDialogs": { 749 "AllowFileSelectionDialogs": {
748 "pref": "select_file_dialogs.allowed", 750 "pref": "select_file_dialogs.allowed",
749 "test_policy": { "AllowFileSelectionDialogs": false }, 751 "test_policy": { "AllowFileSelectionDialogs": false },
750 "settings_pages": ["chrome://settings-frame"], 752 "settings_pages": ["chrome://settings-frame"],
751 "local_state": true, 753 "local_state": true,
752 "os": ["win", "mac", "linux"], 754 "os": ["win", "mac", "linux"]
753 }, 755 },
754 756
755 "ImportBookmarks": { 757 "ImportBookmarks": {
756 "pref": "import_bookmarks", 758 "pref": "import_bookmarks",
757 "test_policy": { "ImportBookmarks": false }, 759 "test_policy": { "ImportBookmarks": false },
758 "settings_pages": [], 760 "settings_pages": [],
759 "os": ["win", "mac", "linux"], 761 "os": ["win", "mac", "linux"]
760 }, 762 },
761 763
762 "ImportHistory": { 764 "ImportHistory": {
763 "pref": "import_history", 765 "pref": "import_history",
764 "test_policy": { "ImportHistory": false }, 766 "test_policy": { "ImportHistory": false },
765 "settings_pages": [], 767 "settings_pages": [],
766 "os": ["win", "mac", "linux"], 768 "os": ["win", "mac", "linux"]
767 }, 769 },
768 770
769 "ImportHomepage": { 771 "ImportHomepage": {
770 "pref": "import_home_page", 772 "pref": "import_home_page",
771 "test_policy": { "ImportHomepage": false }, 773 "test_policy": { "ImportHomepage": false },
772 "settings_pages": [], 774 "settings_pages": [],
773 "os": ["win", "mac", "linux"], 775 "os": ["win", "mac", "linux"]
774 }, 776 },
775 777
776 "ImportSearchEngine": { 778 "ImportSearchEngine": {
777 "pref": "import_search_engine", 779 "pref": "import_search_engine",
778 "test_policy": { "ImportSearchEngine": false }, 780 "test_policy": { "ImportSearchEngine": false },
779 "settings_pages": [], 781 "settings_pages": [],
780 "os": ["win", "mac", "linux"], 782 "os": ["win", "mac", "linux"]
781 }, 783 },
782 784
783 "ImportSavedPasswords": { 785 "ImportSavedPasswords": {
784 "pref": "import_saved_passwords", 786 "pref": "import_saved_passwords",
785 "test_policy": { "ImportSavedPasswords": false }, 787 "test_policy": { "ImportSavedPasswords": false },
786 "settings_pages": [], 788 "settings_pages": [],
787 "os": ["win", "mac", "linux"], 789 "os": ["win", "mac", "linux"]
788 }, 790 },
789 791
790 "MaxConnectionsPerProxy": { 792 "MaxConnectionsPerProxy": {
791 "pref": "net.max_connections_per_proxy", 793 "pref": "net.max_connections_per_proxy",
792 "test_policy": { "MaxConnectionsPerProxy": 16 }, 794 "test_policy": { "MaxConnectionsPerProxy": 16 },
793 "settings_pages": [], 795 "settings_pages": [],
794 "local_state": true, 796 "local_state": true,
795 "os": ["win", "linux", "mac", "chromeos"], 797 "os": ["win", "linux", "mac", "chromeos"]
796 }, 798 },
797 799
798 "HideWebStorePromo": { 800 "HideWebStorePromo": {
799 "pref": null, 801 "pref": null,
800 "test_policy": { "HideWebStorePromo": null }, 802 "test_policy": { "HideWebStorePromo": null },
801 "settings_pages": [], 803 "settings_pages": [],
802 "os": [], 804 "os": []
803 }, 805 },
804 806
805 "URLBlacklist": { 807 "URLBlacklist": {
806 "pref": "policy.url_blacklist", 808 "pref": "policy.url_blacklist",
807 "test_policy": { "URLBlacklist": ["google.com"] }, 809 "test_policy": { "URLBlacklist": ["google.com"] },
808 "settings_pages": [], 810 "settings_pages": [],
809 "os": ["win", "linux", "mac", "chromeos"], 811 "os": ["win", "linux", "mac", "chromeos"]
810 }, 812 },
811 813
812 "URLWhitelist": { 814 "URLWhitelist": {
813 "pref": "policy.url_whitelist", 815 "pref": "policy.url_whitelist",
814 "test_policy": { "URLWhitelist": ["google.com"] }, 816 "test_policy": { "URLWhitelist": ["google.com"] },
815 "settings_pages": [], 817 "settings_pages": [],
816 "os": ["win", "linux", "mac", "chromeos"], 818 "os": ["win", "linux", "mac", "chromeos"]
817 }, 819 },
818 820
819 "EnterpriseWebStoreURL": { 821 "EnterpriseWebStoreURL": {
820 "pref": "webstore.enterprise_store_url", 822 "pref": "webstore.enterprise_store_url",
821 "test_policy": { "EnterpriseWebStoreURL": "http://example.com/webstore" }, 823 "test_policy": { "EnterpriseWebStoreURL": "http://example.com/webstore" },
822 "settings_pages": [], 824 "settings_pages": [],
823 "os": ["win", "linux", "mac", "chromeos"], 825 "os": ["win", "linux", "mac", "chromeos"]
824 }, 826 },
825 827
826 "EnterpriseWebStoreName": { 828 "EnterpriseWebStoreName": {
827 "pref": "webstore.enterprise_store_name", 829 "pref": "webstore.enterprise_store_name",
828 "test_policy": { "EnterpriseWebStoreName": "Example Webstore" }, 830 "test_policy": { "EnterpriseWebStoreName": "Example Webstore" },
829 "settings_pages": [], 831 "settings_pages": [],
830 "os": ["win", "linux", "mac", "chromeos"], 832 "os": ["win", "linux", "mac", "chromeos"]
831 }, 833 },
832 834
833 "EnableMemoryInfo": { 835 "EnableMemoryInfo": {
834 "pref": "enable_memory_info", 836 "pref": "enable_memory_info",
835 "test_policy": { "EnableMemoryInfo": true }, 837 "test_policy": { "EnableMemoryInfo": true },
836 "settings_pages": [], 838 "settings_pages": [],
837 "os": ["win", "linux", "mac", "chromeos"], 839 "os": ["win", "linux", "mac", "chromeos"]
838 }, 840 },
839 841
840 "DisablePrintPreview": { 842 "DisablePrintPreview": {
841 "pref": "printing.print_preview_disabled", 843 "pref": "printing.print_preview_disabled",
842 "test_policy": { "DisablePrintPreview": false }, 844 "test_policy": { "DisablePrintPreview": false },
843 "settings_pages": [], 845 "settings_pages": [],
844 "os": ["win", "mac", "linux"], 846 "os": ["win", "mac", "linux"]
845 }, 847 },
846 848
847 "BackgroundModeEnabled": { 849 "BackgroundModeEnabled": {
848 "pref": "background_mode.enabled", 850 "pref": "background_mode.enabled",
849 "test_policy": { "BackgroundModeEnabled": false }, 851 "test_policy": { "BackgroundModeEnabled": false },
850 "settings_pages": ["chrome://settings-frame"], 852 "settings_pages": ["chrome://settings-frame"],
851 "local_state": true, 853 "local_state": true,
852 "os": ["win", "linux"], 854 "os": ["win", "linux"]
853 }, 855 },
854 856
855 "RestrictSigninToPattern": { 857 "RestrictSigninToPattern": {
856 "pref": "google.services.username_pattern", 858 "pref": "google.services.username_pattern",
857 "test_policy": { "RestrictSigninToPattern": ".*@google.com" }, 859 "test_policy": { "RestrictSigninToPattern": ".*@google.com" },
858 "settings_pages": [], 860 "settings_pages": [],
859 "local_state": true, 861 "local_state": true,
860 "os": ["win", "mac", "linux"], 862 "os": ["win", "mac", "linux"]
861 }, 863 },
862 864
863 "DisableSafeBrowsingProceedAnyway": { 865 "DisableSafeBrowsingProceedAnyway": {
864 "pref": "safebrowsing.proceed_anyway_disabled", 866 "pref": "safebrowsing.proceed_anyway_disabled",
865 "test_policy": { "DisableSafeBrowsingProceedAnyway": true }, 867 "test_policy": { "DisableSafeBrowsingProceedAnyway": true },
866 "settings_pages": [], 868 "settings_pages": [],
867 "os": ["win", "linux", "mac", "chromeos"], 869 "os": ["win", "linux", "mac", "chromeos"]
868 }, 870 },
869 871
870 "SpellCheckServiceEnabled": { 872 "SpellCheckServiceEnabled": {
871 "pref": "spellcheck.use_spelling_service", 873 "pref": "spellcheck.use_spelling_service",
872 "test_policy": { "SpellCheckServiceEnabled": false }, 874 "test_policy": { "SpellCheckServiceEnabled": false },
873 "settings_pages": ["chrome://settings-frame"], 875 "settings_pages": ["chrome://settings-frame"],
874 "os": ["win", "linux", "mac", "chromeos"], 876 "os": ["win", "linux", "mac", "chromeos"],
875 "official_only": true 877 "official_only": true
876 }, 878 },
877 879
878 "DisableScreenshots": { 880 "DisableScreenshots": {
879 "pref": "disable_screenshots", 881 "pref": "disable_screenshots",
880 "test_policy": { "DisableScreenshots": true }, 882 "test_policy": { "DisableScreenshots": true },
881 "settings_pages": [], 883 "settings_pages": [],
882 "os": ["win", "linux", "mac", "chromeos"], 884 "os": ["win", "linux", "mac", "chromeos"]
883 }, 885 },
884 886
885 "----- Chrome OS policies ------------------------------------------------": { 887 "----- Chrome OS policies ------------------------------------------------": {
886 "note": "TODO(frankf): Add prefs for these after crosbug.com/28756 is fixed. ", 888 "note": "TODO(frankf): Add prefs for these after crosbug.com/28756 is fixed. ",
887 "note 2:": "TODO(joaodasilva): that bug is now obsolete and these tests can be expanded to chromeos.", 889 "note 2:": "TODO(joaodasilva): that bug is now obsolete and these tests can be expanded to chromeos."
888 }, 890 },
889 891
890 "ChromeOsLockOnIdleSuspend": { 892 "ChromeOsLockOnIdleSuspend": {
891 "pref": null, 893 "pref": null,
892 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, 894 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
893 "settings_pages": ["chrome://settings-frame"], 895 "settings_pages": ["chrome://settings-frame"],
894 "os": ["chromeos"], 896 "os": ["chromeos"]
895 }, 897 },
896 898
897 "PolicyRefreshRate": { 899 "PolicyRefreshRate": {
898 "pref": null, 900 "pref": null,
899 "test_policy": { "PolicyRefreshRate": 300000 }, 901 "test_policy": { "PolicyRefreshRate": 300000 },
900 "settings_pages": [], 902 "settings_pages": [],
901 "os": ["chromeos"], 903 "os": ["chromeos"]
902 }, 904 },
903 905
904 "OpenNetworkConfiguration": { 906 "OpenNetworkConfiguration": {
905 "pref": null, 907 "pref": null,
906 "test_policy": { "OpenNetworkConfiguration": "" }, 908 "test_policy": { "OpenNetworkConfiguration": "" },
907 "settings_pages": [], 909 "settings_pages": [],
908 "os": ["chromeos"], 910 "os": ["chromeos"]
909 }, 911 },
910 912
911 "GDataDisabled": { 913 "GDataDisabled": {
912 "pref": null, 914 "pref": null,
913 "test_policy": { "GDataDisabled": true }, 915 "test_policy": { "GDataDisabled": true },
914 "settings_pages": [], 916 "settings_pages": [],
915 "os": ["chromeos"], 917 "os": ["chromeos"]
916 }, 918 },
917 919
918 "GDataDisabledOverCellular": { 920 "GDataDisabledOverCellular": {
919 "pref": null, 921 "pref": null,
920 "test_policy": { "GDataDisabledOverCellular": true }, 922 "test_policy": { "GDataDisabledOverCellular": true },
921 "settings_pages": [], 923 "settings_pages": [],
922 "os": ["chromeos"], 924 "os": ["chromeos"]
923 }, 925 },
924 926
925 "PinnedLauncherApps": { 927 "PinnedLauncherApps": {
926 "pref": null, 928 "pref": null,
927 "test_policy": { "PinnedLauncherApps": [] }, 929 "test_policy": { "PinnedLauncherApps": [] },
928 "settings_pages": [], 930 "settings_pages": [],
929 "os": ["chromeos"], 931 "os": ["chromeos"]
930 }, 932 },
931 933
932 "ExternalStorageDisabled": { 934 "ExternalStorageDisabled": {
933 "pref": null, 935 "pref": null,
934 "test_policy": { "ExternalStorageDisabled": true }, 936 "test_policy": { "ExternalStorageDisabled": true },
935 "settings_pages": [], 937 "settings_pages": [],
936 "os": ["chromeos"], 938 "os": ["chromeos"]
937 }, 939 },
938 940
939 "AudioOutputAllowed": { 941 "AudioOutputAllowed": {
940 "pref": null, 942 "pref": null,
941 "test_policy": { "AudioOutputAllowed": true }, 943 "test_policy": { "AudioOutputAllowed": true },
942 "settings_pages": [], 944 "settings_pages": [],
943 "os": ["chromeos"], 945 "os": ["chromeos"]
944 }, 946 },
945 947
946 "AudioCaptureAllowed": { 948 "AudioCaptureAllowed": {
947 "pref": null, 949 "pref": null,
948 "test_policy": { "AudioCaptureAllowed": true }, 950 "test_policy": { "AudioCaptureAllowed": true },
949 "settings_pages": [], 951 "settings_pages": [],
950 "os": ["chromeos"], 952 "os": ["chromeos"]
951 }, 953 },
952 954
953 "----- Chrome OS device policies ---------------------------------------": {}, 955 "----- Chrome OS device policies ---------------------------------------": {},
954 956
955 "DevicePolicyRefreshRate": { 957 "DevicePolicyRefreshRate": {
956 "pref": null, 958 "pref": null,
957 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 959 "test_policy": { "DevicePolicyRefreshRate": 300000 },
958 "settings_pages": [], 960 "settings_pages": [],
959 "os": ["chromeos"], 961 "os": ["chromeos"]
960 }, 962 },
961 963
962 "ChromeOsReleaseChannel": { 964 "ChromeOsReleaseChannel": {
963 "pref": null, 965 "pref": null,
964 "test_policy": { "ChromeOsReleaseChannel": "stable-channel" }, 966 "test_policy": { "ChromeOsReleaseChannel": "stable-channel" },
965 "settings_pages": [], 967 "settings_pages": [],
966 "os": ["chromeos"], 968 "os": ["chromeos"]
967 }, 969 },
968 970
969 "ChromeOsReleaseChannelDelegated": { 971 "ChromeOsReleaseChannelDelegated": {
970 "pref": null, 972 "pref": null,
971 "test_policy": { "ChromeOsReleaseChannelDelegated": false }, 973 "test_policy": { "ChromeOsReleaseChannelDelegated": false },
972 "settings_pages": [], 974 "settings_pages": [],
973 "os": ["chromeos"], 975 "os": ["chromeos"]
974 }, 976 },
975 977
976 "DeviceOpenNetworkConfiguration": { 978 "DeviceOpenNetworkConfiguration": {
977 "pref": null, 979 "pref": null,
978 "test_policy": { "DeviceOpenNetworkConfiguration": "" }, 980 "test_policy": { "DeviceOpenNetworkConfiguration": "" },
979 "settings_pages": [], 981 "settings_pages": [],
980 "os": ["chromeos"], 982 "os": ["chromeos"]
981 }, 983 },
982 984
983 "ReportDeviceVersionInfo": { 985 "ReportDeviceVersionInfo": {
984 "pref": null, 986 "pref": null,
985 "test_policy": { "ReportDeviceVersionInfo": true }, 987 "test_policy": { "ReportDeviceVersionInfo": true },
986 "settings_pages": [], 988 "settings_pages": [],
987 "os": ["chromeos"], 989 "os": ["chromeos"]
988 }, 990 },
989 991
990 "ReportDeviceActivityTimes": { 992 "ReportDeviceActivityTimes": {
991 "pref": null, 993 "pref": null,
992 "test_policy": { "ReportDeviceActivityTimes": true }, 994 "test_policy": { "ReportDeviceActivityTimes": true },
993 "settings_pages": [], 995 "settings_pages": [],
994 "os": ["chromeos"], 996 "os": ["chromeos"]
995 }, 997 },
996 998
997 "ReportDeviceBootMode": { 999 "ReportDeviceBootMode": {
998 "pref": null, 1000 "pref": null,
999 "test_policy": { "ReportDeviceBootMode": true }, 1001 "test_policy": { "ReportDeviceBootMode": true },
1000 "settings_pages": [], 1002 "settings_pages": [],
1001 "os": ["chromeos"], 1003 "os": ["chromeos"]
1002 }, 1004 },
1003 1005
1004 "DeviceAllowNewUsers": { 1006 "DeviceAllowNewUsers": {
1005 "pref": null, 1007 "pref": null,
1006 "test_policy": { "DeviceAllowNewUsers": true }, 1008 "test_policy": { "DeviceAllowNewUsers": true },
1007 "settings_pages": [], 1009 "settings_pages": [],
1008 "os": ["chromeos"], 1010 "os": ["chromeos"]
1009 }, 1011 },
1010 1012
1011 "DeviceUserWhitelist": { 1013 "DeviceUserWhitelist": {
1012 "pref": null, 1014 "pref": null,
1013 "test_policy": { "DeviceUserWhitelist": [] }, 1015 "test_policy": { "DeviceUserWhitelist": [] },
1014 "settings_pages": [], 1016 "settings_pages": [],
1015 "os": ["chromeos"], 1017 "os": ["chromeos"]
1016 }, 1018 },
1017 1019
1018 "DeviceGuestModeEnabled": { 1020 "DeviceGuestModeEnabled": {
1019 "pref": null, 1021 "pref": null,
1020 "test_policy": { "DeviceGuestModeEnabled": true }, 1022 "test_policy": { "DeviceGuestModeEnabled": true },
1021 "settings_pages": [], 1023 "settings_pages": [],
1022 "os": ["chromeos"], 1024 "os": ["chromeos"]
1023 }, 1025 },
1024 1026
1025 "DeviceShowUserNamesOnSignin": { 1027 "DeviceShowUserNamesOnSignin": {
1026 "pref": null, 1028 "pref": null,
1027 "test_policy": { "DeviceShowUserNamesOnSignin": true }, 1029 "test_policy": { "DeviceShowUserNamesOnSignin": true },
1028 "settings_pages": [], 1030 "settings_pages": [],
1029 "os": ["chromeos"], 1031 "os": ["chromeos"]
1030 }, 1032 },
1031 1033
1032 "DeviceDataRoamingEnabled": { 1034 "DeviceDataRoamingEnabled": {
1033 "pref": null, 1035 "pref": null,
1034 "test_policy": { "DeviceDataRoamingEnabled": true }, 1036 "test_policy": { "DeviceDataRoamingEnabled": true },
1035 "settings_pages": [], 1037 "settings_pages": [],
1036 "os": ["chromeos"], 1038 "os": ["chromeos"]
1037 }, 1039 },
1038 1040
1039 "DeviceMetricsReportingEnabled": { 1041 "DeviceMetricsReportingEnabled": {
1040 "pref": null, 1042 "pref": null,
1041 "test_policy": { "DeviceMetricsReportingEnabled": true }, 1043 "test_policy": { "DeviceMetricsReportingEnabled": true },
1042 "settings_pages": [], 1044 "settings_pages": [],
1043 "os": ["chromeos"], 1045 "os": ["chromeos"]
1044 }, 1046 },
1045 1047
1046 "DeviceEphemeralUsersEnabled": { 1048 "DeviceEphemeralUsersEnabled": {
1047 "pref": null, 1049 "pref": null,
1048 "test_policy": { "DeviceEphemeralUsersEnabled": true }, 1050 "test_policy": { "DeviceEphemeralUsersEnabled": true },
1049 "settings_pages": [], 1051 "settings_pages": [],
1050 "os": ["chromeos"], 1052 "os": ["chromeos"]
1051 }, 1053 },
1052 1054
1053 "DeviceIdleLogoutTimeout": { 1055 "DeviceIdleLogoutTimeout": {
1054 "pref": null, 1056 "pref": null,
1055 "test_policy": { "DeviceIdleLogoutTimeout": 60000 }, 1057 "test_policy": { "DeviceIdleLogoutTimeout": 60000 },
1056 "settings_pages": [], 1058 "settings_pages": [],
1057 "os": ["chromeos"], 1059 "os": ["chromeos"]
1058 }, 1060 },
1059 1061
1060 "DeviceIdleLogoutWarningDuration": { 1062 "DeviceIdleLogoutWarningDuration": {
1061 "pref": null, 1063 "pref": null,
1062 "test_policy": { "DeviceIdleLogoutWarningDuration": 15000 }, 1064 "test_policy": { "DeviceIdleLogoutWarningDuration": 15000 },
1063 "settings_pages": [], 1065 "settings_pages": [],
1064 "os": ["chromeos"], 1066 "os": ["chromeos"]
1065 }, 1067 },
1066 1068
1067 "DeviceLoginScreenSaverId": { 1069 "DeviceLoginScreenSaverId": {
1068 "pref": null, 1070 "pref": null,
1069 "test_policy": { "DeviceLoginScreenSaverId": "lcncmkcnkcdbbanbjakcencbaoegdj lp" }, 1071 "test_policy": { "DeviceLoginScreenSaverId": "lcncmkcnkcdbbanbjakcencbaoegdj lp" },
1070 "settings_pages": [], 1072 "settings_pages": [],
1071 "os": ["chromeos"], 1073 "os": ["chromeos"]
1072 }, 1074 },
1073 1075
1074 "DeviceLoginScreenSaverTimeout": { 1076 "DeviceLoginScreenSaverTimeout": {
1075 "pref": null, 1077 "pref": null,
1076 "test_policy": { "DeviceLoginScreenSaverTimeout": 30000 }, 1078 "test_policy": { "DeviceLoginScreenSaverTimeout": 30000 },
1077 "settings_pages": [], 1079 "settings_pages": [],
1078 "os": ["chromeos"], 1080 "os": ["chromeos"]
1079 }, 1081 },
1080 1082
1081 "DeviceStartUpUrls": { 1083 "DeviceStartUpUrls": {
1082 "pref": null, 1084 "pref": null,
1083 "test_policy": { "DeviceStartUpUrls": ["http://google.com"] }, 1085 "test_policy": { "DeviceStartUpUrls": ["http://google.com"] },
1084 "settings_pages": [], 1086 "settings_pages": [],
1085 "os": ["chromeos"], 1087 "os": ["chromeos"]
1086 }, 1088 },
1087 1089
1088 "DeviceAppPack": { 1090 "DeviceAppPack": {
1089 "pref": null, 1091 "pref": null,
1090 "test_policy": { "DeviceAppPack": [] }, 1092 "test_policy": { "DeviceAppPack": [] },
1091 "settings_pages": [], 1093 "settings_pages": [],
1092 "os": ["chromeos"], 1094 "os": ["chromeos"]
1093 }, 1095 },
1094 1096
1095 "DeviceAutoUpdateDisabled": { 1097 "DeviceAutoUpdateDisabled": {
1096 "pref": null, 1098 "pref": null,
1097 "test_policy": { "DeviceAutoUpdateDisabled": true }, 1099 "test_policy": { "DeviceAutoUpdateDisabled": true },
1098 "settings_pages": [], 1100 "settings_pages": [],
1099 "os": ["chromeos"], 1101 "os": ["chromeos"]
1100 }, 1102 },
1101 1103
1102 "DeviceTargetVersionPrefix": { 1104 "DeviceTargetVersionPrefix": {
1103 "pref": null, 1105 "pref": null,
1104 "test_policy": { "DeviceTargetVersionPrefix": "1412." }, 1106 "test_policy": { "DeviceTargetVersionPrefix": "1412." },
1105 "settings_pages": [], 1107 "settings_pages": [],
1106 "os": ["chromeos"], 1108 "os": ["chromeos"]
1107 }, 1109 },
1108 1110
1109 "DeviceUpdateScatterFactor": { 1111 "DeviceUpdateScatterFactor": {
1110 "pref": null, 1112 "pref": null,
1111 "test_policy": { "DeviceUpdateScatterFactor": "7200" }, 1113 "test_policy": { "DeviceUpdateScatterFactor": "7200" },
1112 "settings_pages": [], 1114 "settings_pages": [],
1113 "os": ["chromeos"], 1115 "os": ["chromeos"]
1114 }, 1116 },
1115 1117
1116 "DeviceUpdateAllowedConnectionTypes": { 1118 "DeviceUpdateAllowedConnectionTypes": {
1117 "pref": null, 1119 "pref": null,
1118 "test_policy": { "DeviceUpdateAllowedConnectionTypes": [] }, 1120 "test_policy": { "DeviceUpdateAllowedConnectionTypes": [] },
1119 "settings_pages": [], 1121 "settings_pages": [],
1120 "os": ["chromeos"], 1122 "os": ["chromeos"]
1121 }, 1123 },
1122 1124
1123 "ReportDeviceLocation": { 1125 "ReportDeviceLocation": {
1124 "pref": null, 1126 "pref": null,
1125 "test_policy": { "ReportDeviceLocation": false }, 1127 "test_policy": { "ReportDeviceLocation": false },
1126 "settings_pages": [], 1128 "settings_pages": [],
1127 "os": ["chromeos"], 1129 "os": ["chromeos"]
1128 }, 1130 },
1129 1131
1130 "SystemTimezone": { 1132 "SystemTimezone": {
1131 "pref": null, 1133 "pref": null,
1132 "test_policy": { "SystemTimezone": "Europe/Brussels" }, 1134 "test_policy": { "SystemTimezone": "Europe/Brussels" },
1133 "settings_pages": [], 1135 "settings_pages": [],
1134 "os": ["chromeos"], 1136 "os": ["chromeos"]
1135 }, 1137 },
1136 1138
1137 "----- Chrome Frame policies -------------------------------------------": {}, 1139 "----- Chrome Frame policies -------------------------------------------": {},
1138 1140
1139 "ChromeFrameRendererSettings": { 1141 "ChromeFrameRendererSettings": {
1140 "pref": null, 1142 "pref": null,
1141 "test_policy": { "ChromeFrameRendererSettings": 0 }, 1143 "test_policy": { "ChromeFrameRendererSettings": 0 },
1142 "settings_pages": [], 1144 "settings_pages": [],
1143 "os": [], 1145 "os": []
1144 }, 1146 },
1145 1147
1146 "RenderInChromeFrameList": { 1148 "RenderInChromeFrameList": {
1147 "pref": null, 1149 "pref": null,
1148 "test_policy": { "RenderInChromeFrameList": ["google.com"] }, 1150 "test_policy": { "RenderInChromeFrameList": ["google.com"] },
1149 "settings_pages": [], 1151 "settings_pages": [],
1150 "os": [], 1152 "os": []
1151 }, 1153 },
1152 1154
1153 "RenderInHostList": { 1155 "RenderInHostList": {
1154 "pref": null, 1156 "pref": null,
1155 "test_policy": { "RenderInHostList": ["google.com"] }, 1157 "test_policy": { "RenderInHostList": ["google.com"] },
1156 "settings_pages": [], 1158 "settings_pages": [],
1157 "os": [], 1159 "os": []
1158 }, 1160 },
1159 1161
1160 "ChromeFrameContentTypes": { 1162 "ChromeFrameContentTypes": {
1161 "pref": null, 1163 "pref": null,
1162 "test_policy": { "ChromeFrameContentTypes": ["text/xml"] }, 1164 "test_policy": { "ChromeFrameContentTypes": ["text/xml"] },
1163 "settings_pages": [], 1165 "settings_pages": [],
1164 "os": [], 1166 "os": []
1165 }, 1167 },
1166 1168
1167 "GCFUserDataDir": { 1169 "GCFUserDataDir": {
1168 "pref": null, 1170 "pref": null,
1169 "test_policy": { "GCFUserDataDir": "${user_name}/test-frame" }, 1171 "test_policy": { "GCFUserDataDir": "${user_name}/test-frame" },
1170 "settings_pages": [], 1172 "settings_pages": [],
1171 "os": [], 1173 "os": []
1172 }, 1174 },
1173 1175
1174 "AdditionalLaunchParameters": { 1176 "AdditionalLaunchParameters": {
1175 "pref": null, 1177 "pref": null,
1176 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" }, 1178 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" },
1177 "settings_pages": [], 1179 "settings_pages": [],
1178 "os": [], 1180 "os": []
1179 } 1181 }
1180 } 1182 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_prefs_browsertest.cc ('k') | chrome/test/functional/PYAUTO_TESTS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698