OLD | NEW |
1 { | 1 { |
2 "-- Template --": { | 2 "-- Template --": { |
3 "intro": "Top-level entries map a policy name to its test parameters, descri
bed below. The name of the top level entry should be of the form <policy name>[.
suffix]. The optional suffix is used for defining multiple test cases for a sing
le policy.", | 3 "intro": "Top-level entries map a policy name to its test parameters, descri
bed below. The name of the top level entry should be of the form <policy name>[.
suffix]. The optional suffix is used for defining multiple test cases for a sing
le policy.", |
4 | 4 |
5 "os": ["List of operating systems that support this policy. Valid values:",
"win", "linux", "mac", "chromeos", "android", "Defaults to empty if not specifie
d."], | 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 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.", | 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 "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.", |
10 "pref_mappings": [ | 10 "pref_mappings": [ |
11 { "pref": "The affected preference's name.", | 11 { "pref": "The affected preference's name.", |
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.", | 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.", |
13 "check_for_mandatory": "Should the preference be tested when a mandatory
value is set for the policy? Defaults to |true| if not specified.", | 13 "check_for_mandatory": "Should the preference be tested when a mandatory
value is set for the policy? Defaults to |true| if not specified.", |
14 "check_for_recommended": "Should the preference be tested when a recomme
nded value is set for the policy? Defaults to |true| if not specified.", | 14 "check_for_recommended": "Should the preference be tested when a recomme
nded value is set for the policy? Defaults to |true| if not specified.", |
15 "note": "When |can_be_recommended| is |false|, the policy is never set t
o a recommended value so |check_for_recommended| has no effect.", | 15 "note": "When |can_be_recommended| is |false|, the policy is never set t
o a recommended value so |check_for_recommended| has no effect.", |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 { "policy": { "SafeBrowsingEnabled": false } } | 289 { "policy": { "SafeBrowsingEnabled": false } } |
290 ] | 290 ] |
291 } | 291 } |
292 ] | 292 ] |
293 }, | 293 }, |
294 | 294 |
295 "ForceSafeSearch": { | 295 "ForceSafeSearch": { |
296 "pref": "settings.force_safesearch", | 296 "pref": "settings.force_safesearch", |
297 "test_policy": { "ForceSafeSearch": true }, | 297 "test_policy": { "ForceSafeSearch": true }, |
298 "settings_pages": [], | 298 "settings_pages": [], |
299 "os": ["win", "linux", "mac", "chromeos", "android"] | 299 "os": ["win", "linux", "mac", "chromeos"] |
300 }, | 300 }, |
301 | 301 |
302 "ForceGoogleSafeSearch": { | 302 "ForceGoogleSafeSearch": { |
303 "pref": "settings.force_google_safesearch", | 303 "pref": "settings.force_google_safesearch", |
304 "test_policy": { "ForceGoogleSafeSearch": true }, | 304 "test_policy": { "ForceGoogleSafeSearch": true }, |
305 "settings_pages": [], | 305 "settings_pages": [], |
306 "os": ["win", "linux", "mac", "chromeos", "android"] | 306 "os": ["win", "linux", "mac", "chromeos"] |
307 }, | 307 }, |
308 | 308 |
309 "ForceYouTubeSafetyMode": { | 309 "ForceYouTubeSafetyMode": { |
310 "pref": "settings.force_youtube_safety_mode", | 310 "pref": "settings.force_youtube_safety_mode", |
311 "test_policy": { "ForceYouTubeSafetyMode": true }, | 311 "test_policy": { "ForceYouTubeSafetyMode": true }, |
312 "settings_pages": [], | 312 "settings_pages": [], |
313 "os": ["win", "linux", "mac", "chromeos", "android"] | 313 "os": ["win", "linux", "mac", "chromeos"] |
314 }, | |
315 | |
316 "ForceYouTubeRestrict": { | |
317 "pref": "settings.force_youtube_restrict", | |
318 "test_policy": { "ForceYouTubeRestrict": 1 }, | |
319 "settings_pages": [], | |
320 "os": ["win", "linux", "mac", "chromeos", "android"] | |
321 }, | 314 }, |
322 | 315 |
323 "MetricsReportingEnabled": { | 316 "MetricsReportingEnabled": { |
324 "os": ["win", "mac", "linux"], | 317 "os": ["win", "mac", "linux"], |
325 "official_only": true, | 318 "official_only": true, |
326 "can_be_recommended": true, | 319 "can_be_recommended": true, |
327 "test_policy": { "MetricsReportingEnabled": false }, | 320 "test_policy": { "MetricsReportingEnabled": false }, |
328 "indicator_selector": "#metrics-reporting-disabled-icon", | 321 "indicator_selector": "#metrics-reporting-disabled-icon", |
329 "pref_mappings": [ | 322 "pref_mappings": [ |
330 { "pref": "user_experience_metrics.reporting_enabled", | 323 { "pref": "user_experience_metrics.reporting_enabled", |
(...skipping 2584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2915 | 2908 |
2916 "AdditionalLaunchParameters": { | 2909 "AdditionalLaunchParameters": { |
2917 }, | 2910 }, |
2918 | 2911 |
2919 "SuppressChromeFrameTurndownPrompt": { | 2912 "SuppressChromeFrameTurndownPrompt": { |
2920 }, | 2913 }, |
2921 | 2914 |
2922 "SkipMetadataCheck": { | 2915 "SkipMetadataCheck": { |
2923 } | 2916 } |
2924 } | 2917 } |
OLD | NEW |