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

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

Issue 2162413002: Introduce an NTPContentSuggestionsEnabled policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pref_flip
Patch Set: nit 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
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 1925 matching lines...) Expand 10 before | Expand all | Expand 10 after
1936 }, 1936 },
1937 1937
1938 "EnableMediaRouter": { 1938 "EnableMediaRouter": {
1939 "os": ["win", "linux", "mac", "chromeos", "android"], 1939 "os": ["win", "linux", "mac", "chromeos", "android"],
1940 "test_policy": { "EnableMediaRouter": true }, 1940 "test_policy": { "EnableMediaRouter": true },
1941 "pref_mappings": [ 1941 "pref_mappings": [
1942 { "pref": "media_router.enable_media_router" } 1942 { "pref": "media_router.enable_media_router" }
1943 ] 1943 ]
1944 }, 1944 },
1945 1945
1946 "NTPContentSuggestionsEnabled": {
1947 "os": ["android"],
1948 "test_policy": { "NTPContentSuggestionsEnabled": false },
1949 "pref_mappings": [
1950 { "pref": "ntp_snippets.enable" }
1951 ]
1952 },
1953
1946 "----- Chrome OS policies ------------------------------------------------": { }, 1954 "----- Chrome OS policies ------------------------------------------------": { },
1947 1955
1948 "ChromeOsLockOnIdleSuspend": { 1956 "ChromeOsLockOnIdleSuspend": {
1949 "os": ["chromeos"], 1957 "os": ["chromeos"],
1950 "can_be_recommended": true, 1958 "can_be_recommended": true,
1951 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, 1959 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1952 "pref_mappings": [ 1960 "pref_mappings": [
1953 { "pref": "settings.enable_screen_lock", 1961 { "pref": "settings.enable_screen_lock",
1954 "indicator_tests": [ 1962 "indicator_tests": [
1955 { "policy": { "ChromeOsLockOnIdleSuspend": true } } 1963 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
2832 2840
2833 "AdditionalLaunchParameters": { 2841 "AdditionalLaunchParameters": {
2834 }, 2842 },
2835 2843
2836 "SuppressChromeFrameTurndownPrompt": { 2844 "SuppressChromeFrameTurndownPrompt": {
2837 }, 2845 },
2838 2846
2839 "SkipMetadataCheck": { 2847 "SkipMetadataCheck": {
2840 } 2848 }
2841 } 2849 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_handler_list_factory.cc ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698