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

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: Address comments. Created 4 years 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 2026 matching lines...) Expand 10 before | Expand all | Expand 10 after
2037 "ComponentUpdatesEnabled": { 2037 "ComponentUpdatesEnabled": {
2038 "os": ["win", "linux", "mac", "chromeos"], 2038 "os": ["win", "linux", "mac", "chromeos"],
2039 "test_policy": { "ComponentUpdatesEnabled": true }, 2039 "test_policy": { "ComponentUpdatesEnabled": true },
2040 "pref_mappings": [ 2040 "pref_mappings": [
2041 { "pref": "component_updates.component_updates_enabled", 2041 { "pref": "component_updates.component_updates_enabled",
2042 "local_state": true 2042 "local_state": true
2043 } 2043 }
2044 ] 2044 ]
2045 }, 2045 },
2046 2046
2047 "RoamingProfileSupportEnabled": {
2048 "os": ["win"],
2049 "test_policy": { "RoamingProfileSupportEnabled": true },
2050 "pref_mappings": [
2051 { "pref": "sync.enable_local_sync_backend" }
2052 ]
2053 },
2054
2055 "RoamingProfileLocation": {
2056 "os": ["win"],
2057 "test_policy": { "RoamingProfileLocation": "${roaming_app_data}" },
2058 "pref_mappings": [
2059 { "pref": "sync.local_sync_backend_dir" }
2060 ]
2061 },
2062
2063
2047 "----- Chrome OS policies ------------------------------------------------": { }, 2064 "----- Chrome OS policies ------------------------------------------------": { },
2048 2065
2049 "ChromeOsLockOnIdleSuspend": { 2066 "ChromeOsLockOnIdleSuspend": {
2050 "os": ["chromeos"], 2067 "os": ["chromeos"],
2051 "can_be_recommended": true, 2068 "can_be_recommended": true,
2052 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, 2069 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
2053 "pref_mappings": [ 2070 "pref_mappings": [
2054 { "pref": "settings.enable_screen_lock", 2071 { "pref": "settings.enable_screen_lock",
2055 "indicator_tests": [ 2072 "indicator_tests": [
2056 { "policy": { "ChromeOsLockOnIdleSuspend": true } } 2073 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after
3017 3034
3018 "AdditionalLaunchParameters": { 3035 "AdditionalLaunchParameters": {
3019 }, 3036 },
3020 3037
3021 "SuppressChromeFrameTurndownPrompt": { 3038 "SuppressChromeFrameTurndownPrompt": {
3022 }, 3039 },
3023 3040
3024 "SkipMetadataCheck": { 3041 "SkipMetadataCheck": {
3025 } 3042 }
3026 } 3043 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_handler_list_factory.cc ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698