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

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

Issue 421653006: Update "Predict network actions" UI setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move and improve migration routine. Created 6 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 ] 106 ]
107 } 107 }
108 ] 108 ]
109 }, 109 },
110 110
111 "DnsPrefetchingEnabled": { 111 "DnsPrefetchingEnabled": {
112 "os": ["win", "linux", "mac", "chromeos"], 112 "os": ["win", "linux", "mac", "chromeos"],
113 "can_be_recommended": true, 113 "can_be_recommended": true,
114 "test_policy": { "DnsPrefetchingEnabled": false }, 114 "test_policy": { "DnsPrefetchingEnabled": false },
115 "pref_mappings": [ 115 "pref_mappings": [
116 { "pref": "dns_prefetching.enabled", 116 { "pref": "dns_prefetching.enabled" },
117 { "pref": "net.network_prediction_options",
117 "indicator_tests": [ 118 "indicator_tests": [
118 { "policy": { "DnsPrefetchingEnabled": false } } 119 { "policy": { "DnsPrefetchingEnabled": false } }
119 ] 120 ]
120 } 121 }
121 ] 122 ]
122 }, 123 },
123 124
124 "NetworkPredictionOptions": { 125 "NetworkPredictionOptions": {
125 "os": ["win", "linux", "mac", "chromeos"], 126 "os": ["win", "linux", "mac", "chromeos"],
126 "can_be_recommended": true, 127 "can_be_recommended": true,
127 "test_policy": { "NetworkPredictionOptions": 2 }, 128 "test_policy": { "NetworkPredictionOptions": 2 },
128 "pref_mappings": [ 129 "pref_mappings": [
129 { "pref": "dns_prefetching.enabled", 130 { "pref": "dns_prefetching.enabled" },
131 { "pref": "net.network_prediction_options",
130 "indicator_tests": [ 132 "indicator_tests": [
131 { "policy": { "NetworkPredictionOptions": 2 } } 133 { "policy": { "NetworkPredictionOptions": 2 } }
132 ] 134 ]
133 } 135 }
134 ] 136 ]
135 }, 137 },
136 138
137 "DisableSpdy": { 139 "DisableSpdy": {
138 "os": ["win", "linux", "mac", "chromeos"], 140 "os": ["win", "linux", "mac", "chromeos"],
139 "test_policy": { "DisableSpdy": true }, 141 "test_policy": { "DisableSpdy": true },
(...skipping 2217 matching lines...) Expand 10 before | Expand all | Expand 10 after
2357 2359
2358 "AdditionalLaunchParameters": { 2360 "AdditionalLaunchParameters": {
2359 }, 2361 },
2360 2362
2361 "SuppressChromeFrameTurndownPrompt": { 2363 "SuppressChromeFrameTurndownPrompt": {
2362 }, 2364 },
2363 2365
2364 "SkipMetadataCheck": { 2366 "SkipMetadataCheck": {
2365 } 2367 }
2366 } 2368 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698