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

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

Issue 2463023002: Revert of Add network throttling as an enterprise policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted by hand 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') | chromeos/dbus/fake_shill_manager_client.h » ('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 2909 matching lines...) Expand 10 before | Expand all | Expand 10 after
2920 "os": ["win", "linux", "mac", "chromeos"], 2920 "os": ["win", "linux", "mac", "chromeos"],
2921 "test_policy": { "TaskManagerEndProcessEnabled": false }, 2921 "test_policy": { "TaskManagerEndProcessEnabled": false },
2922 "pref_mappings": [ 2922 "pref_mappings": [
2923 { 2923 {
2924 "pref": "task_manager.end_process_enabled", 2924 "pref": "task_manager.end_process_enabled",
2925 "local_state": true 2925 "local_state": true
2926 } 2926 }
2927 ] 2927 ]
2928 }, 2928 },
2929 2929
2930 "NetworkThrottlingEnabled": {
2931 "os": ["chromeos"],
2932 "test_policy": { "NetworkThrottlingEnabled": {"enabled": "true", "upload_rat e_kbits": "5600", "download_rate_kbits": "5600"} },
2933 "pref_mappings": [
2934 { "pref": "net.throttling_enabled",
2935 "local_state": true
2936 }
2937 ]
2938 },
2939
2940 "LoginVideoCaptureAllowedUrls": { 2930 "LoginVideoCaptureAllowedUrls": {
2941 "os": ["chromeos"], 2931 "os": ["chromeos"],
2942 "test_policy": { "LoginVideoCaptureAllowedUrls": [ "https://example.com" ] } , 2932 "test_policy": { "LoginVideoCaptureAllowedUrls": [ "https://example.com" ] } ,
2943 "pref_mappings": [ 2933 "pref_mappings": [
2944 { "pref": "cros.device.login_video_capture_allowed_urls" } 2934 { "pref": "cros.device.login_video_capture_allowed_urls" }
2945 ] 2935 ]
2946 }, 2936 },
2947 2937
2948 "LoginApps": { 2938 "LoginApps": {
2949 "os": ["chromeos"], 2939 "os": ["chromeos"],
(...skipping 22 matching lines...) Expand all
2972 2962
2973 "AdditionalLaunchParameters": { 2963 "AdditionalLaunchParameters": {
2974 }, 2964 },
2975 2965
2976 "SuppressChromeFrameTurndownPrompt": { 2966 "SuppressChromeFrameTurndownPrompt": {
2977 }, 2967 },
2978 2968
2979 "SkipMetadataCheck": { 2969 "SkipMetadataCheck": {
2980 } 2970 }
2981 } 2971 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chromeos/dbus/fake_shill_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698