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

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

Issue 385073008: Browser-based guest policy implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove UI element which cause Blink to crash 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
« 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 1633 matching lines...) Expand 10 before | Expand all | Expand 10 after
1644 "os": ["chromeos"], 1644 "os": ["chromeos"],
1645 "test_policy": { 1645 "test_policy": {
1646 "WallpaperImage": { 1646 "WallpaperImage": {
1647 "url": "http://localhost/", 1647 "url": "http://localhost/",
1648 "hash": "baddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddeca f" 1648 "hash": "baddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddeca f"
1649 } 1649 }
1650 }, 1650 },
1651 "indicator_selector": "#wallpaper-indicator" 1651 "indicator_selector": "#wallpaper-indicator"
1652 }, 1652 },
1653 1653
1654 "BrowserGuestModeEnabled": {
1655 "os": ["win", "linux", "mac"],
1656 "test_policy": { "BrowserGuestModeEnabled": true },
1657 "pref_mappings": [
1658 { "pref": "profile.browser_guest_enabled",
1659 "local_state": true
1660 }
1661 ]
1662 },
1663
1654 "----- Chrome OS policies ------------------------------------------------": { }, 1664 "----- Chrome OS policies ------------------------------------------------": { },
1655 1665
1656 "ChromeOsLockOnIdleSuspend": { 1666 "ChromeOsLockOnIdleSuspend": {
1657 "os": ["chromeos"], 1667 "os": ["chromeos"],
1658 "can_be_recommended": true, 1668 "can_be_recommended": true,
1659 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, 1669 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1660 "pref_mappings": [ 1670 "pref_mappings": [
1661 { "pref": "settings.enable_screen_lock", 1671 { "pref": "settings.enable_screen_lock",
1662 "indicator_tests": [ 1672 "indicator_tests": [
1663 { "policy": { "ChromeOsLockOnIdleSuspend": true } } 1673 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
2364 2374
2365 "AdditionalLaunchParameters": { 2375 "AdditionalLaunchParameters": {
2366 }, 2376 },
2367 2377
2368 "SuppressChromeFrameTurndownPrompt": { 2378 "SuppressChromeFrameTurndownPrompt": {
2369 }, 2379 },
2370 2380
2371 "SkipMetadataCheck": { 2381 "SkipMetadataCheck": {
2372 } 2382 }
2373 } 2383 }
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