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

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

Issue 11272026: Remove the managed banner from the Chrome settings UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
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 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos"], 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. Defaul ts to |false| if not specified.", 6 "official_only": "Whether this policy exists in official builds only. Defaul ts 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.", 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 trigger the managed banner i n the settings UI. Usually just sets the current policy.", 8 "test_policy": "A policy dictionary that should make the preferences affecte d by this policy become policy-controlled. Usually just sets the current policy. Defaults to an empty dictionary if not specified.",
9 "settings_pages": ["A list of settings pages where the banner should be visi ble when this policy is set."],
10 "note": "If the policy affects any preferences, the following array should b e specified with one entry per such preference.", 9 "note": "If the policy affects any preferences, the following array should b e specified with one entry per such preference.",
11 "pref_mappings": [ 10 "pref_mappings": [
12 { "pref": "The affected preference's name.", 11 { "pref": "The affected preference's name.",
13 "local_state": "Whether |pref| is registered in local state's PrefServic e instead of the profile's PrefService. Defaults to |false| if not specified.", 12 "local_state": "Whether |pref| is registered in local state's PrefServic e instead of the profile's PrefService. Defaults to |false| if not specified.",
14 "note": "The following entries should be specified if controlled setting indicators exist for |pref| in the settings UI", 13 "note": "The following entries should be specified if controlled setting indicators exist for |pref| in the settings UI",
15 "indicator_test_setup_js": "Any JavaScript that should be executed befor e testing the indicators. This should be specified only if an explicit user acti on must be simulated (e.g. clicking a button).", 14 "indicator_test_setup_js": "Any JavaScript that should be executed befor e testing the indicators. This should be specified only if an explicit user acti on must be simulated (e.g. clicking a button).",
16 "indicator_selector": "A CSS selector that locates all controlled settin g indicators for |pref|. This is appended to the selector 'span.controlled-setti ng-indicator' and if not specified, defaults to '[pref=(the value of |pref|)', e .g. '[pref=homepage]'.", 15 "indicator_selector": "A CSS selector that locates all controlled settin g indicators for |pref|. This is appended to the selector 'span.controlled-setti ng-indicator' and if not specified, defaults to '[pref=(the value of |pref|)', e .g. '[pref=homepage]'.",
17 "note 2": "Any number of test cases may be specified in the following ar ray.", 16 "note 2": "Any number of test cases may be specified in the following ar ray.",
18 "indicator_tests": [ 17 "indicator_tests": [
19 { "policy": "A policy dictionary that should affect |pref| when set as mandatory or recommended policy.", 18 { "policy": "A policy dictionary that should affect |pref| when set as mandatory or recommended policy.",
20 "value": "The value that |pref| should take on. This must only be sp ecified if |pref| has multiple controlled setting indicators, each corresponding to a specific value (e.g. indicators next to radio buttons).", 19 "value": "The value that |pref| should take on. This must only be sp ecified if |pref| has multiple controlled setting indicators, each corresponding to a specific value (e.g. indicators next to radio buttons).",
21 "readonly": "Whether setting the policy dictionary as recommended sh ould 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. s etting 'homepage is NTP' makes the 'homepage URL' pref not applicable and read-o nly)." 20 "readonly": "Whether setting the policy dictionary as recommended sh ould 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. s etting 'homepage is NTP' makes the 'homepage URL' pref not applicable and read-o nly)."
22 } 21 }
23 ] 22 ]
24 } 23 }
25 ] 24 ]
26 }, 25 },
27 26
28 "HomepageLocation": { 27 "HomepageLocation": {
29 "os": ["win", "linux", "mac", "chromeos"], 28 "os": ["win", "linux", "mac", "chromeos"],
30 "can_be_recommended": true, 29 "can_be_recommended": true,
31 "test_policy": { "HomepageLocation": "http://chromium.org" }, 30 "test_policy": { "HomepageLocation": "http://chromium.org" },
32 "settings_pages": ["chrome://settings-frame/homePageOverlay"],
33 "pref_mappings": [ 31 "pref_mappings": [
34 { "pref": "homepage", 32 { "pref": "homepage",
35 "indicator_tests": [ 33 "indicator_tests": [
36 { "policy": { "HomepageIsNewTabPage": false, "HomepageLocation": "http ://chromium.org" } }, 34 { "policy": { "HomepageIsNewTabPage": false, "HomepageLocation": "http ://chromium.org" } },
37 { "policy": { "HomepageIsNewTabPage": true, "HomepageLocation": "http: //chromium.org" }, 35 { "policy": { "HomepageIsNewTabPage": true, "HomepageLocation": "http: //chromium.org" },
38 "readonly": true 36 "readonly": true
39 } 37 }
40 ] 38 ]
41 } 39 }
42 ] 40 ]
43 }, 41 },
44 42
45 "HomepageIsNewTabPage": { 43 "HomepageIsNewTabPage": {
46 "os": ["win", "linux", "mac", "chromeos"], 44 "os": ["win", "linux", "mac", "chromeos"],
47 "can_be_recommended": true, 45 "can_be_recommended": true,
48 "test_policy": { "HomepageIsNewTabPage": true }, 46 "test_policy": { "HomepageIsNewTabPage": true },
49 "settings_pages": ["chrome://settings-frame/homePageOverlay"],
50 "pref_mappings": [ 47 "pref_mappings": [
51 { "pref": "homepage_is_newtabpage", 48 { "pref": "homepage_is_newtabpage",
52 "indicator_tests": [ 49 "indicator_tests": [
53 { "policy": { "HomepageIsNewTabPage": false }, 50 { "policy": { "HomepageIsNewTabPage": false },
54 "value": "false"}, 51 "value": "false"},
55 { "policy": { "HomepageIsNewTabPage": true }, 52 { "policy": { "HomepageIsNewTabPage": true },
56 "value": "true"} 53 "value": "true"}
57 ] 54 ]
58 } 55 }
59 ] 56 ]
60 }, 57 },
61 58
62 "DefaultBrowserSettingEnabled": { 59 "DefaultBrowserSettingEnabled": {
63 "os": ["win", "mac", "linux"], 60 "os": ["win", "mac", "linux"],
64 "test_policy": { "DefaultBrowserSettingEnabled": true }, 61 "test_policy": { "DefaultBrowserSettingEnabled": true },
65 "settings_pages": [],
66 "pref_mappings": [ 62 "pref_mappings": [
67 { "pref": "browser.default_browser_setting_enabled", 63 { "pref": "browser.default_browser_setting_enabled",
68 "local_state": true 64 "local_state": true
69 } 65 }
70 ], 66 ]
71
72 "note": "TODO(joaodasilva): Couldn't verify on linux."
73 }, 67 },
74 68
75 "ApplicationLocaleValue": { 69 "ApplicationLocaleValue": {
76 "os": ["win"], 70 "os": ["win"],
77 "can_be_recommended": true, 71 "can_be_recommended": true,
78 "test_policy": { "ApplicationLocaleValue": "fr" }, 72 "test_policy": { "ApplicationLocaleValue": "fr" },
79 "settings_pages": [],
80 "pref_mappings": [ 73 "pref_mappings": [
81 { "pref": "intl.app_locale", 74 { "pref": "intl.app_locale",
82 "local_state": true 75 "local_state": true
83 } 76 }
84 ] 77 ]
85 }, 78 },
86 79
87 "AlternateErrorPagesEnabled": { 80 "AlternateErrorPagesEnabled": {
88 "os": ["win", "linux", "mac", "chromeos"], 81 "os": ["win", "linux", "mac", "chromeos"],
89 "can_be_recommended": true, 82 "can_be_recommended": true,
90 "test_policy": { "AlternateErrorPagesEnabled": false }, 83 "test_policy": { "AlternateErrorPagesEnabled": false },
91 "settings_pages": ["chrome://settings-frame"],
92 "pref_mappings": [ 84 "pref_mappings": [
93 { "pref": "alternate_error_pages.enabled", 85 { "pref": "alternate_error_pages.enabled",
94 "indicator_tests": [ 86 "indicator_tests": [
95 { "policy": { "AlternateErrorPagesEnabled": false } } 87 { "policy": { "AlternateErrorPagesEnabled": false } }
96 ] 88 ]
97 } 89 }
98 ] 90 ]
99 }, 91 },
100 92
101 "SearchSuggestEnabled": { 93 "SearchSuggestEnabled": {
102 "os": ["win", "linux", "mac", "chromeos"], 94 "os": ["win", "linux", "mac", "chromeos"],
103 "can_be_recommended": true, 95 "can_be_recommended": true,
104 "test_policy": { "SearchSuggestEnabled": false }, 96 "test_policy": { "SearchSuggestEnabled": false },
105 "settings_pages": ["chrome://settings-frame"],
106 "pref_mappings": [ 97 "pref_mappings": [
107 { "pref": "search.suggest_enabled", 98 { "pref": "search.suggest_enabled",
108 "indicator_tests": [ 99 "indicator_tests": [
109 { "policy": { "SearchSuggestEnabled": false } } 100 { "policy": { "SearchSuggestEnabled": false } }
110 ] 101 ]
111 } 102 }
112 ] 103 ]
113 }, 104 },
114 105
115 "DnsPrefetchingEnabled": { 106 "DnsPrefetchingEnabled": {
116 "os": ["win", "linux", "mac", "chromeos"], 107 "os": ["win", "linux", "mac", "chromeos"],
117 "can_be_recommended": true, 108 "can_be_recommended": true,
118 "test_policy": { "DnsPrefetchingEnabled": false }, 109 "test_policy": { "DnsPrefetchingEnabled": false },
119 "settings_pages": ["chrome://settings-frame"],
120 "pref_mappings": [ 110 "pref_mappings": [
121 { "pref": "dns_prefetching.enabled", 111 { "pref": "dns_prefetching.enabled",
122 "indicator_tests": [ 112 "indicator_tests": [
123 { "policy": { "DnsPrefetchingEnabled": false } } 113 { "policy": { "DnsPrefetchingEnabled": false } }
124 ] 114 ]
125 } 115 }
126 ] 116 ]
127 }, 117 },
128 118
129 "DisableSpdy": { 119 "DisableSpdy": {
130 "os": ["win", "linux", "mac", "chromeos"], 120 "os": ["win", "linux", "mac", "chromeos"],
131 "test_policy": { "DisableSpdy": true }, 121 "test_policy": { "DisableSpdy": true },
132 "settings_pages": [],
133 "pref_mappings": [ 122 "pref_mappings": [
134 { "pref": "spdy.disabled" } 123 { "pref": "spdy.disabled" }
135 ] 124 ]
136 }, 125 },
137 126
138 "DisabledSchemes": { 127 "DisabledSchemes": {
139 "os": ["win", "linux", "mac", "chromeos"], 128 "os": ["win", "linux", "mac", "chromeos"],
140 "test_policy": { "DisabledSchemes": ["file"] }, 129 "test_policy": { "DisabledSchemes": ["file"] },
141 "settings_pages": [],
142 "pref_mappings": [ 130 "pref_mappings": [
143 { "pref": "protocol.disabled_schemes", 131 { "pref": "protocol.disabled_schemes",
144 "local_state": true 132 "local_state": true
145 } 133 }
146 ] 134 ]
147 }, 135 },
148 136
149 "JavascriptEnabled": { 137 "JavascriptEnabled": {
150 "os": ["win", "linux", "mac", "chromeos"], 138 "os": ["win", "linux", "mac", "chromeos"],
151 "test_policy": { "JavascriptEnabled": false }, 139 "test_policy": { "JavascriptEnabled": false },
152 "settings_pages": ["chrome://settings-frame/content"],
153 "pref_mappings": [ 140 "pref_mappings": [
154 { "pref": "profile.managed_default_content_settings.javascript", 141 { "pref": "profile.managed_default_content_settings.javascript",
155 "indicator_selector": "[content-setting=javascript]", 142 "indicator_selector": "[content-setting=javascript]",
156 "indicator_tests": [ 143 "indicator_tests": [
157 { "policy": { "JavascriptEnabled": false }, 144 { "policy": { "JavascriptEnabled": false },
158 "value": "block"} 145 "value": "block"}
159 ] 146 ]
160 } 147 }
161 ] 148 ]
162 }, 149 },
163 150
164 "IncognitoEnabled": { 151 "IncognitoEnabled": {
165 "os": ["win", "linux", "mac", "chromeos"], 152 "os": ["win", "linux", "mac", "chromeos"],
166 "test_policy": { "IncognitoEnabled": false }, 153 "test_policy": { "IncognitoEnabled": false },
167 "settings_pages": [],
168 "pref_mappings": [ 154 "pref_mappings": [
169 { "pref": "incognito.mode_availability" } 155 { "pref": "incognito.mode_availability" }
170 ] 156 ]
171 }, 157 },
172 158
173 "IncognitoModeAvailability": { 159 "IncognitoModeAvailability": {
174 "os": ["win", "linux", "mac", "chromeos"], 160 "os": ["win", "linux", "mac", "chromeos"],
175 "test_policy": { "IncognitoModeAvailability": 1 }, 161 "test_policy": { "IncognitoModeAvailability": 1 },
176 "settings_pages": [],
177 "pref_mappings": [ 162 "pref_mappings": [
178 { "pref": "incognito.mode_availability" } 163 { "pref": "incognito.mode_availability" }
179 ] 164 ]
180 }, 165 },
181 166
182 "SavingBrowserHistoryDisabled": { 167 "SavingBrowserHistoryDisabled": {
183 "os": ["win", "linux", "mac", "chromeos"], 168 "os": ["win", "linux", "mac", "chromeos"],
184 "test_policy": { "SavingBrowserHistoryDisabled": true }, 169 "test_policy": { "SavingBrowserHistoryDisabled": true },
185 "settings_pages": [],
186 "pref_mappings": [ 170 "pref_mappings": [
187 { "pref": "history.saving_disabled" } 171 { "pref": "history.saving_disabled" }
188 ] 172 ]
189 }, 173 },
190 174
191 "RemoteAccessClientFirewallTraversal": { 175 "RemoteAccessClientFirewallTraversal": {
192 "os": [],
193 "test_policy": { "RemoteAccessClientFirewallTraversal": true },
194 "settings_pages": []
195 }, 176 },
196 177
197 "RemoteAccessHostFirewallTraversal": { 178 "RemoteAccessHostFirewallTraversal": {
198 "os": [], 179 "os": [],
199 "test_policy": { "RemoteAccessHostFirewallTraversal": true }, 180 "test_policy": { "RemoteAccessHostFirewallTraversal": true },
200 "settings_pages": [],
201 "pref_mappings": [ 181 "pref_mappings": [
202 { "pref": "remote_access.host_firewall_traversal" } 182 { "pref": "remote_access.host_firewall_traversal" }
203 ], 183 ],
204 184
205 "note": "TODO(frankf): Enable on all OS after crbug.com/121066 is fixed." 185 "note": "TODO(frankf): Enable on all OS after crbug.com/121066 is fixed."
206 }, 186 },
207 187
208 "RemoteAccessHostRequireTwoFactor": { 188 "RemoteAccessHostRequireTwoFactor": {
209 "os": [], 189 "os": [],
210 "test_policy": { "RemoteAccessHostRequireTwoFactor": false }, 190 "test_policy": { "RemoteAccessHostRequireTwoFactor": false },
211 "settings_pages": [],
212 "pref_mappings": [ 191 "pref_mappings": [
213 { "pref": "remote_access.host_require_two_factor" } 192 { "pref": "remote_access.host_require_two_factor" }
214 ] 193 ]
215 }, 194 },
216 195
217 "RemoteAccessHostDomain": { 196 "RemoteAccessHostDomain": {
218 "os": [], 197 "os": [],
219 "test_policy": { "RemoteAccessHostDomain": "" }, 198 "test_policy": { "RemoteAccessHostDomain": "" },
220 "settings_pages": [],
221 "pref_mappings": [ 199 "pref_mappings": [
222 { "pref": "remote_access.host_domain" } 200 { "pref": "remote_access.host_domain" }
223 ] 201 ]
224 }, 202 },
225 203
226 "RemoteAccessHostTalkGadgetPrefix": { 204 "RemoteAccessHostTalkGadgetPrefix": {
227 "os": [], 205 "os": [],
228 "test_policy": { "RemoteAccessHostTalkGadgetPrefix": "chromoting-host" }, 206 "test_policy": { "RemoteAccessHostTalkGadgetPrefix": "chromoting-host" },
229 "settings_pages": [],
230 "pref_mappings": [ 207 "pref_mappings": [
231 { "pref": "remote_access.host_talkgadget_prefix" } 208 { "pref": "remote_access.host_talkgadget_prefix" }
232 ] 209 ]
233 }, 210 },
234 211
235 "RemoteAccessHostRequireCurtain": { 212 "RemoteAccessHostRequireCurtain": {
236 "os": [], 213 "os": [],
237 "test_policy": { "RemoteAccessHostRequireCurtain": false }, 214 "test_policy": { "RemoteAccessHostRequireCurtain": false },
238 "settings_pages": [],
239 "pref_mappings": [ 215 "pref_mappings": [
240 { "pref": "remote_access.host_require_curtain" } 216 { "pref": "remote_access.host_require_curtain" }
241 ] 217 ]
242 }, 218 },
243 219
244 "PrintingEnabled": { 220 "PrintingEnabled": {
245 "os": ["win", "linux", "mac", "chromeos"], 221 "os": ["win", "linux", "mac", "chromeos"],
246 "test_policy": { "PrintingEnabled": false }, 222 "test_policy": { "PrintingEnabled": false },
247 "settings_pages": [],
248 "pref_mappings": [ 223 "pref_mappings": [
249 { "pref": "printing.enabled" } 224 { "pref": "printing.enabled" }
250 ] 225 ]
251 }, 226 },
252 227
253 "CloudPrintProxyEnabled": { 228 "CloudPrintProxyEnabled": {
254 "os": [], 229 "os": [],
255 "test_policy": { "CloudPrintProxyEnabled": true }, 230 "test_policy": { "CloudPrintProxyEnabled": true },
256 "settings_pages": [],
257 "pref_mappings": [ 231 "pref_mappings": [
258 { "pref": "cloud_print.enabled" } 232 { "pref": "cloud_print.enabled" }
259 ] 233 ]
260 }, 234 },
261 235
262 "CloudPrintSubmitEnabled": { 236 "CloudPrintSubmitEnabled": {
263 "os": ["win", "mac", "linux"], 237 "os": ["win", "mac", "linux"],
264 "test_policy": { "CloudPrintSubmitEnabled": false }, 238 "test_policy": { "CloudPrintSubmitEnabled": false },
265 "settings_pages": [],
266 "pref_mappings": [ 239 "pref_mappings": [
267 { "pref": "cloud_print.submit_enabled" } 240 { "pref": "cloud_print.submit_enabled" }
268 ] 241 ]
269 }, 242 },
270 243
271 "SafeBrowsingEnabled": { 244 "SafeBrowsingEnabled": {
272 "os": ["win", "linux", "mac", "chromeos"], 245 "os": ["win", "linux", "mac", "chromeos"],
273 "can_be_recommended": true, 246 "can_be_recommended": true,
274 "test_policy": { "SafeBrowsingEnabled": false }, 247 "test_policy": { "SafeBrowsingEnabled": false },
275 "settings_pages": ["chrome://settings-frame"],
276 "pref_mappings": [ 248 "pref_mappings": [
277 { "pref": "safebrowsing.enabled", 249 { "pref": "safebrowsing.enabled",
278 "indicator_tests": [ 250 "indicator_tests": [
279 { "policy": { "SafeBrowsingEnabled": false } } 251 { "policy": { "SafeBrowsingEnabled": false } }
280 ] 252 ]
281 } 253 }
282 ] 254 ]
283 }, 255 },
284 256
285 "MetricsReportingEnabled": { 257 "MetricsReportingEnabled": {
286 "os": ["win", "mac", "linux"], 258 "os": ["win", "mac", "linux"],
287 "official_only": true, 259 "official_only": true,
288 "can_be_recommended": true, 260 "can_be_recommended": true,
289 "test_policy": { "MetricsReportingEnabled": false }, 261 "test_policy": { "MetricsReportingEnabled": false },
290 "settings_pages": ["chrome://settings-frame"],
291 "pref_mappings": [ 262 "pref_mappings": [
292 { "pref": "user_experience_metrics.reporting_enabled", 263 { "pref": "user_experience_metrics.reporting_enabled",
293 "local_state": true, 264 "local_state": true,
294 "indicator_tests": [ 265 "indicator_tests": [
295 { "policy": { "MetricsReportingEnabled": false } } 266 { "policy": { "MetricsReportingEnabled": false } }
296 ] 267 ]
297 } 268 }
298 ] 269 ]
299 }, 270 },
300 271
301 "PasswordManagerEnabled": { 272 "PasswordManagerEnabled": {
302 "os": ["win", "linux", "mac", "chromeos"], 273 "os": ["win", "linux", "mac", "chromeos"],
303 "can_be_recommended": true, 274 "can_be_recommended": true,
304 "test_policy": { "PasswordManagerEnabled": false }, 275 "test_policy": { "PasswordManagerEnabled": false },
305 "settings_pages": ["chrome://settings-frame"],
306 "pref_mappings": [ 276 "pref_mappings": [
307 { "pref": "profile.password_manager_enabled", 277 { "pref": "profile.password_manager_enabled",
308 "indicator_tests": [ 278 "indicator_tests": [
309 { "policy": { "PasswordManagerEnabled": false } } 279 { "policy": { "PasswordManagerEnabled": false } }
310 ] 280 ]
311 } 281 }
312 ] 282 ]
313 }, 283 },
314 284
315 "PasswordManagerAllowShowPasswords": { 285 "PasswordManagerAllowShowPasswords": {
316 "os": ["win", "linux", "mac", "chromeos"], 286 "os": ["win", "linux", "mac", "chromeos"],
317 "test_policy": { "PasswordManagerAllowShowPasswords": false }, 287 "test_policy": { "PasswordManagerAllowShowPasswords": false },
318 "settings_pages": ["chrome://settings-frame"],
319 "pref_mappings": [ 288 "pref_mappings": [
320 { "pref": "profile.password_manager_allow_show_passwords" } 289 { "pref": "profile.password_manager_allow_show_passwords" }
321 ], 290 ]
322
323 "note": "TODO(joaodasilva): Should be chrome://settings-frame/passwords. htt p://crbug.com/97749"
Joao da Silva 2012/10/25 11:07:52 Please close this bug after landing this CL
bartfab (slow) 2012/10/25 13:13:13 Yep, that's the plan.
324 }, 291 },
325 292
326 "AutoFillEnabled": { 293 "AutoFillEnabled": {
327 "os": ["win", "linux", "mac", "chromeos"], 294 "os": ["win", "linux", "mac", "chromeos"],
328 "can_be_recommended": true, 295 "can_be_recommended": true,
329 "test_policy": { "AutoFillEnabled": false }, 296 "test_policy": { "AutoFillEnabled": false },
330 "settings_pages": ["chrome://settings-frame"],
331 "pref_mappings": [ 297 "pref_mappings": [
332 { "pref": "autofill.enabled", 298 { "pref": "autofill.enabled",
333 "indicator_tests": [ 299 "indicator_tests": [
334 { "policy": { "AutoFillEnabled": false } } 300 { "policy": { "AutoFillEnabled": false } }
335 ] 301 ]
336 } 302 }
337 ] 303 ]
338 }, 304 },
339 305
340 "DisabledPlugins": { 306 "DisabledPlugins": {
341 "os": ["win", "linux", "mac", "chromeos"], 307 "os": ["win", "linux", "mac", "chromeos"],
342 "test_policy": { "DisabledPlugins": ["Flash"] }, 308 "test_policy": { "DisabledPlugins": ["Flash"] },
343 "settings_pages": [],
344 "pref_mappings": [ 309 "pref_mappings": [
345 { "pref": "plugins.plugins_disabled" } 310 { "pref": "plugins.plugins_disabled" }
346 ] 311 ]
347 }, 312 },
348 313
349 "EnabledPlugins": { 314 "EnabledPlugins": {
350 "os": ["win", "linux", "mac", "chromeos"], 315 "os": ["win", "linux", "mac", "chromeos"],
351 "test_policy": { "EnabledPlugins": ["Flash"] }, 316 "test_policy": { "EnabledPlugins": ["Flash"] },
352 "settings_pages": [],
353 "pref_mappings": [ 317 "pref_mappings": [
354 { "pref": "plugins.plugins_enabled" } 318 { "pref": "plugins.plugins_enabled" }
355 ] 319 ]
356 }, 320 },
357 321
358 "DisabledPluginsExceptions": { 322 "DisabledPluginsExceptions": {
359 "os": ["win", "linux", "mac", "chromeos"], 323 "os": ["win", "linux", "mac", "chromeos"],
360 "test_policy": { "DisabledPluginsExceptions": ["Flash"] }, 324 "test_policy": { "DisabledPluginsExceptions": ["Flash"] },
361 "settings_pages": [],
362 "pref_mappings": [ 325 "pref_mappings": [
363 { "pref": "plugins.plugins_disabled_exceptions" } 326 { "pref": "plugins.plugins_disabled_exceptions" }
364 ] 327 ]
365 }, 328 },
366 329
367 "DisablePluginFinder": { 330 "DisablePluginFinder": {
368 "os": ["win", "linux", "mac", "chromeos"], 331 "os": ["win", "linux", "mac", "chromeos"],
369 "test_policy": { "DisablePluginFinder": true }, 332 "test_policy": { "DisablePluginFinder": true },
370 "settings_pages": [],
371 "pref_mappings": [ 333 "pref_mappings": [
372 { "pref": "plugins.disable_plugin_finder", 334 { "pref": "plugins.disable_plugin_finder",
373 "local_state": true 335 "local_state": true
374 } 336 }
375 ] 337 ]
376 }, 338 },
377 339
378 "SyncDisabled": { 340 "SyncDisabled": {
379 "os": ["win", "linux", "mac", "chromeos"], 341 "os": ["win", "linux", "mac", "chromeos"],
380 "test_policy": { "SyncDisabled": true }, 342 "test_policy": { "SyncDisabled": true },
381 "settings_pages": [],
382 "pref_mappings": [ 343 "pref_mappings": [
383 { "pref": "sync.managed" } 344 { "pref": "sync.managed" }
384 ], 345 ]
385
386 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
387 }, 346 },
388 347
389 "UserDataDir": { 348 "UserDataDir": {
390 "os": ["win", "mac"],
391 "test_policy": { "UserDataDir": "${users}/${user_name}/chrome-test" },
392 "settings_pages": []
Joao da Silva 2012/10/25 11:07:52 Please leave a TODO here. This policy works, but n
bartfab (slow) 2012/10/25 13:13:13 Done.
393 }, 349 },
394 350
395 "DiskCacheDir": { 351 "DiskCacheDir": {
396 "os": ["win", "mac", "linux"], 352 "os": ["win", "mac", "linux"],
397 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" }, 353 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" },
398 "settings_pages": [],
399 "pref_mappings": [ 354 "pref_mappings": [
400 { "pref": "browser.disk_cache_dir" } 355 { "pref": "browser.disk_cache_dir" }
401 ] 356 ]
402 }, 357 },
403 358
404 "DiskCacheSize": { 359 "DiskCacheSize": {
405 "os": ["win", "mac", "linux"], 360 "os": ["win", "mac", "linux"],
406 "test_policy": { "DiskCacheSize": 100 }, 361 "test_policy": { "DiskCacheSize": 100 },
407 "settings_pages": [],
408 "pref_mappings": [ 362 "pref_mappings": [
409 { "pref": "browser.disk_cache_size" } 363 { "pref": "browser.disk_cache_size" }
410 ] 364 ]
411 }, 365 },
412 366
413 "MediaCacheSize": { 367 "MediaCacheSize": {
414 "os": ["win", "mac", "linux"], 368 "os": ["win", "mac", "linux"],
415 "test_policy": { "MediaCacheSize": 200 }, 369 "test_policy": { "MediaCacheSize": 200 },
416 "settings_pages": [],
417 "pref_mappings": [ 370 "pref_mappings": [
418 { "pref": "browser.media_cache_size" } 371 { "pref": "browser.media_cache_size" }
419 ] 372 ]
420 }, 373 },
421 374
422 "DownloadDirectory": { 375 "DownloadDirectory": {
423 "os": ["win", "mac", "linux"], 376 "os": ["win", "mac", "linux"],
424 "can_be_recommended": true, 377 "can_be_recommended": true,
425 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" }, 378 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" },
426 "settings_pages": ["chrome://settings-frame"],
427 "pref_mappings": [ 379 "pref_mappings": [
428 { "pref": "download.default_directory", 380 { "pref": "download.default_directory",
429 "indicator_tests": [ 381 "indicator_tests": [
430 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } } 382 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
431 ] 383 ]
432 }, 384 },
433 { "pref": "download.prompt_for_download", 385 { "pref": "download.prompt_for_download",
434 "indicator_tests": [ 386 "indicator_tests": [
435 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } } 387 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
436 ] 388 ]
437 } 389 }
438 ] 390 ]
439 }, 391 },
440 392
441 "ClearSiteDataOnExit": { 393 "ClearSiteDataOnExit": {
442 "os": ["win", "linux", "mac", "chromeos"], 394 "os": ["win", "linux", "mac", "chromeos"],
443 "test_policy": { "ClearSiteDataOnExit": true }, 395 "test_policy": { "ClearSiteDataOnExit": true },
444 "settings_pages": ["chrome://settings-frame/content"],
445 "pref_mappings": [ 396 "pref_mappings": [
446 { "pref": "profile.managed_default_content_settings.cookies", 397 { "pref": "profile.managed_default_content_settings.cookies",
447 "indicator_selector": "[content-setting=cookies]", 398 "indicator_selector": "[content-setting=cookies]",
448 "indicator_tests": [ 399 "indicator_tests": [
449 { "policy": { "ClearSiteDataOnExit": true }, 400 { "policy": { "ClearSiteDataOnExit": true },
450 "value": "session"} 401 "value": "session"}
451 ] 402 ]
452 } 403 }
453 ], 404 ],
454 405
455 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 406 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
456 }, 407 },
457 408
458 "ProxyMode": { 409 "ProxyMode": {
459 "os": ["win", "mac", "linux"], 410 "os": ["win", "mac", "linux"],
460 "test_policy": { "ProxyMode": "direct" }, 411 "test_policy": { "ProxyMode": "direct" },
461 "settings_pages": [],
462 "pref_mappings": [ 412 "pref_mappings": [
463 { "pref": "proxy", 413 { "pref": "proxy",
464 "indicator_tests": [ 414 "indicator_tests": [
465 { "policy": { "ProxyMode": "direct" } } 415 { "policy": { "ProxyMode": "direct" } }
466 ] 416 ]
467 } 417 }
468 ], 418 ]
469
470 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
471 }, 419 },
472 420
473 "ProxyServerMode": { 421 "ProxyServerMode": {
474 "os": ["win", "mac", "linux"], 422 "os": ["win", "mac", "linux"],
475 "test_policy": { "ProxyServerMode": 0 }, 423 "test_policy": { "ProxyServerMode": 0 },
476 "settings_pages": [],
477 "pref_mappings": [ 424 "pref_mappings": [
478 { "pref": "proxy", 425 { "pref": "proxy",
479 "indicator_tests": [ 426 "indicator_tests": [
480 { "policy": { "ProxyServerMode": 0 } } 427 { "policy": { "ProxyServerMode": 0 } }
481 ] 428 ]
482 } 429 }
483 ], 430 ]
484
485 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
486 }, 431 },
487 432
488 "ProxyServer": { 433 "ProxyServer": {
489 "os": ["win", "mac", "linux"], 434 "os": ["win", "mac", "linux"],
490 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localh ost:8080" }, 435 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localh ost:8080" },
491 "settings_pages": [],
492 "pref_mappings": [ 436 "pref_mappings": [
493 { "pref": "proxy", 437 { "pref": "proxy",
494 "indicator_tests": [ 438 "indicator_tests": [
495 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://loc alhost:8080" } } 439 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://loc alhost:8080" } }
496 ] 440 ]
497 } 441 }
498 ] 442 ]
499 }, 443 },
500 444
501 "ProxyPacUrl": { 445 "ProxyPacUrl": {
502 "os": ["win", "mac", "linux"], 446 "os": ["win", "mac", "linux"],
503 "test_policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost :8080/proxy.pac" }, 447 "test_policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost :8080/proxy.pac" },
504 "settings_pages": [],
505 "pref_mappings": [ 448 "pref_mappings": [
506 { "pref": "proxy", 449 { "pref": "proxy",
507 "indicator_tests": [ 450 "indicator_tests": [
508 { "policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localh ost:8080/proxy.pac" } } 451 { "policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localh ost:8080/proxy.pac" } }
509 ] 452 ]
510 } 453 }
511 ] 454 ]
512 }, 455 },
513 456
514 "ProxyBypassList": { 457 "ProxyBypassList": {
515 "os": ["win", "mac", "linux"], 458 "os": ["win", "mac", "linux"],
516 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localh ost:8080", "ProxyBypassList": "localhost" }, 459 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localh ost:8080", "ProxyBypassList": "localhost" },
517 "settings_pages": [],
518 "pref_mappings": [ 460 "pref_mappings": [
519 { "pref": "proxy", 461 { "pref": "proxy",
520 "indicator_tests": [ 462 "indicator_tests": [
521 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://loc alhost:8080", "ProxyBypassList": "localhost" } } 463 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://loc alhost:8080", "ProxyBypassList": "localhost" } }
522 ] 464 ]
523 } 465 }
524 ] 466 ]
525 }, 467 },
526 468
527 "ProxySettings": { 469 "ProxySettings": {
528 "os": ["linux", "win"], 470 "os": ["linux", "win"],
529 "test_policy": { "ProxySettings": { "ProxyMode": "direct" } }, 471 "test_policy": { "ProxySettings": { "ProxyMode": "direct" } },
530 "settings_pages": [],
531 "pref_mappings": [ 472 "pref_mappings": [
532 { "pref": "proxy", 473 { "pref": "proxy",
533 "indicator_tests": [ 474 "indicator_tests": [
534 { "policy": { "ProxySettings": { "ProxyMode": "direct" } } } 475 { "policy": { "ProxySettings": { "ProxyMode": "direct" } } }
535 ] 476 ]
536 } 477 }
537 ] 478 ]
538 }, 479 },
539 480
540 "EnableOriginBoundCerts": { 481 "EnableOriginBoundCerts": {
541 "os": ["win", "mac", "linux"], 482 "os": ["win", "mac", "linux"],
542 "test_policy": { "EnableOriginBoundCerts": true }, 483 "test_policy": { "EnableOriginBoundCerts": true },
543 "settings_pages": [],
544 "pref_mappings": [ 484 "pref_mappings": [
545 { "pref": "ssl.origin_bound_certs.enabled", 485 { "pref": "ssl.origin_bound_certs.enabled",
546 "local_state": true 486 "local_state": true
547 } 487 }
548 ] 488 ]
549 }, 489 },
550 490
551 "DisableSSLRecordSplitting": { 491 "DisableSSLRecordSplitting": {
552 "os": ["win", "linux", "mac", "chromeos"], 492 "os": ["win", "linux", "mac", "chromeos"],
553 "test_policy": { "DisableSSLRecordSplitting": true }, 493 "test_policy": { "DisableSSLRecordSplitting": true },
554 "settings_pages": [],
555 "pref_mappings": [ 494 "pref_mappings": [
556 { "pref": "ssl.ssl_record_splitting.disabled", 495 { "pref": "ssl.ssl_record_splitting.disabled",
557 "local_state": true 496 "local_state": true
558 } 497 }
559 ] 498 ]
560 }, 499 },
561 500
562 "EnableOnlineRevocationChecks": { 501 "EnableOnlineRevocationChecks": {
563 "os": ["win", "linux", "mac", "chromeos"], 502 "os": ["win", "linux", "mac", "chromeos"],
564 "test_policy": { "EnableOnlineRevocationChecks": true }, 503 "test_policy": { "EnableOnlineRevocationChecks": true },
565 "settings_pages": [],
566 "pref_mappings": [ 504 "pref_mappings": [
567 { "pref": "ssl.rev_checking.enabled", 505 { "pref": "ssl.rev_checking.enabled",
568 "local_state": true 506 "local_state": true
569 } 507 }
570 ] 508 ]
571 }, 509 },
572 510
573 "AuthSchemes": { 511 "AuthSchemes": {
574 "os": ["win", "linux", "mac", "chromeos"], 512 "os": ["win", "linux", "mac", "chromeos"],
575 "test_policy": { "AuthSchemes": "AuthSchemes" }, 513 "test_policy": { "AuthSchemes": "AuthSchemes" },
576 "settings_pages": [],
577 "pref_mappings": [ 514 "pref_mappings": [
578 { "pref": "auth.schemes", 515 { "pref": "auth.schemes",
579 "local_state": true 516 "local_state": true
580 } 517 }
581 ] 518 ]
582 }, 519 },
583 520
584 "DisableAuthNegotiateCnameLookup": { 521 "DisableAuthNegotiateCnameLookup": {
585 "os": ["win", "linux", "mac", "chromeos"], 522 "os": ["win", "linux", "mac", "chromeos"],
586 "test_policy": { "DisableAuthNegotiateCnameLookup": true }, 523 "test_policy": { "DisableAuthNegotiateCnameLookup": true },
587 "settings_pages": [],
588 "pref_mappings": [ 524 "pref_mappings": [
589 { "pref": "auth.disable_negotiate_cname_lookup", 525 { "pref": "auth.disable_negotiate_cname_lookup",
590 "local_state": true 526 "local_state": true
591 } 527 }
592 ] 528 ]
593 }, 529 },
594 530
595 "EnableAuthNegotiatePort": { 531 "EnableAuthNegotiatePort": {
596 "os": ["win", "linux", "mac", "chromeos"], 532 "os": ["win", "linux", "mac", "chromeos"],
597 "test_policy": { "EnableAuthNegotiatePort": true }, 533 "test_policy": { "EnableAuthNegotiatePort": true },
598 "settings_pages": [],
599 "pref_mappings": [ 534 "pref_mappings": [
600 { "pref": "auth.enable_negotiate_port", 535 { "pref": "auth.enable_negotiate_port",
601 "local_state": true 536 "local_state": true
602 } 537 }
603 ] 538 ]
604 }, 539 },
605 540
606 "AuthServerWhitelist": { 541 "AuthServerWhitelist": {
607 "os": ["win", "linux", "mac", "chromeos"], 542 "os": ["win", "linux", "mac", "chromeos"],
608 "test_policy": { "AuthServerWhitelist": "localhost" }, 543 "test_policy": { "AuthServerWhitelist": "localhost" },
609 "settings_pages": [],
610 "pref_mappings": [ 544 "pref_mappings": [
611 { "pref": "auth.server_whitelist", 545 { "pref": "auth.server_whitelist",
612 "local_state": true 546 "local_state": true
613 } 547 }
614 ] 548 ]
615 }, 549 },
616 550
617 "AuthNegotiateDelegateWhitelist": { 551 "AuthNegotiateDelegateWhitelist": {
618 "os": ["win", "linux", "mac", "chromeos"], 552 "os": ["win", "linux", "mac", "chromeos"],
619 "test_policy": { "AuthNegotiateDelegateWhitelist": "localhost" }, 553 "test_policy": { "AuthNegotiateDelegateWhitelist": "localhost" },
620 "settings_pages": [],
621 "pref_mappings": [ 554 "pref_mappings": [
622 { "pref": "auth.negotiate_delegate_whitelist", 555 { "pref": "auth.negotiate_delegate_whitelist",
623 "local_state": true 556 "local_state": true
624 } 557 }
625 ] 558 ]
626 }, 559 },
627 560
628 "GSSAPILibraryName": { 561 "GSSAPILibraryName": {
629 "os": ["mac", "linux"], 562 "os": ["mac", "linux"],
630 "test_policy": { "GSSAPILibraryName": "libwhatever.so" }, 563 "test_policy": { "GSSAPILibraryName": "libwhatever.so" },
631 "settings_pages": [],
632 "pref_mappings": [ 564 "pref_mappings": [
633 { "pref": "auth.gssapi_library_name", 565 { "pref": "auth.gssapi_library_name",
634 "local_state": true 566 "local_state": true
635 } 567 }
636 ] 568 ]
637 }, 569 },
638 570
639 "AllowCrossOriginAuthPrompt": { 571 "AllowCrossOriginAuthPrompt": {
640 "os": ["win", "mac", "linux"], 572 "os": ["win", "mac", "linux"],
641 "test_policy": { "AllowCrossOriginAuthPrompt": true }, 573 "test_policy": { "AllowCrossOriginAuthPrompt": true },
642 "settings_pages": [],
643 "pref_mappings": [ 574 "pref_mappings": [
644 { "pref": "auth.allow_cross_origin_prompt", 575 { "pref": "auth.allow_cross_origin_prompt",
645 "local_state": true 576 "local_state": true
646 } 577 }
647 ] 578 ]
648 }, 579 },
649 580
650 "ExtensionInstallBlacklist": { 581 "ExtensionInstallBlacklist": {
651 "os": ["win", "linux", "mac", "chromeos"], 582 "os": ["win", "linux", "mac", "chromeos"],
652 "test_policy": { "ExtensionInstallBlacklist": ["*"] }, 583 "test_policy": { "ExtensionInstallBlacklist": ["*"] },
653 "settings_pages": [],
654 "pref_mappings": [ 584 "pref_mappings": [
655 { "pref": "extensions.install.denylist" } 585 { "pref": "extensions.install.denylist" }
656 ] 586 ]
657 }, 587 },
658 588
659 "ExtensionInstallWhitelist": { 589 "ExtensionInstallWhitelist": {
660 "os": ["win", "linux", "mac", "chromeos"], 590 "os": ["win", "linux", "mac", "chromeos"],
661 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoeg djlp"] }, 591 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoeg djlp"] },
662 "settings_pages": [],
663 "pref_mappings": [ 592 "pref_mappings": [
664 { "pref": "extensions.install.allowlist" } 593 { "pref": "extensions.install.allowlist" }
665 ] 594 ]
666 }, 595 },
667 596
668 "ExtensionInstallForcelist": { 597 "ExtensionInstallForcelist": {
669 "os": ["win", "linux", "mac", "chromeos"], 598 "os": ["win", "linux", "mac", "chromeos"],
670 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoeg djlp;https://clients2.google.com/service/update2/crx"] }, 599 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoeg djlp;https://clients2.google.com/service/update2/crx"] },
671 "settings_pages": [],
672 "pref_mappings": [ 600 "pref_mappings": [
673 { "pref": "extensions.install.forcelist" } 601 { "pref": "extensions.install.forcelist" }
674 ] 602 ]
675 }, 603 },
676 604
677 "ExtensionInstallSources": { 605 "ExtensionInstallSources": {
678 "os": ["win", "linux", "mac", "chromeos"], 606 "os": ["win", "linux", "mac", "chromeos"],
679 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*" ] }, 607 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*" ] },
680 "settings_pages": [],
681 "pref_mappings": [ 608 "pref_mappings": [
682 { "pref": "extensions.allowed_install_sites" } 609 { "pref": "extensions.allowed_install_sites" }
683 ] 610 ]
684 }, 611 },
685 612
686 "ShowHomeButton": { 613 "ShowHomeButton": {
687 "os": ["win", "linux", "mac", "chromeos"], 614 "os": ["win", "linux", "mac", "chromeos"],
688 "can_be_recommended": true, 615 "can_be_recommended": true,
689 "test_policy": { "ShowHomeButton": true }, 616 "test_policy": { "ShowHomeButton": true },
690 "settings_pages": ["chrome://settings-frame"],
691 "pref_mappings": [ 617 "pref_mappings": [
692 { "pref": "browser.show_home_button", 618 { "pref": "browser.show_home_button",
693 "indicator_tests": [ 619 "indicator_tests": [
694 { "policy": { "ShowHomeButton": true } } 620 { "policy": { "ShowHomeButton": true } }
695 ] 621 ]
696 } 622 }
697 ] 623 ]
698 }, 624 },
699 625
700 "DeveloperToolsDisabled": { 626 "DeveloperToolsDisabled": {
701 "os": ["win", "linux", "mac", "chromeos"], 627 "os": ["win", "linux", "mac", "chromeos"],
702 "test_policy": { "DeveloperToolsDisabled": true }, 628 "test_policy": { "DeveloperToolsDisabled": true },
703 "settings_pages": [],
704 "pref_mappings": [ 629 "pref_mappings": [
705 { "pref": "devtools.disabled" } 630 { "pref": "devtools.disabled" }
706 ] 631 ]
707 }, 632 },
708 633
709 "RestoreOnStartup": { 634 "RestoreOnStartup": {
710 "os": ["win", "linux", "mac", "chromeos"], 635 "os": ["win", "linux", "mac", "chromeos"],
711 "can_be_recommended": true, 636 "can_be_recommended": true,
712 "test_policy": { "RestoreOnStartup": 4 }, 637 "test_policy": { "RestoreOnStartup": 4 },
713 "settings_pages": ["chrome://settings-frame"],
714 "pref_mappings": [ 638 "pref_mappings": [
715 { "pref": "session.restore_on_startup", 639 { "pref": "session.restore_on_startup",
716 "indicator_tests": [ 640 "indicator_tests": [
717 { "policy": { "RestoreOnStartup": 1 }, 641 { "policy": { "RestoreOnStartup": 1 },
718 "value": "1"}, 642 "value": "1"},
719 { "policy": { "RestoreOnStartup": 4 }, 643 { "policy": { "RestoreOnStartup": 4 },
720 "value": "4"}, 644 "value": "4"},
721 { "policy": { "RestoreOnStartup": 5 }, 645 { "policy": { "RestoreOnStartup": 5 },
722 "value": "5"} 646 "value": "5"}
723 ] 647 ]
724 } 648 }
725 ] 649 ]
726 }, 650 },
727 651
728 "RestoreOnStartupURLs": { 652 "RestoreOnStartupURLs": {
729 "os": ["win", "linux", "mac", "chromeos"], 653 "os": ["win", "linux", "mac", "chromeos"],
730 "can_be_recommended": true, 654 "can_be_recommended": true,
731 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] }, 655 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] },
732 "settings_pages": [],
733 "pref_mappings": [ 656 "pref_mappings": [
734 { "pref": "session.urls_to_restore_on_startup", 657 { "pref": "session.urls_to_restore_on_startup",
735 "indicator_tests": [ 658 "indicator_tests": [
736 { "policy": { "RestoreOnStartupURLs": ["chromium.org"] } } 659 { "policy": { "RestoreOnStartupURLs": ["chromium.org"] } }
737 ] 660 ]
738 } 661 }
739 ], 662 ]
740
741 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
742 }, 663 },
743 664
744 "BlockThirdPartyCookies": { 665 "BlockThirdPartyCookies": {
745 "os": ["win", "linux", "mac", "chromeos"], 666 "os": ["win", "linux", "mac", "chromeos"],
746 "can_be_recommended": true, 667 "can_be_recommended": true,
747 "test_policy": { "BlockThirdPartyCookies": true }, 668 "test_policy": { "BlockThirdPartyCookies": true },
748 "settings_pages": ["chrome://settings-frame/content"],
749 "pref_mappings": [ 669 "pref_mappings": [
750 { "pref": "profile.block_third_party_cookies", 670 { "pref": "profile.block_third_party_cookies",
751 "indicator_tests": [ 671 "indicator_tests": [
752 { "policy": { "BlockThirdPartyCookies": true } } 672 { "policy": { "BlockThirdPartyCookies": true } }
753 ] 673 ]
754 } 674 }
755 ], 675 ]
756
757 "note": "TODO(joaodasilva): The banner is out of place. http://crbug.com/777 91"
758 }, 676 },
759 677
760 "DefaultSearchProviderEnabled": { 678 "DefaultSearchProviderEnabled": {
761 "os": ["win", "linux", "mac", "chromeos"], 679 "os": ["win", "linux", "mac", "chromeos"],
762 "test_policy": { "DefaultSearchProviderEnabled": false }, 680 "test_policy": { "DefaultSearchProviderEnabled": false },
763 "settings_pages": [],
764 "pref_mappings": [ 681 "pref_mappings": [
765 { "pref": "default_search_provider.enabled", 682 { "pref": "default_search_provider.enabled",
766 "indicator_tests": [ 683 "indicator_tests": [
767 { "policy": { "DefaultSearchProviderEnabled": false } }, 684 { "policy": { "DefaultSearchProviderEnabled": false } },
768 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProv iderSearchURL": "http://www.google.com/?q={searchTerms}" } } 685 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProv iderSearchURL": "http://www.google.com/?q={searchTerms}" } }
769 ] 686 ]
770 } 687 }
771 ], 688 ]
772
773 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
774 }, 689 },
775 690
776 "DefaultSearchProviderName": { 691 "DefaultSearchProviderName": {
777 "os": ["win", "linux", "mac", "chromeos"], 692 "os": ["win", "linux", "mac", "chromeos"],
778 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderName": "google.com" }, 693 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderName": "google.com" },
779 "settings_pages": [],
780 "pref_mappings": [ 694 "pref_mappings": [
781 { "pref": "default_search_provider.name" } 695 { "pref": "default_search_provider.name" }
782 ] 696 ]
783 }, 697 },
784 698
785 "DefaultSearchProviderKeyword": { 699 "DefaultSearchProviderKeyword": {
786 "os": ["win", "linux", "mac", "chromeos"], 700 "os": ["win", "linux", "mac", "chromeos"],
787 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderKeyword": "google" }, 701 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderKeyword": "google" },
788 "settings_pages": [],
789 "pref_mappings": [ 702 "pref_mappings": [
790 { "pref": "default_search_provider.keyword" } 703 { "pref": "default_search_provider.keyword" }
791 ] 704 ]
792 }, 705 },
793 706
794 "DefaultSearchProviderSearchURL": { 707 "DefaultSearchProviderSearchURL": {
795 "os": ["win", "linux", "mac", "chromeos"], 708 "os": ["win", "linux", "mac", "chromeos"],
796 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}" }, 709 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}" },
797 "settings_pages": [],
798 "pref_mappings": [ 710 "pref_mappings": [
799 { "pref": "default_search_provider.search_url", 711 { "pref": "default_search_provider.search_url",
800 "indicator_selector": "[setting=search-engine]", 712 "indicator_selector": "[setting=search-engine]",
801 "indicator_tests": [ 713 "indicator_tests": [
802 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProv iderSearchURL": "http://www.google.com/?q={searchTerms}" } } 714 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProv iderSearchURL": "http://www.google.com/?q={searchTerms}" } }
803 ] 715 ]
804 } 716 }
805 ], 717 ]
806
807 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
808 }, 718 },
809 719
810 "DefaultSearchProviderSuggestURL": { 720 "DefaultSearchProviderSuggestURL": {
811 "os": ["win", "linux", "mac", "chromeos"], 721 "os": ["win", "linux", "mac", "chromeos"],
812 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderSuggestURL": "http://www.google.com/sugge st?q={searchTerms}" }, 722 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderSuggestURL": "http://www.google.com/sugge st?q={searchTerms}" },
813 "settings_pages": [],
814 "pref_mappings": [ 723 "pref_mappings": [
815 { "pref": "default_search_provider.suggest_url" } 724 { "pref": "default_search_provider.suggest_url" }
816 ] 725 ]
817 }, 726 },
818 727
819 "DefaultSearchProviderInstantURL": { 728 "DefaultSearchProviderInstantURL": {
820 "os": ["win", "linux", "mac", "chromeos"], 729 "os": ["win", "linux", "mac", "chromeos"],
821 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderInstantURL": "http://www.google.com/insta nt?q={searchTerms}" }, 730 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderInstantURL": "http://www.google.com/insta nt?q={searchTerms}" },
822 "settings_pages": [],
823 "pref_mappings": [ 731 "pref_mappings": [
824 { "pref": "default_search_provider.instant_url" } 732 { "pref": "default_search_provider.instant_url" }
825 ] 733 ]
826 }, 734 },
827 735
828 "DefaultSearchProviderIconURL": { 736 "DefaultSearchProviderIconURL": {
829 "os": ["win", "linux", "mac", "chromeos"], 737 "os": ["win", "linux", "mac", "chromeos"],
830 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderIconURL": "http://www.google.com/favicon. ico" }, 738 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderIconURL": "http://www.google.com/favicon. ico" },
831 "settings_pages": [],
832 "pref_mappings": [ 739 "pref_mappings": [
833 { "pref": "default_search_provider.icon_url" } 740 { "pref": "default_search_provider.icon_url" }
834 ] 741 ]
835 }, 742 },
836 743
837 "DefaultSearchProviderEncodings": { 744 "DefaultSearchProviderEncodings": {
838 "os": ["win", "linux", "mac", "chromeos"], 745 "os": ["win", "linux", "mac", "chromeos"],
839 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] }, 746 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] },
840 "settings_pages": [],
841 "pref_mappings": [ 747 "pref_mappings": [
842 { "pref": "default_search_provider.encodings" } 748 { "pref": "default_search_provider.encodings" }
843 ] 749 ]
844 }, 750 },
845 751
846 "DefaultSearchProviderAlternateURLs": { 752 "DefaultSearchProviderAlternateURLs": {
847 "os": ["win", "linux", "mac", "chromeos"], 753 "os": ["win", "linux", "mac", "chromeos"],
848 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/# q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] }, 754 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/# q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] },
849 "settings_pages": [],
850 "pref_mappings": [ 755 "pref_mappings": [
851 { "pref": "default_search_provider.alternate_urls" } 756 { "pref": "default_search_provider.alternate_urls" }
852 ] 757 ]
853 }, 758 },
854 759
855 "DefaultCookiesSetting": { 760 "DefaultCookiesSetting": {
856 "os": ["win", "linux", "mac", "chromeos"], 761 "os": ["win", "linux", "mac", "chromeos"],
857 "test_policy": { "DefaultCookiesSetting": 2 }, 762 "test_policy": { "DefaultCookiesSetting": 2 },
858 "settings_pages": ["chrome://settings-frame/content"],
859 "pref_mappings": [ 763 "pref_mappings": [
860 { "pref": "profile.managed_default_content_settings.cookies", 764 { "pref": "profile.managed_default_content_settings.cookies",
861 "indicator_selector": "[content-setting=cookies]", 765 "indicator_selector": "[content-setting=cookies]",
862 "indicator_tests": [ 766 "indicator_tests": [
863 { "policy": { "DefaultCookiesSetting": 1 }, 767 { "policy": { "DefaultCookiesSetting": 1 },
864 "value": "allow"}, 768 "value": "allow"},
865 { "policy": { "DefaultCookiesSetting": 2 }, 769 { "policy": { "DefaultCookiesSetting": 2 },
866 "value": "block"}, 770 "value": "block"},
867 { "policy": { "DefaultCookiesSetting": 4 }, 771 { "policy": { "DefaultCookiesSetting": 4 },
868 "value": "session"} 772 "value": "session"}
869 ] 773 ]
870 } 774 }
871 ], 775 ],
872 776
873 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 777 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
874 }, 778 },
875 779
876 "DefaultImagesSetting": { 780 "DefaultImagesSetting": {
877 "os": ["win", "linux", "mac", "chromeos"], 781 "os": ["win", "linux", "mac", "chromeos"],
878 "test_policy": { "DefaultImagesSetting": 2 }, 782 "test_policy": { "DefaultImagesSetting": 2 },
879 "settings_pages": ["chrome://settings-frame/content"],
880 "pref_mappings": [ 783 "pref_mappings": [
881 { "pref": "profile.managed_default_content_settings.images", 784 { "pref": "profile.managed_default_content_settings.images",
882 "indicator_selector": "[content-setting=images]", 785 "indicator_selector": "[content-setting=images]",
883 "indicator_tests": [ 786 "indicator_tests": [
884 { "policy": { "DefaultImagesSetting": 1 }, 787 { "policy": { "DefaultImagesSetting": 1 },
885 "value": "allow"}, 788 "value": "allow"},
886 { "policy": { "DefaultImagesSetting": 2 }, 789 { "policy": { "DefaultImagesSetting": 2 },
887 "value": "block"} 790 "value": "block"}
888 ] 791 ]
889 } 792 }
890 ], 793 ],
891 794
892 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 795 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
893 }, 796 },
894 797
895 "DefaultJavaScriptSetting": { 798 "DefaultJavaScriptSetting": {
896 "os": ["win", "linux", "mac", "chromeos"], 799 "os": ["win", "linux", "mac", "chromeos"],
897 "test_policy": { "DefaultJavaScriptSetting": 2 }, 800 "test_policy": { "DefaultJavaScriptSetting": 2 },
898 "settings_pages": ["chrome://settings-frame/content"],
899 "pref_mappings": [ 801 "pref_mappings": [
900 { "pref": "profile.managed_default_content_settings.javascript", 802 { "pref": "profile.managed_default_content_settings.javascript",
901 "indicator_selector": "[content-setting=javascript]", 803 "indicator_selector": "[content-setting=javascript]",
902 "indicator_tests": [ 804 "indicator_tests": [
903 { "policy": { "DefaultJavaScriptSetting": 1 }, 805 { "policy": { "DefaultJavaScriptSetting": 1 },
904 "value": "allow"}, 806 "value": "allow"},
905 { "policy": { "DefaultJavaScriptSetting": 2 }, 807 { "policy": { "DefaultJavaScriptSetting": 2 },
906 "value": "block"} 808 "value": "block"}
907 ] 809 ]
908 } 810 }
909 ], 811 ],
910 812
911 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 813 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
912 }, 814 },
913 815
914 "DefaultPluginsSetting": { 816 "DefaultPluginsSetting": {
915 "os": ["win", "linux", "mac", "chromeos"], 817 "os": ["win", "linux", "mac", "chromeos"],
916 "test_policy": { "DefaultPluginsSetting": 2 }, 818 "test_policy": { "DefaultPluginsSetting": 2 },
917 "settings_pages": ["chrome://settings-frame/content"],
918 "pref_mappings": [ 819 "pref_mappings": [
919 { "pref": "profile.managed_default_content_settings.plugins", 820 { "pref": "profile.managed_default_content_settings.plugins",
920 "indicator_selector": "[content-setting=plugins]", 821 "indicator_selector": "[content-setting=plugins]",
921 "indicator_tests": [ 822 "indicator_tests": [
922 { "policy": { "DefaultPluginsSetting": 1 }, 823 { "policy": { "DefaultPluginsSetting": 1 },
923 "value": "allow"}, 824 "value": "allow"},
924 { "policy": { "DefaultPluginsSetting": 2 }, 825 { "policy": { "DefaultPluginsSetting": 2 },
925 "value": "block"}, 826 "value": "block"},
926 { "policy": { "DefaultPluginsSetting": 3 }, 827 { "policy": { "DefaultPluginsSetting": 3 },
927 "value": "ask"} 828 "value": "ask"}
928 ] 829 ]
929 } 830 }
930 ], 831 ],
931 832
932 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 833 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
933 }, 834 },
934 835
935 "DefaultPopupsSetting": { 836 "DefaultPopupsSetting": {
936 "os": ["win", "linux", "mac", "chromeos"], 837 "os": ["win", "linux", "mac", "chromeos"],
937 "test_policy": { "DefaultPopupsSetting": 2 }, 838 "test_policy": { "DefaultPopupsSetting": 2 },
938 "settings_pages": ["chrome://settings-frame/content"],
939 "pref_mappings": [ 839 "pref_mappings": [
940 { "pref": "profile.managed_default_content_settings.popups", 840 { "pref": "profile.managed_default_content_settings.popups",
941 "indicator_selector": "[content-setting=popups]", 841 "indicator_selector": "[content-setting=popups]",
942 "indicator_tests": [ 842 "indicator_tests": [
943 { "policy": { "DefaultPopupsSetting": 1 }, 843 { "policy": { "DefaultPopupsSetting": 1 },
944 "value": "allow"}, 844 "value": "allow"},
945 { "policy": { "DefaultPopupsSetting": 2 }, 845 { "policy": { "DefaultPopupsSetting": 2 },
946 "value": "block"} 846 "value": "block"}
947 ] 847 ]
948 } 848 }
949 ], 849 ],
950 850
951 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 851 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
952 }, 852 },
953 853
954 "DefaultNotificationsSetting": { 854 "DefaultNotificationsSetting": {
955 "os": ["win", "linux", "mac", "chromeos"], 855 "os": ["win", "linux", "mac", "chromeos"],
956 "test_policy": { "DefaultNotificationsSetting": 2 }, 856 "test_policy": { "DefaultNotificationsSetting": 2 },
957 "settings_pages": ["chrome://settings-frame/content"],
958 "pref_mappings": [ 857 "pref_mappings": [
959 { "pref": "profile.managed_default_content_settings.notifications", 858 { "pref": "profile.managed_default_content_settings.notifications",
960 "indicator_selector": "[content-setting=notifications]", 859 "indicator_selector": "[content-setting=notifications]",
961 "indicator_tests": [ 860 "indicator_tests": [
962 { "policy": { "DefaultNotificationsSetting": 1 }, 861 { "policy": { "DefaultNotificationsSetting": 1 },
963 "value": "allow"}, 862 "value": "allow"},
964 { "policy": { "DefaultNotificationsSetting": 2 }, 863 { "policy": { "DefaultNotificationsSetting": 2 },
965 "value": "block"}, 864 "value": "block"},
966 { "policy": { "DefaultNotificationsSetting": 3 }, 865 { "policy": { "DefaultNotificationsSetting": 3 },
967 "value": "ask"} 866 "value": "ask"}
968 ] 867 ]
969 } 868 }
970 ], 869 ],
971 870
972 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 871 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
973 }, 872 },
974 873
975 "DefaultGeolocationSetting": { 874 "DefaultGeolocationSetting": {
976 "os": ["win", "linux", "mac", "chromeos"], 875 "os": ["win", "linux", "mac", "chromeos"],
977 "test_policy": { "DefaultGeolocationSetting": 2 }, 876 "test_policy": { "DefaultGeolocationSetting": 2 },
978 "settings_pages": ["chrome://settings-frame/content"],
979 "pref_mappings": [ 877 "pref_mappings": [
980 { "pref": "profile.managed_default_content_settings.geolocation", 878 { "pref": "profile.managed_default_content_settings.geolocation",
981 "indicator_selector": "[content-setting=location]", 879 "indicator_selector": "[content-setting=location]",
982 "indicator_tests": [ 880 "indicator_tests": [
983 { "policy": { "DefaultGeolocationSetting": 1 }, 881 { "policy": { "DefaultGeolocationSetting": 1 },
984 "value": "allow"}, 882 "value": "allow"},
985 { "policy": { "DefaultGeolocationSetting": 2 }, 883 { "policy": { "DefaultGeolocationSetting": 2 },
986 "value": "block"}, 884 "value": "block"},
987 { "policy": { "DefaultGeolocationSetting": 3 }, 885 { "policy": { "DefaultGeolocationSetting": 3 },
988 "value": "ask"} 886 "value": "ask"}
989 ] 887 ]
990 } 888 }
991 ], 889 ],
992 890
993 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 891 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
994 }, 892 },
995 893
996 "DefaultMediaStreamSetting": { 894 "DefaultMediaStreamSetting": {
997 "os": ["win", "linux", "mac", "chromeos"], 895 "os": ["win", "linux", "mac", "chromeos"],
998 "test_policy": { "DefaultMediaStreamSetting": 2 }, 896 "test_policy": { "DefaultMediaStreamSetting": 2 },
999 "settings_pages": ["chrome://settings-frame/content"],
1000 "pref_mappings": [ 897 "pref_mappings": [
1001 { "pref": "profile.managed_default_content_settings.media_stream", 898 { "pref": "profile.managed_default_content_settings.media_stream",
1002 "indicator_selector": "[content-setting=media-stream]", 899 "indicator_selector": "[content-setting=media-stream]",
1003 "indicator_tests": [ 900 "indicator_tests": [
1004 { "policy": { "DefaultMediaStreamSetting": 2 }, 901 { "policy": { "DefaultMediaStreamSetting": 2 },
1005 "value": "block" 902 "value": "block"
1006 }, 903 },
1007 { "policy": { "DefaultMediaStreamSetting": 3 }, 904 { "policy": { "DefaultMediaStreamSetting": 3 },
1008 "value": "ask" 905 "value": "ask"
1009 } 906 }
1010 ] 907 ]
1011 } 908 }
1012 ], 909 ],
1013 910
1014 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 911 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1015 }, 912 },
1016 913
1017 "AutoSelectCertificateForUrls": { 914 "AutoSelectCertificateForUrls": {
1018 "os": ["win", "linux", "mac", "chromeos"], 915 "os": ["win", "linux", "mac", "chromeos"],
1019 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://examp le.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] }, 916 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://examp le.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] },
1020 "settings_pages": [],
1021 "pref_mappings": [ 917 "pref_mappings": [
1022 { "pref": "profile.managed_auto_select_certificate_for_urls" } 918 { "pref": "profile.managed_auto_select_certificate_for_urls" }
1023 ], 919 ],
1024 920
1025 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 921 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1026 }, 922 },
1027 923
1028 "CookiesAllowedForUrls": { 924 "CookiesAllowedForUrls": {
1029 "os": ["win", "linux", "mac", "chromeos"], 925 "os": ["win", "linux", "mac", "chromeos"],
1030 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] }, 926 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] },
1031 "settings_pages": [],
1032 "pref_mappings": [ 927 "pref_mappings": [
1033 { "pref": "profile.managed_cookies_allowed_for_urls", 928 { "pref": "profile.managed_cookies_allowed_for_urls",
1034 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=cookies]').click();", 929 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=cookies]').click();",
1035 "indicator_selector": "[content-exception=cookies]", 930 "indicator_selector": "[content-exception=cookies]",
1036 "indicator_tests": [ 931 "indicator_tests": [
1037 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] } } 932 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] } }
1038 ] 933 ]
1039 } 934 }
1040 ], 935 ],
1041 936
1042 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 937 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1043 }, 938 },
1044 939
1045 "CookiesBlockedForUrls": { 940 "CookiesBlockedForUrls": {
1046 "os": ["win", "linux", "mac", "chromeos"], 941 "os": ["win", "linux", "mac", "chromeos"],
1047 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] }, 942 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] },
1048 "settings_pages": [],
1049 "pref_mappings": [ 943 "pref_mappings": [
1050 { "pref": "profile.managed_cookies_blocked_for_urls", 944 { "pref": "profile.managed_cookies_blocked_for_urls",
1051 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=cookies]').click();", 945 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=cookies]').click();",
1052 "indicator_selector": "[content-exception=cookies]", 946 "indicator_selector": "[content-exception=cookies]",
1053 "indicator_tests": [ 947 "indicator_tests": [
1054 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] } } 948 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] } }
1055 ] 949 ]
1056 } 950 }
1057 ], 951 ],
1058 952
1059 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 953 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1060 }, 954 },
1061 955
1062 "CookiesSessionOnlyForUrls": { 956 "CookiesSessionOnlyForUrls": {
1063 "os": ["win", "linux", "mac", "chromeos"], 957 "os": ["win", "linux", "mac", "chromeos"],
1064 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] }, 958 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] },
1065 "settings_pages": [],
1066 "pref_mappings": [ 959 "pref_mappings": [
1067 { "pref": "profile.managed_cookies_sessiononly_for_urls", 960 { "pref": "profile.managed_cookies_sessiononly_for_urls",
1068 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=cookies]').click();", 961 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=cookies]').click();",
1069 "indicator_selector": "[content-exception=cookies]", 962 "indicator_selector": "[content-exception=cookies]",
1070 "indicator_tests": [ 963 "indicator_tests": [
1071 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] } } 964 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] } }
1072 ] 965 ]
1073 } 966 }
1074 ], 967 ],
1075 968
1076 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 969 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1077 }, 970 },
1078 971
1079 "ImagesAllowedForUrls": { 972 "ImagesAllowedForUrls": {
1080 "os": ["win", "linux", "mac", "chromeos"], 973 "os": ["win", "linux", "mac", "chromeos"],
1081 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] }, 974 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] },
1082 "settings_pages": [],
1083 "pref_mappings": [ 975 "pref_mappings": [
1084 { "pref": "profile.managed_images_allowed_for_urls", 976 { "pref": "profile.managed_images_allowed_for_urls",
1085 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=images]').click();", 977 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=images]').click();",
1086 "indicator_selector": "[content-exception=images]", 978 "indicator_selector": "[content-exception=images]",
1087 "indicator_tests": [ 979 "indicator_tests": [
1088 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] } } 980 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] } }
1089 ] 981 ]
1090 } 982 }
1091 ], 983 ],
1092 984
1093 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 985 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1094 }, 986 },
1095 987
1096 "ImagesBlockedForUrls": { 988 "ImagesBlockedForUrls": {
1097 "os": ["win", "linux", "mac", "chromeos"], 989 "os": ["win", "linux", "mac", "chromeos"],
1098 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] }, 990 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] },
1099 "settings_pages": [],
1100 "pref_mappings": [ 991 "pref_mappings": [
1101 { "pref": "profile.managed_images_blocked_for_urls", 992 { "pref": "profile.managed_images_blocked_for_urls",
1102 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=images]').click();", 993 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=images]').click();",
1103 "indicator_selector": "[content-exception=images]", 994 "indicator_selector": "[content-exception=images]",
1104 "indicator_tests": [ 995 "indicator_tests": [
1105 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] } } 996 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] } }
1106 ] 997 ]
1107 } 998 }
1108 ], 999 ],
1109 1000
1110 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 1001 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1111 }, 1002 },
1112 1003
1113 "JavaScriptAllowedForUrls": { 1004 "JavaScriptAllowedForUrls": {
1114 "os": ["win", "linux", "mac", "chromeos"], 1005 "os": ["win", "linux", "mac", "chromeos"],
1115 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] }, 1006 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] },
1116 "settings_pages": [],
1117 "pref_mappings": [ 1007 "pref_mappings": [
1118 { "pref": "profile.managed_javascript_allowed_for_urls", 1008 { "pref": "profile.managed_javascript_allowed_for_urls",
1119 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=javascript]').click();", 1009 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=javascript]').click();",
1120 "indicator_selector": "[content-exception=javascript]", 1010 "indicator_selector": "[content-exception=javascript]",
1121 "indicator_tests": [ 1011 "indicator_tests": [
1122 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] } } 1012 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] } }
1123 ] 1013 ]
1124 } 1014 }
1125 ], 1015 ],
1126 1016
1127 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 1017 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1128 }, 1018 },
1129 1019
1130 "JavaScriptBlockedForUrls": { 1020 "JavaScriptBlockedForUrls": {
1131 "os": ["win", "linux", "mac", "chromeos"], 1021 "os": ["win", "linux", "mac", "chromeos"],
1132 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] }, 1022 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] },
1133 "settings_pages": [],
1134 "pref_mappings": [ 1023 "pref_mappings": [
1135 { "pref": "profile.managed_javascript_blocked_for_urls", 1024 { "pref": "profile.managed_javascript_blocked_for_urls",
1136 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=javascript]').click();", 1025 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=javascript]').click();",
1137 "indicator_selector": "[content-exception=javascript]", 1026 "indicator_selector": "[content-exception=javascript]",
1138 "indicator_tests": [ 1027 "indicator_tests": [
1139 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } } 1028 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } }
1140 ] 1029 ]
1141 } 1030 }
1142 ], 1031 ],
1143 1032
1144 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 1033 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1145 }, 1034 },
1146 1035
1147 "PluginsAllowedForUrls": { 1036 "PluginsAllowedForUrls": {
1148 "os": ["win", "linux", "mac", "chromeos"], 1037 "os": ["win", "linux", "mac", "chromeos"],
1149 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] }, 1038 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
1150 "settings_pages": [],
1151 "pref_mappings": [ 1039 "pref_mappings": [
1152 { "pref": "profile.managed_plugins_allowed_for_urls", 1040 { "pref": "profile.managed_plugins_allowed_for_urls",
1153 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=plugins]').click();", 1041 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=plugins]').click();",
1154 "indicator_selector": "[content-exception=plugins]", 1042 "indicator_selector": "[content-exception=plugins]",
1155 "indicator_tests": [ 1043 "indicator_tests": [
1156 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } } 1044 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } }
1157 ] 1045 ]
1158 } 1046 }
1159 ], 1047 ],
1160 1048
1161 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 1049 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1162 }, 1050 },
1163 1051
1164 "PluginsBlockedForUrls": { 1052 "PluginsBlockedForUrls": {
1165 "os": ["win", "linux", "mac", "chromeos"], 1053 "os": ["win", "linux", "mac", "chromeos"],
1166 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] }, 1054 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] },
1167 "settings_pages": [],
1168 "pref_mappings": [ 1055 "pref_mappings": [
1169 { "pref": "profile.managed_plugins_blocked_for_urls", 1056 { "pref": "profile.managed_plugins_blocked_for_urls",
1170 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=plugins]').click();", 1057 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=plugins]').click();",
1171 "indicator_selector": "[content-exception=plugins]", 1058 "indicator_selector": "[content-exception=plugins]",
1172 "indicator_tests": [ 1059 "indicator_tests": [
1173 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] } } 1060 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] } }
1174 ] 1061 ]
1175 } 1062 }
1176 ], 1063 ],
1177 1064
1178 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 1065 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1179 }, 1066 },
1180 1067
1181 "PopupsAllowedForUrls": { 1068 "PopupsAllowedForUrls": {
1182 "os": ["win", "linux", "mac", "chromeos"], 1069 "os": ["win", "linux", "mac", "chromeos"],
1183 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] }, 1070 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] },
1184 "settings_pages": [],
1185 "pref_mappings": [ 1071 "pref_mappings": [
1186 { "pref": "profile.managed_popups_allowed_for_urls", 1072 { "pref": "profile.managed_popups_allowed_for_urls",
1187 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=popups]').click();", 1073 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=popups]').click();",
1188 "indicator_selector": "[content-exception=popups]", 1074 "indicator_selector": "[content-exception=popups]",
1189 "indicator_tests": [ 1075 "indicator_tests": [
1190 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] } } 1076 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] } }
1191 ] 1077 ]
1192 } 1078 }
1193 ], 1079 ],
1194 1080
1195 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 1081 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1196 }, 1082 },
1197 1083
1198 "PopupsBlockedForUrls": { 1084 "PopupsBlockedForUrls": {
1199 "os": ["win", "linux", "mac", "chromeos"], 1085 "os": ["win", "linux", "mac", "chromeos"],
1200 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] }, 1086 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] },
1201 "settings_pages": [],
1202 "pref_mappings": [ 1087 "pref_mappings": [
1203 { "pref": "profile.managed_popups_blocked_for_urls", 1088 { "pref": "profile.managed_popups_blocked_for_urls",
1204 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=popups]').click();", 1089 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=popups]').click();",
1205 "indicator_selector": "[content-exception=popups]", 1090 "indicator_selector": "[content-exception=popups]",
1206 "indicator_tests": [ 1091 "indicator_tests": [
1207 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] } } 1092 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] } }
1208 ] 1093 ]
1209 } 1094 }
1210 ], 1095 ],
1211 1096
1212 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 1097 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1213 }, 1098 },
1214 1099
1215 "NotificationsAllowedForUrls": { 1100 "NotificationsAllowedForUrls": {
1216 "os": ["win", "linux", "mac", "chromeos"], 1101 "os": ["win", "linux", "mac", "chromeos"],
1217 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] }, 1102 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] },
1218 "settings_pages": [],
1219 "pref_mappings": [ 1103 "pref_mappings": [
1220 { "pref": "profile.managed_notifications_allowed_for_urls", 1104 { "pref": "profile.managed_notifications_allowed_for_urls",
1221 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=notifications]').click();", 1105 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=notifications]').click();",
1222 "indicator_selector": "[content-exception=notifications]", 1106 "indicator_selector": "[content-exception=notifications]",
1223 "indicator_tests": [ 1107 "indicator_tests": [
1224 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] } } 1108 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] } }
1225 ] 1109 ]
1226 } 1110 }
1227 ], 1111 ],
1228 1112
1229 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 1113 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1230 }, 1114 },
1231 1115
1232 "NotificationsBlockedForUrls": { 1116 "NotificationsBlockedForUrls": {
1233 "os": ["win", "linux", "mac", "chromeos"], 1117 "os": ["win", "linux", "mac", "chromeos"],
1234 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] }, 1118 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] },
1235 "settings_pages": [],
1236 "pref_mappings": [ 1119 "pref_mappings": [
1237 { "pref": "profile.managed_notifications_blocked_for_urls", 1120 { "pref": "profile.managed_notifications_blocked_for_urls",
1238 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=notifications]').click();", 1121 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=notifications]').click();",
1239 "indicator_selector": "[content-exception=notifications]", 1122 "indicator_selector": "[content-exception=notifications]",
1240 "indicator_tests": [ 1123 "indicator_tests": [
1241 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] } } 1124 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] } }
1242 ] 1125 ]
1243 } 1126 }
1244 ], 1127 ],
1245 1128
1246 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 1129 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1247 }, 1130 },
1248 1131
1249 "Disable3DAPIs": { 1132 "Disable3DAPIs": {
1250 "os": ["win", "linux", "mac", "chromeos"], 1133 "os": ["win", "linux", "mac", "chromeos"],
1251 "test_policy": { "Disable3DAPIs": true }, 1134 "test_policy": { "Disable3DAPIs": true },
1252 "settings_pages": [],
1253 "pref_mappings": [ 1135 "pref_mappings": [
1254 { "pref": "disable_3d_apis" } 1136 { "pref": "disable_3d_apis" }
1255 ] 1137 ]
1256 }, 1138 },
1257 1139
1258 "InstantEnabled": { 1140 "InstantEnabled": {
1259 "os": ["win", "linux", "mac", "chromeos"], 1141 "os": ["win", "linux", "mac", "chromeos"],
1260 "can_be_recommended": true, 1142 "can_be_recommended": true,
1261 "test_policy": { "InstantEnabled": true }, 1143 "test_policy": { "InstantEnabled": true },
1262 "settings_pages": ["chrome://settings-frame"],
1263 "pref_mappings": [ 1144 "pref_mappings": [
1264 { "pref": "instant.enabled", 1145 { "pref": "instant.enabled",
1265 "indicator_tests": [ 1146 "indicator_tests": [
1266 { "policy": { "InstantEnabled": true } } 1147 { "policy": { "InstantEnabled": true } }
1267 ] 1148 ]
1268 } 1149 }
1269 ] 1150 ]
1270 }, 1151 },
1271 1152
1272 "TranslateEnabled": { 1153 "TranslateEnabled": {
1273 "os": ["win", "linux", "mac", "chromeos"], 1154 "os": ["win", "linux", "mac", "chromeos"],
1274 "can_be_recommended": true, 1155 "can_be_recommended": true,
1275 "test_policy": { "TranslateEnabled": false }, 1156 "test_policy": { "TranslateEnabled": false },
1276 "settings_pages": ["chrome://settings-frame"],
1277 "pref_mappings": [ 1157 "pref_mappings": [
1278 { "pref": "translate.enabled", 1158 { "pref": "translate.enabled",
1279 "indicator_tests": [ 1159 "indicator_tests": [
1280 { "policy": { "TranslateEnabled": true } } 1160 { "policy": { "TranslateEnabled": true } }
1281 ] 1161 ]
1282 } 1162 }
1283 ] 1163 ]
1284 }, 1164 },
1285 1165
1286 "AllowOutdatedPlugins": { 1166 "AllowOutdatedPlugins": {
1287 "os": ["win", "linux", "mac", "chromeos"], 1167 "os": ["win", "linux", "mac", "chromeos"],
1288 "test_policy": { "AllowOutdatedPlugins": true }, 1168 "test_policy": { "AllowOutdatedPlugins": true },
1289 "settings_pages": [],
1290 "pref_mappings": [ 1169 "pref_mappings": [
1291 { "pref": "plugins.allow_outdated" } 1170 { "pref": "plugins.allow_outdated" }
1292 ] 1171 ]
1293 }, 1172 },
1294 1173
1295 "AlwaysAuthorizePlugins": { 1174 "AlwaysAuthorizePlugins": {
1296 "os": ["win", "linux", "mac", "chromeos"], 1175 "os": ["win", "linux", "mac", "chromeos"],
1297 "test_policy": { "AlwaysAuthorizePlugins": true }, 1176 "test_policy": { "AlwaysAuthorizePlugins": true },
1298 "settings_pages": [],
1299 "pref_mappings": [ 1177 "pref_mappings": [
1300 { "pref": "plugins.always_authorize" } 1178 { "pref": "plugins.always_authorize" }
1301 ] 1179 ]
1302 }, 1180 },
1303 1181
1304 "BookmarkBarEnabled": { 1182 "BookmarkBarEnabled": {
1305 "os": ["win", "linux", "mac", "chromeos"], 1183 "os": ["win", "linux", "mac", "chromeos"],
1306 "can_be_recommended": true, 1184 "can_be_recommended": true,
1307 "test_policy": { "BookmarkBarEnabled": true }, 1185 "test_policy": { "BookmarkBarEnabled": true },
1308 "settings_pages": ["chrome://settings-frame"],
1309 "pref_mappings": [ 1186 "pref_mappings": [
1310 { "pref": "bookmark_bar.show_on_all_tabs", 1187 { "pref": "bookmark_bar.show_on_all_tabs",
1311 "indicator_tests": [ 1188 "indicator_tests": [
1312 { "policy": { "BookmarkBarEnabled": true } } 1189 { "policy": { "BookmarkBarEnabled": true } }
1313 ] 1190 ]
1314 } 1191 }
1315 ] 1192 ]
1316 }, 1193 },
1317 1194
1318 "EditBookmarksEnabled": { 1195 "EditBookmarksEnabled": {
1319 "os": ["win", "linux", "mac", "chromeos"], 1196 "os": ["win", "linux", "mac", "chromeos"],
1320 "test_policy": { "EditBookmarksEnabled": false }, 1197 "test_policy": { "EditBookmarksEnabled": false },
1321 "settings_pages": [],
1322 "pref_mappings": [ 1198 "pref_mappings": [
1323 { "pref": "bookmarks.editing_enabled" } 1199 { "pref": "bookmarks.editing_enabled" }
1324 ] 1200 ]
1325 }, 1201 },
1326 1202
1327 "AllowFileSelectionDialogs": { 1203 "AllowFileSelectionDialogs": {
1328 "os": ["win", "mac", "linux"], 1204 "os": ["win", "mac", "linux"],
1329 "test_policy": { "AllowFileSelectionDialogs": false }, 1205 "test_policy": { "AllowFileSelectionDialogs": false },
1330 "settings_pages": ["chrome://settings-frame"],
1331 "pref_mappings": [ 1206 "pref_mappings": [
1332 { "pref": "select_file_dialogs.allowed", 1207 { "pref": "select_file_dialogs.allowed",
1333 "local_state": true 1208 "local_state": true
1334 }, 1209 },
1335 { "pref": "download.prompt_for_download", 1210 { "pref": "download.prompt_for_download",
1336 "indicator_tests": [ 1211 "indicator_tests": [
1337 { "policy": { "AllowFileSelectionDialogs": false } } 1212 { "policy": { "AllowFileSelectionDialogs": false } }
1338 ] 1213 ]
1339 } 1214 }
1340 ] 1215 ]
1341 }, 1216 },
1342 1217
1343 "ImportBookmarks": { 1218 "ImportBookmarks": {
1344 "os": ["win", "mac", "linux"], 1219 "os": ["win", "mac", "linux"],
1345 "can_be_recommended": true, 1220 "can_be_recommended": true,
1346 "test_policy": { "ImportBookmarks": false }, 1221 "test_policy": { "ImportBookmarks": false },
1347 "settings_pages": [],
1348 "pref_mappings": [ 1222 "pref_mappings": [
1349 { "pref": "import_bookmarks", 1223 { "pref": "import_bookmarks",
1350 "indicator_tests": [ 1224 "indicator_tests": [
1351 { "policy": { "ImportBookmarks": false } } 1225 { "policy": { "ImportBookmarks": false } }
1352 ] 1226 ]
1353 } 1227 }
1354 ] 1228 ]
1355 }, 1229 },
1356 1230
1357 "ImportHistory": { 1231 "ImportHistory": {
1358 "os": ["win", "mac", "linux"], 1232 "os": ["win", "mac", "linux"],
1359 "can_be_recommended": true, 1233 "can_be_recommended": true,
1360 "test_policy": { "ImportHistory": false }, 1234 "test_policy": { "ImportHistory": false },
1361 "settings_pages": [],
1362 "pref_mappings": [ 1235 "pref_mappings": [
1363 { "pref": "import_history", 1236 { "pref": "import_history",
1364 "indicator_tests": [ 1237 "indicator_tests": [
1365 { "policy": { "ImportHistory": false } } 1238 { "policy": { "ImportHistory": false } }
1366 ] 1239 ]
1367 } 1240 }
1368 ] 1241 ]
1369 }, 1242 },
1370 1243
1371 "ImportHomepage": { 1244 "ImportHomepage": {
1372 "os": ["win", "mac", "linux"], 1245 "os": ["win", "mac", "linux"],
1373 "test_policy": { "ImportHomepage": false }, 1246 "test_policy": { "ImportHomepage": false },
1374 "settings_pages": [],
1375 "pref_mappings": [ 1247 "pref_mappings": [
1376 { "pref": "import_home_page" } 1248 { "pref": "import_home_page" }
1377 ] 1249 ]
1378 }, 1250 },
1379 1251
1380 "ImportSearchEngine": { 1252 "ImportSearchEngine": {
1381 "os": ["win", "mac", "linux"], 1253 "os": ["win", "mac", "linux"],
1382 "can_be_recommended": true, 1254 "can_be_recommended": true,
1383 "test_policy": { "ImportSearchEngine": false }, 1255 "test_policy": { "ImportSearchEngine": false },
1384 "settings_pages": [],
1385 "pref_mappings": [ 1256 "pref_mappings": [
1386 { "pref": "import_search_engine", 1257 { "pref": "import_search_engine",
1387 "indicator_tests": [ 1258 "indicator_tests": [
1388 { "policy": { "ImportSearchEngine": false } } 1259 { "policy": { "ImportSearchEngine": false } }
1389 ] 1260 ]
1390 } 1261 }
1391 ] 1262 ]
1392 }, 1263 },
1393 1264
1394 "ImportSavedPasswords": { 1265 "ImportSavedPasswords": {
1395 "os": ["win", "mac", "linux"], 1266 "os": ["win", "mac", "linux"],
1396 "can_be_recommended": true, 1267 "can_be_recommended": true,
1397 "test_policy": { "ImportSavedPasswords": false }, 1268 "test_policy": { "ImportSavedPasswords": false },
1398 "settings_pages": [],
1399 "pref_mappings": [ 1269 "pref_mappings": [
1400 { "pref": "import_saved_passwords", 1270 { "pref": "import_saved_passwords",
1401 "indicator_tests": [ 1271 "indicator_tests": [
1402 { "policy": { "ImportSavedPasswords": false } } 1272 { "policy": { "ImportSavedPasswords": false } }
1403 ] 1273 ]
1404 } 1274 }
1405 ] 1275 ]
1406 }, 1276 },
1407 1277
1408 "MaxConnectionsPerProxy": { 1278 "MaxConnectionsPerProxy": {
1409 "os": ["win", "linux", "mac", "chromeos"], 1279 "os": ["win", "linux", "mac", "chromeos"],
1410 "test_policy": { "MaxConnectionsPerProxy": 16 }, 1280 "test_policy": { "MaxConnectionsPerProxy": 16 },
1411 "settings_pages": [],
1412 "pref_mappings": [ 1281 "pref_mappings": [
1413 { "pref": "net.max_connections_per_proxy", 1282 { "pref": "net.max_connections_per_proxy",
1414 "local_state": true 1283 "local_state": true
1415 } 1284 }
1416 ] 1285 ]
1417 }, 1286 },
1418 1287
1419 "HideWebStorePromo": { 1288 "HideWebStorePromo": {
1420 "os": [],
1421 "test_policy": { "HideWebStorePromo": null },
1422 "settings_pages": []
1423 }, 1289 },
1424 1290
1425 "URLBlacklist": { 1291 "URLBlacklist": {
1426 "os": ["win", "linux", "mac", "chromeos"], 1292 "os": ["win", "linux", "mac", "chromeos"],
1427 "test_policy": { "URLBlacklist": ["google.com"] }, 1293 "test_policy": { "URLBlacklist": ["google.com"] },
1428 "settings_pages": [],
1429 "pref_mappings": [ 1294 "pref_mappings": [
1430 { "pref": "policy.url_blacklist" } 1295 { "pref": "policy.url_blacklist" }
1431 ] 1296 ]
1432 }, 1297 },
1433 1298
1434 "URLWhitelist": { 1299 "URLWhitelist": {
1435 "os": ["win", "linux", "mac", "chromeos"], 1300 "os": ["win", "linux", "mac", "chromeos"],
1436 "test_policy": { "URLWhitelist": ["google.com"] }, 1301 "test_policy": { "URLWhitelist": ["google.com"] },
1437 "settings_pages": [],
1438 "pref_mappings": [ 1302 "pref_mappings": [
1439 { "pref": "policy.url_whitelist" } 1303 { "pref": "policy.url_whitelist" }
1440 ] 1304 ]
1441 }, 1305 },
1442 1306
1443 "EnterpriseWebStoreURL": { 1307 "EnterpriseWebStoreURL": {
1444 "os": ["win", "linux", "mac", "chromeos"], 1308 "os": ["win", "linux", "mac", "chromeos"],
1445 "test_policy": { "EnterpriseWebStoreURL": "http://example.com/webstore" }, 1309 "test_policy": { "EnterpriseWebStoreURL": "http://example.com/webstore" },
1446 "settings_pages": [],
1447 "pref_mappings": [ 1310 "pref_mappings": [
1448 { "pref": "webstore.enterprise_store_url" } 1311 { "pref": "webstore.enterprise_store_url" }
1449 ] 1312 ]
1450 }, 1313 },
1451 1314
1452 "EnterpriseWebStoreName": { 1315 "EnterpriseWebStoreName": {
1453 "os": ["win", "linux", "mac", "chromeos"], 1316 "os": ["win", "linux", "mac", "chromeos"],
1454 "test_policy": { "EnterpriseWebStoreName": "Example Webstore" }, 1317 "test_policy": { "EnterpriseWebStoreName": "Example Webstore" },
1455 "settings_pages": [],
1456 "pref_mappings": [ 1318 "pref_mappings": [
1457 { "pref": "webstore.enterprise_store_name" } 1319 { "pref": "webstore.enterprise_store_name" }
1458 ] 1320 ]
1459 }, 1321 },
1460 1322
1461 "EnableMemoryInfo": { 1323 "EnableMemoryInfo": {
1462 "os": ["win", "linux", "mac", "chromeos"], 1324 "os": ["win", "linux", "mac", "chromeos"],
1463 "test_policy": { "EnableMemoryInfo": true }, 1325 "test_policy": { "EnableMemoryInfo": true },
1464 "settings_pages": [],
1465 "pref_mappings": [ 1326 "pref_mappings": [
1466 { "pref": "enable_memory_info" } 1327 { "pref": "enable_memory_info" }
1467 ] 1328 ]
1468 }, 1329 },
1469 1330
1470 "DisablePrintPreview": { 1331 "DisablePrintPreview": {
1471 "os": ["win", "mac", "linux"], 1332 "os": ["win", "mac", "linux"],
1472 "test_policy": { "DisablePrintPreview": false }, 1333 "test_policy": { "DisablePrintPreview": false },
1473 "settings_pages": [],
1474 "pref_mappings": [ 1334 "pref_mappings": [
1475 { "pref": "printing.print_preview_disabled" } 1335 { "pref": "printing.print_preview_disabled" }
1476 ] 1336 ]
1477 }, 1337 },
1478 1338
1479 "BackgroundModeEnabled": { 1339 "BackgroundModeEnabled": {
1480 "os": ["win", "linux"], 1340 "os": ["win", "linux"],
1481 "can_be_recommended": true, 1341 "can_be_recommended": true,
1482 "test_policy": { "BackgroundModeEnabled": false }, 1342 "test_policy": { "BackgroundModeEnabled": false },
1483 "settings_pages": ["chrome://settings-frame"],
1484 "pref_mappings": [ 1343 "pref_mappings": [
1485 { "pref": "background_mode.enabled", 1344 { "pref": "background_mode.enabled",
1486 "local_state": true, 1345 "local_state": true,
1487 "indicator_tests": [ 1346 "indicator_tests": [
1488 { "policy": { "BackgroundModeEnabled": false } } 1347 { "policy": { "BackgroundModeEnabled": false } }
1489 ] 1348 ]
1490 } 1349 }
1491 ] 1350 ]
1492 }, 1351 },
1493 1352
1494 "RestrictSigninToPattern": { 1353 "RestrictSigninToPattern": {
1495 "os": ["win", "mac", "linux"], 1354 "os": ["win", "mac", "linux"],
1496 "test_policy": { "RestrictSigninToPattern": ".*@google.com" }, 1355 "test_policy": { "RestrictSigninToPattern": ".*@google.com" },
1497 "settings_pages": [],
1498 "pref_mappings": [ 1356 "pref_mappings": [
1499 { "pref": "google.services.username_pattern", 1357 { "pref": "google.services.username_pattern",
1500 "local_state": true 1358 "local_state": true
1501 } 1359 }
1502 ] 1360 ]
1503 }, 1361 },
1504 1362
1505 "DisableSafeBrowsingProceedAnyway": { 1363 "DisableSafeBrowsingProceedAnyway": {
1506 "os": ["win", "linux", "mac", "chromeos"], 1364 "os": ["win", "linux", "mac", "chromeos"],
1507 "test_policy": { "DisableSafeBrowsingProceedAnyway": true }, 1365 "test_policy": { "DisableSafeBrowsingProceedAnyway": true },
1508 "settings_pages": [],
1509 "pref_mappings": [ 1366 "pref_mappings": [
1510 { "pref": "safebrowsing.proceed_anyway_disabled" } 1367 { "pref": "safebrowsing.proceed_anyway_disabled" }
1511 ] 1368 ]
1512 }, 1369 },
1513 1370
1514 "SpellCheckServiceEnabled": { 1371 "SpellCheckServiceEnabled": {
1515 "os": ["win", "linux", "mac", "chromeos"], 1372 "os": ["win", "linux", "mac", "chromeos"],
1516 "official_only": true, 1373 "official_only": true,
1517 "can_be_recommended": true, 1374 "can_be_recommended": true,
1518 "test_policy": { "SpellCheckServiceEnabled": false }, 1375 "test_policy": { "SpellCheckServiceEnabled": false },
1519 "settings_pages": ["chrome://settings-frame"],
1520 "pref_mappings": [ 1376 "pref_mappings": [
1521 { "pref": "spellcheck.use_spelling_service", 1377 { "pref": "spellcheck.use_spelling_service",
1522 "indicator_tests": [ 1378 "indicator_tests": [
1523 { "policy": { "SpellCheckServiceEnabled": false } } 1379 { "policy": { "SpellCheckServiceEnabled": false } }
1524 ] 1380 ]
1525 } 1381 }
1526 ] 1382 ]
1527 }, 1383 },
1528 1384
1529 "DisableScreenshots": { 1385 "DisableScreenshots": {
1530 "os": ["win", "linux", "mac", "chromeos"], 1386 "os": ["win", "linux", "mac", "chromeos"],
1531 "test_policy": { "DisableScreenshots": true }, 1387 "test_policy": { "DisableScreenshots": true },
1532 "settings_pages": [],
1533 "pref_mappings": [ 1388 "pref_mappings": [
1534 { "pref": "disable_screenshots" } 1389 { "pref": "disable_screenshots" }
1535 ] 1390 ]
1536 }, 1391 },
1537 1392
1538 "----- Chrome OS policies ------------------------------------------------": { }, 1393 "----- Chrome OS policies ------------------------------------------------": { },
1539 1394
1540 "ChromeOsLockOnIdleSuspend": { 1395 "ChromeOsLockOnIdleSuspend": {
1541 "os": ["chromeos"], 1396 "os": ["chromeos"],
1542 "can_be_recommended": true, 1397 "can_be_recommended": true,
1543 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, 1398 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1544 "settings_pages": ["chrome://settings-frame"],
1545 "pref_mappings": [ 1399 "pref_mappings": [
1546 { "pref": "settings.enable_screen_lock", 1400 { "pref": "settings.enable_screen_lock",
1547 "indicator_tests": [ 1401 "indicator_tests": [
1548 { "policy": { "ChromeOsLockOnIdleSuspend": true } } 1402 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
1549 ] 1403 ]
1550 } 1404 }
1551 ] 1405 ]
1552 }, 1406 },
1553 1407
1554 "PolicyRefreshRate": { 1408 "PolicyRefreshRate": {
1555 "os": ["chromeos"], 1409 "os": ["chromeos"],
1556 "test_policy": { "PolicyRefreshRate": 300000 }, 1410 "test_policy": { "PolicyRefreshRate": 300000 },
1557 "settings_pages": [],
1558 "pref_mappings": [ 1411 "pref_mappings": [
1559 { "pref": "policy.user_refresh_rate", 1412 { "pref": "policy.user_refresh_rate",
1560 "local_state": true 1413 "local_state": true
1561 } 1414 }
1562 ] 1415 ]
1563 }, 1416 },
1564 1417
1565 "OpenNetworkConfiguration": { 1418 "OpenNetworkConfiguration": {
1566 "os": ["chromeos"],
1567 "test_policy": { "OpenNetworkConfiguration": "" },
1568 "settings_pages": []
1569 }, 1419 },
1570 1420
1571 "DriveDisabled": { 1421 "DriveDisabled": {
1572 "os": ["chromeos"], 1422 "os": ["chromeos"],
1573 "test_policy": { "DriveDisabled": false }, 1423 "test_policy": { "DriveDisabled": false },
1574 "settings_pages": [],
1575 "pref_mappings": [ 1424 "pref_mappings": [
1576 { "pref": "gdata.disabled" } 1425 { "pref": "gdata.disabled" }
1577 ] 1426 ]
1578 }, 1427 },
1579 1428
1580 "DriveDisabledOverCellular": { 1429 "DriveDisabledOverCellular": {
1581 "os": ["chromeos"], 1430 "os": ["chromeos"],
1582 "test_policy": { "DriveDisabledOverCellular": true }, 1431 "test_policy": { "DriveDisabledOverCellular": true },
1583 "settings_pages": [],
1584 "pref_mappings": [ 1432 "pref_mappings": [
1585 { "pref": "gdata.cellular.disabled" } 1433 { "pref": "gdata.cellular.disabled" }
1586 ] 1434 ]
1587 }, 1435 },
1588 1436
1589 "PinnedLauncherApps": { 1437 "PinnedLauncherApps": {
1590 "os": ["chromeos"], 1438 "os": ["chromeos"],
1591 "can_be_recommended": true, 1439 "can_be_recommended": true,
1592 "test_policy": { "PinnedLauncherApps": [] }, 1440 "test_policy": { "PinnedLauncherApps": [] },
1593 "settings_pages": [],
1594 "pref_mappings": [ 1441 "pref_mappings": [
1595 { "pref": "pinned_launcher_apps" } 1442 { "pref": "pinned_launcher_apps" }
1596 ] 1443 ]
1597 }, 1444 },
1598 1445
1599 "ExternalStorageDisabled": { 1446 "ExternalStorageDisabled": {
1600 "os": ["chromeos"], 1447 "os": ["chromeos"],
1601 "test_policy": { "ExternalStorageDisabled": true }, 1448 "test_policy": { "ExternalStorageDisabled": true },
1602 "settings_pages": [],
1603 "pref_mappings": [ 1449 "pref_mappings": [
1604 { "pref": "hardware.external_storage_disabled" } 1450 { "pref": "hardware.external_storage_disabled" }
1605 ] 1451 ]
1606 }, 1452 },
1607 1453
1608 "AudioOutputAllowed": { 1454 "AudioOutputAllowed": {
1609 "os": ["chromeos"], 1455 "os": ["chromeos"],
1610 "test_policy": { "AudioOutputAllowed": true }, 1456 "test_policy": { "AudioOutputAllowed": true },
1611 "settings_pages": [],
1612 "pref_mappings": [ 1457 "pref_mappings": [
1613 { "pref": "hardware.audio_output_enabled", 1458 { "pref": "hardware.audio_output_enabled",
1614 "local_state": true } 1459 "local_state": true }
1615 ] 1460 ]
1616 }, 1461 },
1617 1462
1618 "AudioCaptureAllowed": { 1463 "AudioCaptureAllowed": {
1619 "os": ["chromeos"], 1464 "os": ["chromeos"],
1620 "test_policy": { "AudioCaptureAllowed": true }, 1465 "test_policy": { "AudioCaptureAllowed": true },
1621 "settings_pages": [],
1622 "pref_mappings": [ 1466 "pref_mappings": [
1623 { "pref": "hardware.audio_capture_enabled", 1467 { "pref": "hardware.audio_capture_enabled",
1624 "local_state": true } 1468 "local_state": true }
1625 ] 1469 ]
1626 }, 1470 },
1627 1471
1628 "----- Chrome OS device policies ---------------------------------------": {}, 1472 "----- Chrome OS device policies ---------------------------------------": {},
1629 1473
1630 "DevicePolicyRefreshRate": { 1474 "DevicePolicyRefreshRate": {
1631 "os": ["chromeos"], 1475 "os": ["chromeos"],
1632 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 1476 "test_policy": { "DevicePolicyRefreshRate": 300000 },
1633 "settings_pages": [],
1634 "pref_mappings": [ 1477 "pref_mappings": [
1635 { "pref": "policy.device_refresh_rate", 1478 { "pref": "policy.device_refresh_rate",
1636 "local_state": true } 1479 "local_state": true }
1637 ] 1480 ]
1638 }, 1481 },
1639 1482
1640 "ChromeOsReleaseChannel": { 1483 "ChromeOsReleaseChannel": {
1641 "os": ["chromeos"],
1642 "test_policy": { "ChromeOsReleaseChannel": "stable-channel" },
1643 "settings_pages": []
1644 }, 1484 },
1645 1485
1646 "ChromeOsReleaseChannelDelegated": { 1486 "ChromeOsReleaseChannelDelegated": {
1647 "os": ["chromeos"],
1648 "test_policy": { "ChromeOsReleaseChannelDelegated": false },
1649 "settings_pages": []
1650 }, 1487 },
1651 1488
1652 "DeviceOpenNetworkConfiguration": { 1489 "DeviceOpenNetworkConfiguration": {
1653 "os": ["chromeos"],
1654 "test_policy": { "DeviceOpenNetworkConfiguration": "" },
1655 "settings_pages": []
1656 }, 1490 },
1657 1491
1658 "ReportDeviceVersionInfo": { 1492 "ReportDeviceVersionInfo": {
1659 "os": ["chromeos"],
1660 "test_policy": { "ReportDeviceVersionInfo": true },
1661 "settings_pages": []
1662 }, 1493 },
1663 1494
1664 "ReportDeviceActivityTimes": { 1495 "ReportDeviceActivityTimes": {
1665 "os": ["chromeos"],
1666 "test_policy": { "ReportDeviceActivityTimes": true },
1667 "settings_pages": []
1668 }, 1496 },
1669 1497
1670 "ReportDeviceBootMode": { 1498 "ReportDeviceBootMode": {
1671 "os": ["chromeos"],
1672 "test_policy": { "ReportDeviceBootMode": true },
1673 "settings_pages": []
1674 }, 1499 },
1675 1500
1676 "DeviceAllowNewUsers": { 1501 "DeviceAllowNewUsers": {
1677 "os": ["chromeos"],
1678 "test_policy": { "DeviceAllowNewUsers": true },
1679 "settings_pages": []
1680 }, 1502 },
1681 1503
1682 "DeviceUserWhitelist": { 1504 "DeviceUserWhitelist": {
1683 "os": ["chromeos"],
1684 "test_policy": { "DeviceUserWhitelist": [] },
1685 "settings_pages": []
1686 }, 1505 },
1687 1506
1688 "DeviceGuestModeEnabled": { 1507 "DeviceGuestModeEnabled": {
1689 "os": ["chromeos"],
1690 "test_policy": { "DeviceGuestModeEnabled": true },
1691 "settings_pages": []
1692 }, 1508 },
1693 1509
1694 "DeviceShowUserNamesOnSignin": { 1510 "DeviceShowUserNamesOnSignin": {
1695 "os": ["chromeos"],
1696 "test_policy": { "DeviceShowUserNamesOnSignin": true },
1697 "settings_pages": []
1698 }, 1511 },
1699 1512
1700 "DeviceDataRoamingEnabled": { 1513 "DeviceDataRoamingEnabled": {
1701 "os": ["chromeos"],
1702 "test_policy": { "DeviceDataRoamingEnabled": true },
1703 "settings_pages": []
1704 }, 1514 },
1705 1515
1706 "DeviceMetricsReportingEnabled": { 1516 "DeviceMetricsReportingEnabled": {
1707 "os": ["chromeos"], 1517 "os": ["chromeos"],
1708 "test_policy": { "DeviceMetricsReportingEnabled": true }, 1518 "test_policy": { "DeviceMetricsReportingEnabled": true },
1709 "settings_pages": [],
1710 "pref_mappings": [ 1519 "pref_mappings": [
1711 { "pref": "cros.metrics.reportingEnabled", 1520 { "pref": "cros.metrics.reportingEnabled",
1712 "indicator_test_setup_js": "Preferences.getInstance().addEventListener(' alternate_error_pages.enabled', function(event) { Preferences.prefsChangedCallba ck(['cros.metrics.reportingEnabled', {value: event.value.value, controlledBy: ev ent.value.controlledBy, disabled: event.value.disabled}]); });", 1521 "indicator_test_setup_js": "Preferences.getInstance().addEventListener(' alternate_error_pages.enabled', function(event) { Preferences.prefsChangedCallba ck(['cros.metrics.reportingEnabled', {value: event.value.value, controlledBy: ev ent.value.controlledBy, disabled: event.value.disabled}]); });",
1713 "indicator_tests": [ 1522 "indicator_tests": [
1714 { "policy": { "AlternateErrorPagesEnabled": true } } 1523 { "policy": { "AlternateErrorPagesEnabled": true } }
1715 ] 1524 ]
1716 } 1525 }
1717 ], 1526 ],
1718 1527
1719 "note": "TODO(bartfab): The |indicator_test_setup_js| above is a hack that m akes |cros.metrics.reportingEnabled| track the status of the entirely unrelated |alternate_error_pages.enabled| pref. This is because cros settings cannot curre ntly be made policy-controlled in browser tests. Remove this hack once that rest riction is lifted." 1528 "note": "TODO(bartfab): The |indicator_test_setup_js| above is a hack that m akes |cros.metrics.reportingEnabled| track the status of the entirely unrelated |alternate_error_pages.enabled| pref. This is because cros settings cannot curre ntly be made policy-controlled in browser tests. Remove this hack once that rest riction is lifted."
1720 }, 1529 },
1721 1530
1722 "DeviceEphemeralUsersEnabled": { 1531 "DeviceEphemeralUsersEnabled": {
1723 "os": ["chromeos"],
1724 "test_policy": { "DeviceEphemeralUsersEnabled": true },
1725 "settings_pages": []
1726 }, 1532 },
1727 1533
1728 "DeviceIdleLogoutTimeout": { 1534 "DeviceIdleLogoutTimeout": {
1729 "os": ["chromeos"],
1730 "test_policy": { "DeviceIdleLogoutTimeout": 60000 },
1731 "settings_pages": []
1732 }, 1535 },
1733 1536
1734 "DeviceIdleLogoutWarningDuration": { 1537 "DeviceIdleLogoutWarningDuration": {
1735 "os": ["chromeos"],
1736 "test_policy": { "DeviceIdleLogoutWarningDuration": 15000 },
1737 "settings_pages": []
1738 }, 1538 },
1739 1539
1740 "DeviceLoginScreenSaverId": { 1540 "DeviceLoginScreenSaverId": {
1741 "os": ["chromeos"],
1742 "test_policy": { "DeviceLoginScreenSaverId": "lcncmkcnkcdbbanbjakcencbaoegdj lp" },
1743 "settings_pages": []
1744 }, 1541 },
1745 1542
1746 "DeviceLoginScreenSaverTimeout": { 1543 "DeviceLoginScreenSaverTimeout": {
1747 "os": ["chromeos"],
1748 "test_policy": { "DeviceLoginScreenSaverTimeout": 30000 },
1749 "settings_pages": []
1750 }, 1544 },
1751 1545
1752 "DeviceStartUpUrls": { 1546 "DeviceStartUpUrls": {
1753 "os": ["chromeos"],
1754 "test_policy": { "DeviceStartUpUrls": ["http://google.com"] },
1755 "settings_pages": []
1756 }, 1547 },
1757 1548
1758 "DeviceAppPack": { 1549 "DeviceAppPack": {
1759 "os": ["chromeos"],
1760 "test_policy": { "DeviceAppPack": [] },
1761 "settings_pages": []
1762 }, 1550 },
1763 1551
1764 "DeviceAutoUpdateDisabled": { 1552 "DeviceAutoUpdateDisabled": {
1765 "os": ["chromeos"],
1766 "test_policy": { "DeviceAutoUpdateDisabled": true },
1767 "settings_pages": []
1768 }, 1553 },
1769 1554
1770 "DeviceTargetVersionPrefix": { 1555 "DeviceTargetVersionPrefix": {
1771 "os": ["chromeos"],
1772 "test_policy": { "DeviceTargetVersionPrefix": "1412." },
1773 "settings_pages": []
1774 }, 1556 },
1775 1557
1776 "DeviceUpdateScatterFactor": { 1558 "DeviceUpdateScatterFactor": {
1777 "os": ["chromeos"],
1778 "test_policy": { "DeviceUpdateScatterFactor": "7200" },
1779 "settings_pages": []
1780 }, 1559 },
1781 1560
1782 "DeviceUpdateAllowedConnectionTypes": { 1561 "DeviceUpdateAllowedConnectionTypes": {
1783 "os": ["chromeos"],
1784 "test_policy": { "DeviceUpdateAllowedConnectionTypes": [] },
1785 "settings_pages": []
1786 }, 1562 },
1787 1563
1788 "ReportDeviceLocation": { 1564 "ReportDeviceLocation": {
1789 "os": ["chromeos"],
1790 "test_policy": { "ReportDeviceLocation": false },
1791 "settings_pages": []
1792 }, 1565 },
1793 1566
1794 "SystemTimezone": { 1567 "SystemTimezone": {
1795 "os": ["chromeos"],
1796 "test_policy": { "SystemTimezone": "Europe/Brussels" },
1797 "settings_pages": []
1798 }, 1568 },
1799 1569
1800 "----- Chrome Frame policies -------------------------------------------": {}, 1570 "----- Chrome Frame policies -------------------------------------------": {},
1801 1571
1802 "ChromeFrameRendererSettings": { 1572 "ChromeFrameRendererSettings": {
1803 "os": [],
1804 "test_policy": { "ChromeFrameRendererSettings": 0 },
1805 "settings_pages": []
1806 }, 1573 },
1807 1574
1808 "RenderInChromeFrameList": { 1575 "RenderInChromeFrameList": {
1809 "os": [],
1810 "test_policy": { "RenderInChromeFrameList": ["google.com"] },
1811 "settings_pages": []
1812 }, 1576 },
1813 1577
1814 "RenderInHostList": { 1578 "RenderInHostList": {
1815 "os": [],
1816 "test_policy": { "RenderInHostList": ["google.com"] },
1817 "settings_pages": []
1818 }, 1579 },
1819 1580
1820 "ChromeFrameContentTypes": { 1581 "ChromeFrameContentTypes": {
1821 "os": [],
1822 "test_policy": { "ChromeFrameContentTypes": ["text/xml"] },
1823 "settings_pages": []
1824 }, 1582 },
1825 1583
1826 "GCFUserDataDir": { 1584 "GCFUserDataDir": {
1827 "os": [],
1828 "test_policy": { "GCFUserDataDir": "${user_name}/test-frame" },
1829 "settings_pages": []
1830 }, 1585 },
1831 1586
1832 "AdditionalLaunchParameters": { 1587 "AdditionalLaunchParameters": {
1833 "os": [],
1834 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" },
1835 "settings_pages": []
1836 } 1588 }
1837 } 1589 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698