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

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

Issue 2387253002: cros: Added policies for screen unlock. (Closed)
Patch Set: 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", "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 2584 matching lines...) Expand 10 before | Expand all | Expand 10 after
2595 }, 2595 },
2596 2596
2597 "PinUnlockAllowEasyPins": { 2597 "PinUnlockAllowEasyPins": {
2598 "os": ["chromeos"], 2598 "os": ["chromeos"],
2599 "test_policy": { "PinUnlockAllowEasyPins": false }, 2599 "test_policy": { "PinUnlockAllowEasyPins": false },
2600 "pref_mappings": [ 2600 "pref_mappings": [
2601 { "pref": "pin_unlock_allow_easy_pins"} 2601 { "pref": "pin_unlock_allow_easy_pins"}
2602 ] 2602 ]
2603 }, 2603 },
2604 2604
2605 "ScreenUnlockWhitelist": {
2606 "os": ["chromeos"],
2607 "test_policy": { "ScreenUnlockWhitelist": ["password"] },
2608 "pref_mappings": [
2609 { "pref": "screen_unlock_whitelist"}
2610 ]
2611 },
2612
2613 "ScreenUnlockPasswordConfirmationFrequency": {
2614 "os": ["chromeos"],
2615 "test_policy": { "ScreenUnlockPasswordConfirmationFrequency": 0 },
2616 "pref_mappings": [
2617 { "pref": "screen_unlock_password_confirmation_frequency"}
2618 ]
2619 },
2620
2605 "ArcCertificatesSyncMode": { 2621 "ArcCertificatesSyncMode": {
2606 "os": ["chromeos"], 2622 "os": ["chromeos"],
2607 "can_be_recommended": false, 2623 "can_be_recommended": false,
2608 "test_policy": { "ArcCertificatesSyncMode": 0 } 2624 "test_policy": { "ArcCertificatesSyncMode": 0 }
2609 }, 2625 },
2610 2626
2611 "ArcBackupRestoreEnabled": { 2627 "ArcBackupRestoreEnabled": {
2612 "os": ["chromeos"], 2628 "os": ["chromeos"],
2613 "can_be_recommended": false, 2629 "can_be_recommended": false,
2614 "test_policy": { "ArcBackupRestoreEnabled": false }, 2630 "test_policy": { "ArcBackupRestoreEnabled": false },
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
2919 2935
2920 "AdditionalLaunchParameters": { 2936 "AdditionalLaunchParameters": {
2921 }, 2937 },
2922 2938
2923 "SuppressChromeFrameTurndownPrompt": { 2939 "SuppressChromeFrameTurndownPrompt": {
2924 }, 2940 },
2925 2941
2926 "SkipMetadataCheck": { 2942 "SkipMetadataCheck": {
2927 } 2943 }
2928 } 2944 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698