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

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

Issue 118253005: Add managed policies for Native Messaging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "-- Template --": { 2 "-- Template --": {
3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below.", 3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below.",
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 1941 matching lines...) Expand 10 before | Expand all | Expand 10 after
1952 }, 1952 },
1953 1953
1954 "ChromeOsMultiProfileUserBehavior": { 1954 "ChromeOsMultiProfileUserBehavior": {
1955 "os": ["chromeos"], 1955 "os": ["chromeos"],
1956 "test_policy": { "ChromeOsMultiProfileUserBehavior": "unrestricted" }, 1956 "test_policy": { "ChromeOsMultiProfileUserBehavior": "unrestricted" },
1957 "pref_mappings": [ 1957 "pref_mappings": [
1958 { "pref": "settings.multiprofile_user_behavior" } 1958 { "pref": "settings.multiprofile_user_behavior" }
1959 ] 1959 ]
1960 }, 1960 },
1961 1961
1962 "NativeMessagingBlacklist": {
1963 "os": ["win", "linux", "mac"],
1964 "test_policy": { "NativeMessagingBlacklist": ["*"] },
1965 "pref_mappings": [
1966 { "pref": "native_messaging.blacklist" }
1967 ]
1968 },
1969
1970 "NativeMessagingWhitelist": {
1971 "os": ["win", "linux", "mac"],
1972 "test_policy": { "NativeMessagingWhitelist": ["native.messaging.host.name"] },
1973 "pref_mappings": [
1974 { "pref": "native_messaging.whitelist" }
1975 ]
1976 },
1977
1962 "----- Chrome OS device policies ---------------------------------------": {}, 1978 "----- Chrome OS device policies ---------------------------------------": {},
1963 1979
1964 "DevicePolicyRefreshRate": { 1980 "DevicePolicyRefreshRate": {
1965 "os": ["chromeos"], 1981 "os": ["chromeos"],
1966 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 1982 "test_policy": { "DevicePolicyRefreshRate": 300000 },
1967 "pref_mappings": [ 1983 "pref_mappings": [
1968 { "pref": "policy.device_refresh_rate", 1984 { "pref": "policy.device_refresh_rate",
1969 "local_state": true } 1985 "local_state": true }
1970 ] 1986 ]
1971 }, 1987 },
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
2152 2168
2153 "AdditionalLaunchParameters": { 2169 "AdditionalLaunchParameters": {
2154 }, 2170 },
2155 2171
2156 "SuppressChromeFrameTurndownPrompt": { 2172 "SuppressChromeFrameTurndownPrompt": {
2157 }, 2173 },
2158 2174
2159 "SkipMetadataCheck": { 2175 "SkipMetadataCheck": {
2160 } 2176 }
2161 } 2177 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698