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

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

Issue 964503002: Implemented ForceMaximizeBrowserWindowOnFirstRun policy, added unit test and browser test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed description Created 5 years, 9 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 2189 matching lines...) Expand 10 before | Expand all | Expand 10 after
2200 "test_policy": { "EasyUnlockAllowed": false }, 2200 "test_policy": { "EasyUnlockAllowed": false },
2201 "pref_mappings": [ 2201 "pref_mappings": [
2202 { "pref": "easy_unlock.allowed" } 2202 { "pref": "easy_unlock.allowed" }
2203 ] 2203 ]
2204 }, 2204 },
2205 2205
2206 "SessionLocales": { 2206 "SessionLocales": {
2207 "os": ["chromeos"], 2207 "os": ["chromeos"],
2208 "can_be_recommended": true 2208 "can_be_recommended": true
2209 }, 2209 },
2210
2211 "ForceMaximizeBrowserWindowOnFirstRun": {
2212 "os": ["chromeos"],
2213 "test_policy": { "ForceMaximizeBrowserWindowOnFirstRun": true },
2214 "pref_mappings": [
2215 { "pref": "ui.first_run_maximized" }
2216 ]
2217 },
2210 2218
2211 "----- Chrome OS device policies ---------------------------------------": {}, 2219 "----- Chrome OS device policies ---------------------------------------": {},
2212 2220
2213 "DevicePolicyRefreshRate": { 2221 "DevicePolicyRefreshRate": {
2214 "os": ["chromeos"], 2222 "os": ["chromeos"],
2215 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 2223 "test_policy": { "DevicePolicyRefreshRate": 300000 },
2216 "pref_mappings": [ 2224 "pref_mappings": [
2217 { "pref": "policy.device_refresh_rate", 2225 { "pref": "policy.device_refresh_rate",
2218 "local_state": true } 2226 "local_state": true }
2219 ] 2227 ]
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
2413 2421
2414 "AdditionalLaunchParameters": { 2422 "AdditionalLaunchParameters": {
2415 }, 2423 },
2416 2424
2417 "SuppressChromeFrameTurndownPrompt": { 2425 "SuppressChromeFrameTurndownPrompt": {
2418 }, 2426 },
2419 2427
2420 "SkipMetadataCheck": { 2428 "SkipMetadataCheck": {
2421 } 2429 }
2422 } 2430 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698