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

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

Issue 431493003: Implement policy for kNetworkPredictionOptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and increment policy id yet again. 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 "indicator_tests": [ 117 "indicator_tests": [
118 { "policy": { "DnsPrefetchingEnabled": false } } 118 { "policy": { "DnsPrefetchingEnabled": false } }
119 ] 119 ]
120 } 120 }
121 ] 121 ]
122 }, 122 },
123 123
124 "NetworkPredictionOptions": {
125 "os": ["win", "linux", "mac", "chromeos"],
126 "can_be_recommended": true,
127 "test_policy": { "NetworkPredictionOptions": 2 },
128 "pref_mappings": [
129 { "pref": "dns_prefetching.enabled",
130 "indicator_tests": [
131 { "policy": { "NetworkPredictionOptions": 2 } }
132 ]
133 }
134 ]
135 },
136
124 "DisableSpdy": { 137 "DisableSpdy": {
125 "os": ["win", "linux", "mac", "chromeos"], 138 "os": ["win", "linux", "mac", "chromeos"],
126 "test_policy": { "DisableSpdy": true }, 139 "test_policy": { "DisableSpdy": true },
127 "pref_mappings": [ 140 "pref_mappings": [
128 { "pref": "spdy.disabled" } 141 { "pref": "spdy.disabled" }
129 ] 142 ]
130 }, 143 },
131 144
132 "DisabledSchemes": { 145 "DisabledSchemes": {
133 "os": ["win", "linux", "mac", "chromeos"], 146 "os": ["win", "linux", "mac", "chromeos"],
(...skipping 2210 matching lines...) Expand 10 before | Expand all | Expand 10 after
2344 2357
2345 "AdditionalLaunchParameters": { 2358 "AdditionalLaunchParameters": {
2346 }, 2359 },
2347 2360
2348 "SuppressChromeFrameTurndownPrompt": { 2361 "SuppressChromeFrameTurndownPrompt": {
2349 }, 2362 },
2350 2363
2351 "SkipMetadataCheck": { 2364 "SkipMetadataCheck": {
2352 } 2365 }
2353 } 2366 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698