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

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

Issue 2387253002: cros: Added policies for screen unlock. (Closed)
Patch Set: Fixed patch set 1 errors. Created 4 years, 2 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", "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 2617 matching lines...) Expand 10 before | Expand all | Expand 10 after
2628 }, 2628 },
2629 2629
2630 "AllowScreenLock": { 2630 "AllowScreenLock": {
2631 "os": ["chromeos"], 2631 "os": ["chromeos"],
2632 "test_policy": { "AllowScreenLock": true }, 2632 "test_policy": { "AllowScreenLock": true },
2633 "pref_mappings": [ 2633 "pref_mappings": [
2634 { "pref": "allow_screen_lock"} 2634 { "pref": "allow_screen_lock"}
2635 ] 2635 ]
2636 }, 2636 },
2637 2637
2638 "QuickUnlockModeWhitelist": {
2639 "os": ["chromeos"],
2640 "test_policy": { "QuickUnlockModeWhitelist": ["password"] },
jdufault 2016/10/21 19:03:45 I don't think "password" should be related to quic
sammiequon 2016/10/21 23:49:25 Should I ask tbuckley@ to remove it then? I put "P
jdufault 2016/10/25 17:39:50 The doc has been updated, password is no longer re
2641 "pref_mappings": [
2642 { "pref": "quick_unlock_mode_whitelist"}
2643 ]
2644 },
2645
2646 "QuickUnlockTimeout": {
2647 "os": ["chromeos"],
2648 "test_policy": { "QuickUnlockTimeout": 0 },
2649 "pref_mappings": [
2650 { "pref": "quick_unlock_timeout"}
2651 ]
2652 },
2653
2638 "ArcCertificatesSyncMode": { 2654 "ArcCertificatesSyncMode": {
2639 "os": ["chromeos"], 2655 "os": ["chromeos"],
2640 "can_be_recommended": false, 2656 "can_be_recommended": false,
2641 "test_policy": { "ArcCertificatesSyncMode": 0 } 2657 "test_policy": { "ArcCertificatesSyncMode": 0 }
2642 }, 2658 },
2643 2659
2644 "ArcBackupRestoreEnabled": { 2660 "ArcBackupRestoreEnabled": {
2645 "os": ["chromeos"], 2661 "os": ["chromeos"],
2646 "can_be_recommended": false, 2662 "can_be_recommended": false,
2647 "test_policy": { "ArcBackupRestoreEnabled": false }, 2663 "test_policy": { "ArcBackupRestoreEnabled": false },
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
2962 2978
2963 "AdditionalLaunchParameters": { 2979 "AdditionalLaunchParameters": {
2964 }, 2980 },
2965 2981
2966 "SuppressChromeFrameTurndownPrompt": { 2982 "SuppressChromeFrameTurndownPrompt": {
2967 }, 2983 },
2968 2984
2969 "SkipMetadataCheck": { 2985 "SkipMetadataCheck": {
2970 } 2986 }
2971 } 2987 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698