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

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

Issue 309553011: Enable policy support for registering protocol handler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Issue_116119_pre
Patch Set: Fix for the windows compile error Created 6 years, 6 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 1557 matching lines...) Expand 10 before | Expand all | Expand 10 after
1568 "WPADQuickCheckEnabled": { 1568 "WPADQuickCheckEnabled": {
1569 "os": ["win", "linux", "mac", "chromeos"], 1569 "os": ["win", "linux", "mac", "chromeos"],
1570 "test_policy": { "WPADQuickCheckEnabled": true }, 1570 "test_policy": { "WPADQuickCheckEnabled": true },
1571 "pref_mappings": [ 1571 "pref_mappings": [
1572 { "pref": "proxy.quick_check_enabled", 1572 { "pref": "proxy.quick_check_enabled",
1573 "local_state": true 1573 "local_state": true
1574 } 1574 }
1575 ] 1575 ]
1576 }, 1576 },
1577 1577
1578 "RegisteredProtocolHandlers": {
1579 "os": ["win", "linux", "mac", "chromeos"],
1580 "can_be_recommended": true,
1581 "test_policy": { "RegisteredProtocolHandlers": {"protocol": "test", "url": " http://example.com/%s", "default": "true"} },
1582 "pref_mappings": [
1583 { "pref": "custom_handlers.policy.registered_protocol_handlers",
1584 "check_for_mandatory": false
1585 }
1586 ]
1587 },
1588
1578 "HideWebStoreIcon": { 1589 "HideWebStoreIcon": {
1579 "os": ["win", "linux", "mac", "chromeos"], 1590 "os": ["win", "linux", "mac", "chromeos"],
1580 "test_policy": { "HideWebStoreIcon": true }, 1591 "test_policy": { "HideWebStoreIcon": true },
1581 "pref_mappings": [ 1592 "pref_mappings": [
1582 { "pref": "hide_web_store_icon" } 1593 { "pref": "hide_web_store_icon" }
1583 ] 1594 ]
1584 }, 1595 },
1585 1596
1586 "VariationsRestrictParameter": { 1597 "VariationsRestrictParameter": {
1587 "test_policy": { "VariationsRestrictParameter": "restricted" }, 1598 "test_policy": { "VariationsRestrictParameter": "restricted" },
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
2302 2313
2303 "AdditionalLaunchParameters": { 2314 "AdditionalLaunchParameters": {
2304 }, 2315 },
2305 2316
2306 "SuppressChromeFrameTurndownPrompt": { 2317 "SuppressChromeFrameTurndownPrompt": {
2307 }, 2318 },
2308 2319
2309 "SkipMetadataCheck": { 2320 "SkipMetadataCheck": {
2310 } 2321 }
2311 } 2322 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698