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

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

Issue 2257363002: Define EnabledComponentUpdates group policy for the component updater. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@callback
Patch Set: Removed policy group. Reworded comment. Created 4 years, 3 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/component_updater/component_updater_service.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", "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 1951 matching lines...) Expand 10 before | Expand all | Expand 10 after
1962 }, 1962 },
1963 1963
1964 "WebRtcUdpPortRange": { 1964 "WebRtcUdpPortRange": {
1965 "os": ["win", "linux", "mac", "chromeos", "android"], 1965 "os": ["win", "linux", "mac", "chromeos", "android"],
1966 "test_policy": { "WebRtcUdpPortRange": "10000-11999" }, 1966 "test_policy": { "WebRtcUdpPortRange": "10000-11999" },
1967 "pref_mappings": [ 1967 "pref_mappings": [
1968 { "pref": "webrtc.udp_port_range" } 1968 { "pref": "webrtc.udp_port_range" }
1969 ] 1969 ]
1970 }, 1970 },
1971 1971
1972 "ComponentUpdatesEnabled": {
1973 "os": ["win", "linux", "mac", "chromeos"],
1974 "test_policy": { "ComponentUpdatesEnabled": true },
1975 "pref_mappings": [
1976 { "pref": "component_updates.component_updates_enabled",
1977 "local_state": true
1978 }
1979 ]
1980 },
1981
1972 "----- Chrome OS policies ------------------------------------------------": { }, 1982 "----- Chrome OS policies ------------------------------------------------": { },
1973 1983
1974 "ChromeOsLockOnIdleSuspend": { 1984 "ChromeOsLockOnIdleSuspend": {
1975 "os": ["chromeos"], 1985 "os": ["chromeos"],
1976 "can_be_recommended": true, 1986 "can_be_recommended": true,
1977 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, 1987 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1978 "pref_mappings": [ 1988 "pref_mappings": [
1979 { "pref": "settings.enable_screen_lock", 1989 { "pref": "settings.enable_screen_lock",
1980 "indicator_tests": [ 1990 "indicator_tests": [
1981 { "policy": { "ChromeOsLockOnIdleSuspend": true } } 1991 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
2804 ] 2814 ]
2805 }, 2815 },
2806 2816
2807 "SystemTimezoneAutomaticDetection": { 2817 "SystemTimezoneAutomaticDetection": {
2808 "os": ["chromeos"], 2818 "os": ["chromeos"],
2809 "test_policy": { "SystemTimezoneAutomaticDetection": 1 }, 2819 "test_policy": { "SystemTimezoneAutomaticDetection": 1 },
2810 "pref_mappings": [ 2820 "pref_mappings": [
2811 { "pref": "cros.device.system_timezone_automatic_detection" } 2821 { "pref": "cros.device.system_timezone_automatic_detection" }
2812 ] 2822 ]
2813 }, 2823 },
2814 2824
2815 "WebRestrictionsAuthority": { 2825 "WebRestrictionsAuthority": {
2816 }, 2826 },
2817 2827
2818 "TaskManagerEndProcessEnabled": { 2828 "TaskManagerEndProcessEnabled": {
2819 "os": ["win", "linux", "mac", "chromeos"], 2829 "os": ["win", "linux", "mac", "chromeos"],
2820 "test_policy": { "TaskManagerEndProcessEnabled": false }, 2830 "test_policy": { "TaskManagerEndProcessEnabled": false },
2821 "pref_mappings": [ 2831 "pref_mappings": [
2822 { 2832 {
2823 "pref": "task_manager.end_process_enabled", 2833 "pref": "task_manager.end_process_enabled",
2824 "local_state": true 2834 "local_state": true
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
2861 2871
2862 "AdditionalLaunchParameters": { 2872 "AdditionalLaunchParameters": {
2863 }, 2873 },
2864 2874
2865 "SuppressChromeFrameTurndownPrompt": { 2875 "SuppressChromeFrameTurndownPrompt": {
2866 }, 2876 },
2867 2877
2868 "SkipMetadataCheck": { 2878 "SkipMetadataCheck": {
2869 } 2879 }
2870 } 2880 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | components/component_updater/component_updater_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698