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

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

Issue 2239753002: Added a ForceYouTubeRestrict policy and deprecated the old ForceYouTubeSafetyMode policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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", "Defaults to empty if not specified."], 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": [
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 "os": ["win", "linux", "mac", "chromeos"] 300 "os": ["win", "linux", "mac", "chromeos"]
301 }, 301 },
302 302
303 "ForceYouTubeSafetyMode": { 303 "ForceYouTubeSafetyMode": {
304 "pref": "settings.force_youtube_safety_mode", 304 "pref": "settings.force_youtube_safety_mode",
305 "test_policy": { "ForceYouTubeSafetyMode": true }, 305 "test_policy": { "ForceYouTubeSafetyMode": true },
306 "settings_pages": [], 306 "settings_pages": [],
307 "os": ["win", "linux", "mac", "chromeos"] 307 "os": ["win", "linux", "mac", "chromeos"]
308 }, 308 },
309 309
310 "ForceYouTubeRestrict": {
311 "pref": "settings.force_youtube_restrict",
312 "test_policy": { "ForceYouTubeRestrict": 1 },
313 "settings_pages": [],
314 "os": ["win", "linux", "mac", "chromeos"]
315 },
316
310 "MetricsReportingEnabled": { 317 "MetricsReportingEnabled": {
311 "os": ["win", "mac", "linux"], 318 "os": ["win", "mac", "linux"],
312 "official_only": true, 319 "official_only": true,
313 "can_be_recommended": true, 320 "can_be_recommended": true,
314 "test_policy": { "MetricsReportingEnabled": false }, 321 "test_policy": { "MetricsReportingEnabled": false },
315 "indicator_selector": "#metrics-reporting-disabled-icon", 322 "indicator_selector": "#metrics-reporting-disabled-icon",
316 "pref_mappings": [ 323 "pref_mappings": [
317 { "pref": "user_experience_metrics.reporting_enabled", 324 { "pref": "user_experience_metrics.reporting_enabled",
318 "local_state": true 325 "local_state": true
319 } 326 }
(...skipping 2528 matching lines...) Expand 10 before | Expand all | Expand 10 after
2848 2855
2849 "AdditionalLaunchParameters": { 2856 "AdditionalLaunchParameters": {
2850 }, 2857 },
2851 2858
2852 "SuppressChromeFrameTurndownPrompt": { 2859 "SuppressChromeFrameTurndownPrompt": {
2853 }, 2860 },
2854 2861
2855 "SkipMetadataCheck": { 2862 "SkipMetadataCheck": {
2856 } 2863 }
2857 } 2864 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698