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

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: Created 5 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
« no previous file with comments | « chrome/common/pref_names.cc ('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 2195 matching lines...) Expand 10 before | Expand all | Expand 10 after
2206 "test_policy": { "EasyUnlockAllowed": false }, 2206 "test_policy": { "EasyUnlockAllowed": false },
2207 "pref_mappings": [ 2207 "pref_mappings": [
2208 { "pref": "easy_unlock.allowed" } 2208 { "pref": "easy_unlock.allowed" }
2209 ] 2209 ]
2210 }, 2210 },
2211 2211
2212 "SessionLocales": { 2212 "SessionLocales": {
2213 "os": ["chromeos"], 2213 "os": ["chromeos"],
2214 "can_be_recommended": true 2214 "can_be_recommended": true
2215 }, 2215 },
2216
2217 "ForceMaximizeOnFirstRun": {
2218 "os": ["chromeos"],
2219 "test_policy": { "ForceMaximizeOnFirstRun": true },
2220 "pref_mappings": [
2221 { "pref": "ui.force_maximize_on_first_run" }
2222 ]
2223 },
2216 2224
2217 "----- Chrome OS device policies ---------------------------------------": {}, 2225 "----- Chrome OS device policies ---------------------------------------": {},
2218 2226
2219 "DevicePolicyRefreshRate": { 2227 "DevicePolicyRefreshRate": {
2220 "os": ["chromeos"], 2228 "os": ["chromeos"],
2221 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 2229 "test_policy": { "DevicePolicyRefreshRate": 300000 },
2222 "pref_mappings": [ 2230 "pref_mappings": [
2223 { "pref": "policy.device_refresh_rate", 2231 { "pref": "policy.device_refresh_rate",
2224 "local_state": true } 2232 "local_state": true }
2225 ] 2233 ]
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
2440 2448
2441 "AdditionalLaunchParameters": { 2449 "AdditionalLaunchParameters": {
2442 }, 2450 },
2443 2451
2444 "SuppressChromeFrameTurndownPrompt": { 2452 "SuppressChromeFrameTurndownPrompt": {
2445 }, 2453 },
2446 2454
2447 "SkipMetadataCheck": { 2455 "SkipMetadataCheck": {
2448 } 2456 }
2449 } 2457 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698