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

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

Issue 518063002: Settings to control Add Person and Browse as Guest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: estade nits; move pref registry Created 6 years, 3 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 1643 matching lines...) Expand 10 before | Expand all | Expand 10 after
1654 "BrowserGuestModeEnabled": { 1654 "BrowserGuestModeEnabled": {
1655 "os": ["win", "linux", "mac"], 1655 "os": ["win", "linux", "mac"],
1656 "test_policy": { "BrowserGuestModeEnabled": true }, 1656 "test_policy": { "BrowserGuestModeEnabled": true },
1657 "pref_mappings": [ 1657 "pref_mappings": [
1658 { "pref": "profile.browser_guest_enabled", 1658 { "pref": "profile.browser_guest_enabled",
1659 "local_state": true 1659 "local_state": true
1660 } 1660 }
1661 ] 1661 ]
1662 }, 1662 },
1663 1663
1664 "BrowserAddPersonEnabled": {
1665 "os": ["win", "linux", "mac"],
1666 "test_policy": { "BrowserAddPersonEnabled": true },
1667 "pref_mappings": [
1668 { "pref": "profile.add_person_enabled",
1669 "local_state": true
1670 }
1671 ]
1672 },
1673
1664 "----- Chrome OS policies ------------------------------------------------": { }, 1674 "----- Chrome OS policies ------------------------------------------------": { },
1665 1675
1666 "ChromeOsLockOnIdleSuspend": { 1676 "ChromeOsLockOnIdleSuspend": {
1667 "os": ["chromeos"], 1677 "os": ["chromeos"],
1668 "can_be_recommended": true, 1678 "can_be_recommended": true,
1669 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, 1679 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1670 "pref_mappings": [ 1680 "pref_mappings": [
1671 { "pref": "settings.enable_screen_lock", 1681 { "pref": "settings.enable_screen_lock",
1672 "indicator_tests": [ 1682 "indicator_tests": [
1673 { "policy": { "ChromeOsLockOnIdleSuspend": true } } 1683 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
2374 2384
2375 "AdditionalLaunchParameters": { 2385 "AdditionalLaunchParameters": {
2376 }, 2386 },
2377 2387
2378 "SuppressChromeFrameTurndownPrompt": { 2388 "SuppressChromeFrameTurndownPrompt": {
2379 }, 2389 },
2380 2390
2381 "SkipMetadataCheck": { 2391 "SkipMetadataCheck": {
2382 } 2392 }
2383 } 2393 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698