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

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

Issue 1684063002: Add ArcEnabled policy implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@26869593
Patch Set: andorid->android Created 4 years, 10 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 2407 matching lines...) Expand 10 before | Expand all | Expand 10 after
2418 "can_be_recommended": false, 2418 "can_be_recommended": false,
2419 "test_policy": { "UnifiedDesktopEnabledByDefault": true }, 2419 "test_policy": { "UnifiedDesktopEnabledByDefault": true },
2420 "pref_mappings": [ 2420 "pref_mappings": [
2421 { "pref": "settings.display.unified_desktop_enabled_by_default" } 2421 { "pref": "settings.display.unified_desktop_enabled_by_default" }
2422 ] 2422 ]
2423 }, 2423 },
2424 2424
2425 "ArcEnabled": { 2425 "ArcEnabled": {
2426 "os": ["chromeos"], 2426 "os": ["chromeos"],
2427 "can_be_recommended": false, 2427 "can_be_recommended": false,
2428 "test_policy": { "ArcEnabled": false } 2428 "test_policy": { "ArcEnabled": false },
2429 "pref_mappings": [
2430 { "pref": "arc.enabled" }
2431 ]
2429 }, 2432 },
2430 2433
2431 "ArcApplicationPolicy": { 2434 "ArcApplicationPolicy": {
2432 "os": ["chromeos"], 2435 "os": ["chromeos"],
2433 "can_be_recommended": false, 2436 "can_be_recommended": false,
2434 "test_policy": { "ArcApplicationPolicy": "" } 2437 "test_policy": { "ArcApplicationPolicy": "" }
2435 }, 2438 },
2436 2439
2437 "----- Chrome OS device policies ---------------------------------------": {}, 2440 "----- Chrome OS device policies ---------------------------------------": {},
2438 2441
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
2672 2675
2673 "AdditionalLaunchParameters": { 2676 "AdditionalLaunchParameters": {
2674 }, 2677 },
2675 2678
2676 "SuppressChromeFrameTurndownPrompt": { 2679 "SuppressChromeFrameTurndownPrompt": {
2677 }, 2680 },
2678 2681
2679 "SkipMetadataCheck": { 2682 "SkipMetadataCheck": {
2680 } 2683 }
2681 } 2684 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698