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

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

Issue 2387253002: cros: Added policies for screen unlock. (Closed)
Patch Set: Rebased. Created 4 years, 1 month 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", "android", "Defaults to empty if not specifie d."], 5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "android", "Defaults to empty if not specifie d."],
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 2640 matching lines...) Expand 10 before | Expand all | Expand 10 after
2651 }, 2651 },
2652 2652
2653 "AllowScreenLock": { 2653 "AllowScreenLock": {
2654 "os": ["chromeos"], 2654 "os": ["chromeos"],
2655 "test_policy": { "AllowScreenLock": true }, 2655 "test_policy": { "AllowScreenLock": true },
2656 "pref_mappings": [ 2656 "pref_mappings": [
2657 { "pref": "allow_screen_lock"} 2657 { "pref": "allow_screen_lock"}
2658 ] 2658 ]
2659 }, 2659 },
2660 2660
2661 "QuickUnlockModeWhitelist": {
2662 "os": ["chromeos"],
2663 "test_policy": { "QuickUnlockModeWhitelist": ["PIN"] },
2664 "pref_mappings": [
2665 { "pref": "quick_unlock_mode_whitelist"}
2666 ]
2667 },
2668
2669 "QuickUnlockTimeout": {
2670 "os": ["chromeos"],
2671 "test_policy": { "QuickUnlockTimeout": 0 },
2672 "pref_mappings": [
2673 { "pref": "quick_unlock_timeout"}
2674 ]
2675 },
2676
2661 "ArcCertificatesSyncMode": { 2677 "ArcCertificatesSyncMode": {
2662 "os": ["chromeos"], 2678 "os": ["chromeos"],
2663 "can_be_recommended": false, 2679 "can_be_recommended": false,
2664 "test_policy": { "ArcCertificatesSyncMode": 0 } 2680 "test_policy": { "ArcCertificatesSyncMode": 0 }
2665 }, 2681 },
2666 2682
2667 "ArcBackupRestoreEnabled": { 2683 "ArcBackupRestoreEnabled": {
2668 "os": ["chromeos"], 2684 "os": ["chromeos"],
2669 "can_be_recommended": false, 2685 "can_be_recommended": false,
2670 "test_policy": { "ArcBackupRestoreEnabled": false }, 2686 "test_policy": { "ArcBackupRestoreEnabled": false },
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
2995 3011
2996 "AdditionalLaunchParameters": { 3012 "AdditionalLaunchParameters": {
2997 }, 3013 },
2998 3014
2999 "SuppressChromeFrameTurndownPrompt": { 3015 "SuppressChromeFrameTurndownPrompt": {
3000 }, 3016 },
3001 3017
3002 "SkipMetadataCheck": { 3018 "SkipMetadataCheck": {
3003 } 3019 }
3004 } 3020 }
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