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

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

Issue 2588423005: Add policies for controlling the roaming profile status and location. (Closed)
Patch Set: Created 3 years, 12 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", "android", "Defaults to empty if not specifie d."], 5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "android", "Defaults to empty if not specifie d."],
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 2064 matching lines...) Expand 10 before | Expand all | Expand 10 after
2075 "ComponentUpdatesEnabled": { 2075 "ComponentUpdatesEnabled": {
2076 "os": ["win", "linux", "mac", "chromeos"], 2076 "os": ["win", "linux", "mac", "chromeos"],
2077 "test_policy": { "ComponentUpdatesEnabled": true }, 2077 "test_policy": { "ComponentUpdatesEnabled": true },
2078 "pref_mappings": [ 2078 "pref_mappings": [
2079 { "pref": "component_updates.component_updates_enabled", 2079 { "pref": "component_updates.component_updates_enabled",
2080 "local_state": true 2080 "local_state": true
2081 } 2081 }
2082 ] 2082 ]
2083 }, 2083 },
2084 2084
2085 "RoamingProfileSupportEnabled": {
2086 "os": ["win"],
2087 "test_policy": { "RoamingProfileSupportEnabled": true },
2088 "pref_mappings": [
2089 { "pref": "sync.enable_local_sync_backend" }
2090 ]
2091 },
2092
2093 "RoamingProfileLocation": {
2094 "os": ["win"],
2095 "test_policy": { "RoamingProfileLocation": "${roaming_app_data}" },
2096 "pref_mappings": [
2097 { "pref": "sync.local_sync_backend_dir" }
2098 ]
2099 },
2100
2101
2085 "----- Chrome OS policies ------------------------------------------------": { }, 2102 "----- Chrome OS policies ------------------------------------------------": { },
2086 2103
2087 "ChromeOsLockOnIdleSuspend": { 2104 "ChromeOsLockOnIdleSuspend": {
2088 "os": ["chromeos"], 2105 "os": ["chromeos"],
2089 "can_be_recommended": true, 2106 "can_be_recommended": true,
2090 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, 2107 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
2091 "pref_mappings": [ 2108 "pref_mappings": [
2092 { "pref": "settings.enable_screen_lock", 2109 { "pref": "settings.enable_screen_lock",
2093 "indicator_tests": [ 2110 "indicator_tests": [
2094 { "policy": { "ChromeOsLockOnIdleSuspend": true } } 2111 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after
3055 3072
3056 "AdditionalLaunchParameters": { 3073 "AdditionalLaunchParameters": {
3057 }, 3074 },
3058 3075
3059 "SuppressChromeFrameTurndownPrompt": { 3076 "SuppressChromeFrameTurndownPrompt": {
3060 }, 3077 },
3061 3078
3062 "SkipMetadataCheck": { 3079 "SkipMetadataCheck": {
3063 } 3080 }
3064 } 3081 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698