Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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://test.com/%s", "default": "true"} }, | |
|
bartfab (slow)
2014/06/06 12:01:57
Nit: s/test.com/example.com/ (example.com is speci
kaliamoorthi
2014/06/10 17:14:26
Done.
| |
| 1582 "pref_mappings": [ | |
| 1583 { "pref": "custom_handlers.policy.registered_protocol_handlers", | |
| 1584 "check_for_mandatory": false | |
| 1585 } | |
| 1586 ] | |
| 1587 }, | |
| 1588 | |
| 1589 "IgnoredProtocolHandlers": { | |
| 1590 "os": ["win", "linux", "mac", "chromeos"], | |
| 1591 "can_be_recommended": true, | |
| 1592 "test_policy": { "IgnoredProtocolHandlers": {"protocol": "test1", "url": "ht tp://test1.com/%s"} }, | |
|
bartfab (slow)
2014/06/06 12:01:57
Nit 1: s/test1.com/example.com/ (example.com is sp
kaliamoorthi
2014/06/10 17:14:26
Not relevant anymore
| |
| 1593 "pref_mappings": [ | |
| 1594 { "pref": "custom_handlers.policy.ignored_protocol_handlers", | |
| 1595 "check_for_mandatory": false | |
| 1596 } | |
| 1597 ] | |
| 1598 }, | |
| 1599 | |
| 1578 "HideWebStoreIcon": { | 1600 "HideWebStoreIcon": { |
| 1579 "os": ["win", "linux", "mac", "chromeos"], | 1601 "os": ["win", "linux", "mac", "chromeos"], |
| 1580 "test_policy": { "HideWebStoreIcon": true }, | 1602 "test_policy": { "HideWebStoreIcon": true }, |
| 1581 "pref_mappings": [ | 1603 "pref_mappings": [ |
| 1582 { "pref": "hide_web_store_icon" } | 1604 { "pref": "hide_web_store_icon" } |
| 1583 ] | 1605 ] |
| 1584 }, | 1606 }, |
| 1585 | 1607 |
| 1586 "VariationsRestrictParameter": { | 1608 "VariationsRestrictParameter": { |
| 1587 "test_policy": { "VariationsRestrictParameter": "restricted" }, | 1609 "test_policy": { "VariationsRestrictParameter": "restricted" }, |
| (...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2302 | 2324 |
| 2303 "AdditionalLaunchParameters": { | 2325 "AdditionalLaunchParameters": { |
| 2304 }, | 2326 }, |
| 2305 | 2327 |
| 2306 "SuppressChromeFrameTurndownPrompt": { | 2328 "SuppressChromeFrameTurndownPrompt": { |
| 2307 }, | 2329 }, |
| 2308 | 2330 |
| 2309 "SkipMetadataCheck": { | 2331 "SkipMetadataCheck": { |
| 2310 } | 2332 } |
| 2311 } | 2333 } |
| OLD | NEW |