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

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

Issue 437563004: Revert 287212 "Create a policy for controlling whether or not de..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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. 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 1631 matching lines...) Expand 10 before | Expand all | Expand 10 after
1642 "os": ["chromeos"], 1642 "os": ["chromeos"],
1643 "test_policy": { 1643 "test_policy": {
1644 "WallpaperImage": { 1644 "WallpaperImage": {
1645 "url": "http://localhost/", 1645 "url": "http://localhost/",
1646 "hash": "baddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddeca f" 1646 "hash": "baddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddeca f"
1647 } 1647 }
1648 }, 1648 },
1649 "indicator_selector": "#wallpaper-indicator" 1649 "indicator_selector": "#wallpaper-indicator"
1650 }, 1650 },
1651 1651
1652 "BrowserGuestModeEnabled": {
1653 "os": ["win", "linux", "mac"],
1654 "test_policy": { "BrowserGuestModeEnabled": true },
1655 "pref_mappings": [
1656 { "pref": "profile.browser_guest_enabled",
1657 "local_state": true
1658 }
1659 ]
1660 },
1661
1662 "----- Chrome OS policies ------------------------------------------------": { }, 1652 "----- Chrome OS policies ------------------------------------------------": { },
1663 1653
1664 "ChromeOsLockOnIdleSuspend": { 1654 "ChromeOsLockOnIdleSuspend": {
1665 "os": ["chromeos"], 1655 "os": ["chromeos"],
1666 "can_be_recommended": true, 1656 "can_be_recommended": true,
1667 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, 1657 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1668 "pref_mappings": [ 1658 "pref_mappings": [
1669 { "pref": "settings.enable_screen_lock", 1659 { "pref": "settings.enable_screen_lock",
1670 "indicator_tests": [ 1660 "indicator_tests": [
1671 { "policy": { "ChromeOsLockOnIdleSuspend": true } } 1661 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
2367 2357
2368 "AdditionalLaunchParameters": { 2358 "AdditionalLaunchParameters": {
2369 }, 2359 },
2370 2360
2371 "SuppressChromeFrameTurndownPrompt": { 2361 "SuppressChromeFrameTurndownPrompt": {
2372 }, 2362 },
2373 2363
2374 "SkipMetadataCheck": { 2364 "SkipMetadataCheck": {
2375 } 2365 }
2376 } 2366 }
OLDNEW
« no previous file with comments | « trunk/src/chrome/common/pref_names.cc ('k') | trunk/src/components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698