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

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

Issue 209323002: New policies: enable/disable relay; port range (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to ToT Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "-- Template --": { 2 "-- Template --": {
3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below.", 3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below.",
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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 }, 237 },
238 238
239 "RemoteAccessHostAllowGnubbyAuth": { 239 "RemoteAccessHostAllowGnubbyAuth": {
240 "os": [], 240 "os": [],
241 "test_policy": { "RemoteAccessHostAllowGnubbyAuth": true }, 241 "test_policy": { "RemoteAccessHostAllowGnubbyAuth": true },
242 "pref_mappings": [ 242 "pref_mappings": [
243 { "pref": "remote_access.host_allow_gnubby_auth" } 243 { "pref": "remote_access.host_allow_gnubby_auth" }
244 ] 244 ]
245 }, 245 },
246 246
247 "RemoteAccessHostAllowRelayedConnection": {
248 "os": [],
249 "test_policy": { "RemoteAccessHostAllowRelayedConnection": true },
250 "pref_mappings": [
251 { "pref": "remote_access.host_allow_relayed_connection" }
252 ]
253 },
254
255 "RemoteAccessHostUdpPortRange": {
256 "os": [],
257 "test_policy": { "RemoteAccessHostUdpPortRange": "12400-12409" },
258 "pref_mappings": [
259 { "pref": "remote_access.host_udp_port_range" }
260 ]
261 },
262
247 "PrintingEnabled": { 263 "PrintingEnabled": {
248 "os": ["win", "linux", "mac", "chromeos"], 264 "os": ["win", "linux", "mac", "chromeos"],
249 "test_policy": { "PrintingEnabled": false }, 265 "test_policy": { "PrintingEnabled": false },
250 "pref_mappings": [ 266 "pref_mappings": [
251 { "pref": "printing.enabled" } 267 { "pref": "printing.enabled" }
252 ] 268 ]
253 }, 269 },
254 270
255 "CloudPrintProxyEnabled": { 271 "CloudPrintProxyEnabled": {
256 "os": [], 272 "os": [],
(...skipping 2001 matching lines...) Expand 10 before | Expand all | Expand 10 after
2258 2274
2259 "AdditionalLaunchParameters": { 2275 "AdditionalLaunchParameters": {
2260 }, 2276 },
2261 2277
2262 "SuppressChromeFrameTurndownPrompt": { 2278 "SuppressChromeFrameTurndownPrompt": {
2263 }, 2279 },
2264 2280
2265 "SkipMetadataCheck": { 2281 "SkipMetadataCheck": {
2266 } 2282 }
2267 } 2283 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698