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

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

Issue 2559323002: Add a policy to always show the Cast toolbar icon (Closed)
Patch Set: Address Derek's comments Created 3 years, 12 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", "android", "Defaults to empty if not specifie d."], 5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "android", "Defaults to empty if not specifie d."],
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 2000 matching lines...) Expand 10 before | Expand all | Expand 10 after
2011 }, 2011 },
2012 2012
2013 "EnableMediaRouter": { 2013 "EnableMediaRouter": {
2014 "os": ["win", "linux", "mac", "chromeos", "android"], 2014 "os": ["win", "linux", "mac", "chromeos", "android"],
2015 "test_policy": { "EnableMediaRouter": true }, 2015 "test_policy": { "EnableMediaRouter": true },
2016 "pref_mappings": [ 2016 "pref_mappings": [
2017 { "pref": "media_router.enable_media_router" } 2017 { "pref": "media_router.enable_media_router" }
2018 ] 2018 ]
2019 }, 2019 },
2020 2020
2021 "ShowCastIconInToolbar": {
2022 "os": ["win", "linux", "mac", "chromeos"],
2023 "test_policy": { "ShowCastIconInToolbar": false },
2024 "pref_mappings": [
2025 { "pref": "media_router.show_cast_icon_in_toolbar" }
2026 ]
2027 },
2028
2021 "NTPContentSuggestionsEnabled": { 2029 "NTPContentSuggestionsEnabled": {
2022 "os": ["android"], 2030 "os": ["android"],
2023 "test_policy": { "NTPContentSuggestionsEnabled": false }, 2031 "test_policy": { "NTPContentSuggestionsEnabled": false },
2024 "pref_mappings": [ 2032 "pref_mappings": [
2025 { "pref": "ntp_snippets.enable" } 2033 { "pref": "ntp_snippets.enable" }
2026 ] 2034 ]
2027 }, 2035 },
2028 2036
2029 "WebRtcUdpPortRange": { 2037 "WebRtcUdpPortRange": {
2030 "os": ["win", "linux", "mac", "chromeos", "android"], 2038 "os": ["win", "linux", "mac", "chromeos", "android"],
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after
3034 3042
3035 "AdditionalLaunchParameters": { 3043 "AdditionalLaunchParameters": {
3036 }, 3044 },
3037 3045
3038 "SuppressChromeFrameTurndownPrompt": { 3046 "SuppressChromeFrameTurndownPrompt": {
3039 }, 3047 },
3040 3048
3041 "SkipMetadataCheck": { 3049 "SkipMetadataCheck": {
3042 } 3050 }
3043 } 3051 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698