Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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"], | |
|
Thiemo Nagel
2016/08/11 09:29:26
From policy_templates.json it seems that Android i
Guido Urdaneta
2016/08/11 10:10:25
Fixed policy_templates.json. Android is supported.
| |
| 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 Loading... | |
| 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 } |
| OLD | NEW |