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

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

Issue 2127653002: Add policy to control valid UDP port range in WebRTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tnagel's comments Created 4 years, 4 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
« 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", "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 1933 matching lines...) Expand 10 before | Expand all | Expand 10 after
1944 }, 1944 },
1945 1945
1946 "NTPContentSuggestionsEnabled": { 1946 "NTPContentSuggestionsEnabled": {
1947 "os": ["android"], 1947 "os": ["android"],
1948 "test_policy": { "NTPContentSuggestionsEnabled": false }, 1948 "test_policy": { "NTPContentSuggestionsEnabled": false },
1949 "pref_mappings": [ 1949 "pref_mappings": [
1950 { "pref": "ntp_snippets.enable" } 1950 { "pref": "ntp_snippets.enable" }
1951 ] 1951 ]
1952 }, 1952 },
1953 1953
1954 "WebRtcUdpPortRange": {
1955 "os": ["win", "linux", "mac", "chromeos", "android"],
1956 "test_policy": { "WebRtcUdpPortRange": "10000-11999" },
1957 "pref_mappings": [
1958 { "pref": "webrtc.udp_port_range" }
1959 ]
1960 },
1961
1954 "----- Chrome OS policies ------------------------------------------------": { }, 1962 "----- Chrome OS policies ------------------------------------------------": { },
1955 1963
1956 "ChromeOsLockOnIdleSuspend": { 1964 "ChromeOsLockOnIdleSuspend": {
1957 "os": ["chromeos"], 1965 "os": ["chromeos"],
1958 "can_be_recommended": true, 1966 "can_be_recommended": true,
1959 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, 1967 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1960 "pref_mappings": [ 1968 "pref_mappings": [
1961 { "pref": "settings.enable_screen_lock", 1969 { "pref": "settings.enable_screen_lock",
1962 "indicator_tests": [ 1970 "indicator_tests": [
1963 { "policy": { "ChromeOsLockOnIdleSuspend": true } } 1971 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
2840 2848
2841 "AdditionalLaunchParameters": { 2849 "AdditionalLaunchParameters": {
2842 }, 2850 },
2843 2851
2844 "SuppressChromeFrameTurndownPrompt": { 2852 "SuppressChromeFrameTurndownPrompt": {
2845 }, 2853 },
2846 2854
2847 "SkipMetadataCheck": { 2855 "SkipMetadataCheck": {
2848 } 2856 }
2849 } 2857 }
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