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

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

Issue 1217333002: Add a group policy for hardware acceleration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 2225 matching lines...) Expand 10 before | Expand all | Expand 10 after
2236 "os": ["win", "linux", "mac", "chromeos"], 2236 "os": ["win", "linux", "mac", "chromeos"],
2237 "test_policy": { "SSLErrorOverrideAllowed": true }, 2237 "test_policy": { "SSLErrorOverrideAllowed": true },
2238 "pref_mappings": [ 2238 "pref_mappings": [
2239 { "pref": "ssl.error_override_allowed" } 2239 { "pref": "ssl.error_override_allowed" }
2240 ] 2240 ]
2241 }, 2241 },
2242 2242
2243 "KeyPermissions": { 2243 "KeyPermissions": {
2244 }, 2244 },
2245 2245
2246 "HardwareAccelerationModeEnabled": {
2247 "os": ["win", "linux", "mac", "chromeos", "android"],
2248 "test_policy": { "HardwareAccelerationModeEnabled": false },
2249 "pref_mappings": [
2250 { "pref": "hardware_acceleration_mode.enabled" }
bartfab (slow) 2015/07/01 09:16:54 Since this pref is exposed in chrome://settings, p
Zhenyao Mo 2015/07/01 17:56:07 I read the documentation and also examples in this
bartfab (slow) 2015/07/08 12:40:33 You do not need to worry about |indicator_test_set
2251 ]
2252 },
2253
2246 "----- Chrome OS device policies ---------------------------------------": {}, 2254 "----- Chrome OS device policies ---------------------------------------": {},
2247 2255
2248 "DevicePolicyRefreshRate": { 2256 "DevicePolicyRefreshRate": {
2249 "os": ["chromeos"], 2257 "os": ["chromeos"],
2250 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 2258 "test_policy": { "DevicePolicyRefreshRate": 300000 },
2251 "pref_mappings": [ 2259 "pref_mappings": [
2252 { "pref": "policy.device_refresh_rate", 2260 { "pref": "policy.device_refresh_rate",
2253 "local_state": true } 2261 "local_state": true }
2254 ] 2262 ]
2255 }, 2263 },
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
2469 2477
2470 "AdditionalLaunchParameters": { 2478 "AdditionalLaunchParameters": {
2471 }, 2479 },
2472 2480
2473 "SuppressChromeFrameTurndownPrompt": { 2481 "SuppressChromeFrameTurndownPrompt": {
2474 }, 2482 },
2475 2483
2476 "SkipMetadataCheck": { 2484 "SkipMetadataCheck": {
2477 } 2485 }
2478 } 2486 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698