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

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

Issue 2466693002: [Re-land] Add network throttling as enterprise policy (Closed)
Patch Set: [Re-land] Add network throttling as enterprise policy 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
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 2932 matching lines...) Expand 10 before | Expand all | Expand 10 after
2943 "os": ["win", "linux", "mac", "chromeos"], 2943 "os": ["win", "linux", "mac", "chromeos"],
2944 "test_policy": { "TaskManagerEndProcessEnabled": false }, 2944 "test_policy": { "TaskManagerEndProcessEnabled": false },
2945 "pref_mappings": [ 2945 "pref_mappings": [
2946 { 2946 {
2947 "pref": "task_manager.end_process_enabled", 2947 "pref": "task_manager.end_process_enabled",
2948 "local_state": true 2948 "local_state": true
2949 } 2949 }
2950 ] 2950 ]
2951 }, 2951 },
2952 2952
2953 "NetworkThrottlingEnabled": {
2954 "os": ["chromeos"],
2955 "test_policy": { "NetworkThrottlingEnabled": {"enabled": "true", "upload_rat e_kbits": "5600", "download_rate_kbits": "5600"} },
2956 "pref_mappings": [
2957 { "pref": "net.throttling_enabled",
2958 "local_state": true
2959 }
2960 ]
2961 },
2962
2953 "LoginVideoCaptureAllowedUrls": { 2963 "LoginVideoCaptureAllowedUrls": {
2954 "os": ["chromeos"], 2964 "os": ["chromeos"],
2955 "test_policy": { "LoginVideoCaptureAllowedUrls": [ "https://example.com" ] } , 2965 "test_policy": { "LoginVideoCaptureAllowedUrls": [ "https://example.com" ] } ,
2956 "pref_mappings": [ 2966 "pref_mappings": [
2957 { "pref": "cros.device.login_video_capture_allowed_urls" } 2967 { "pref": "cros.device.login_video_capture_allowed_urls" }
2958 ] 2968 ]
2959 }, 2969 },
2960 2970
2961 "LoginApps": { 2971 "LoginApps": {
2962 "os": ["chromeos"], 2972 "os": ["chromeos"],
(...skipping 22 matching lines...) Expand all
2985 2995
2986 "AdditionalLaunchParameters": { 2996 "AdditionalLaunchParameters": {
2987 }, 2997 },
2988 2998
2989 "SuppressChromeFrameTurndownPrompt": { 2999 "SuppressChromeFrameTurndownPrompt": {
2990 }, 3000 },
2991 3001
2992 "SkipMetadataCheck": { 3002 "SkipMetadataCheck": {
2993 } 3003 }
2994 } 3004 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698