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", "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 1758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1769 "DefaultPrinterSelection": { | 1769 "DefaultPrinterSelection": { |
| 1770 "os": ["win", "linux", "mac", "chromeos"], | 1770 "os": ["win", "linux", "mac", "chromeos"], |
| 1771 "test_policy": { | 1771 "test_policy": { |
| 1772 "DefaultPrinterSelection": "{ 'kind': 'local', 'namePattern': '.*' }" | 1772 "DefaultPrinterSelection": "{ 'kind': 'local', 'namePattern': '.*' }" |
| 1773 }, | 1773 }, |
| 1774 "pref_mappings": [ | 1774 "pref_mappings": [ |
| 1775 { "pref": "printing.default_destination_selection_rules" } | 1775 { "pref": "printing.default_destination_selection_rules" } |
| 1776 ] | 1776 ] |
| 1777 }, | 1777 }, |
| 1778 | 1778 |
| 1779 "UseSystemDefaultPrinterAsDefault": { | |
| 1780 "os": ["win", "mac", "linux"], | |
|
Lei Zhang
2017/06/15 18:26:16
skau: With CUPS on ChromeOS, does ChromeOS now hav
skau
2017/06/15 19:41:31
No, we don't maintain a system default printer in
| |
| 1781 "test_policy": { "UseSystemDefaultPrinterAsDefault": false }, | |
| 1782 "pref_mappings": [ | |
| 1783 { "pref": "printing.use_system_default_printer" } | |
| 1784 ] | |
| 1785 }, | |
| 1786 | |
| 1779 "BackgroundModeEnabled": { | 1787 "BackgroundModeEnabled": { |
| 1780 "os": ["win", "linux"], | 1788 "os": ["win", "linux"], |
| 1781 "can_be_recommended": true, | 1789 "can_be_recommended": true, |
| 1782 "test_policy": { "BackgroundModeEnabled": false }, | 1790 "test_policy": { "BackgroundModeEnabled": false }, |
| 1783 "pref_mappings": [ | 1791 "pref_mappings": [ |
| 1784 { "pref": "background_mode.enabled", | 1792 { "pref": "background_mode.enabled", |
| 1785 "local_state": true, | 1793 "local_state": true, |
| 1786 "indicator_tests": [ | 1794 "indicator_tests": [ |
| 1787 { "policy": { "BackgroundModeEnabled": false } } | 1795 { "policy": { "BackgroundModeEnabled": false } } |
| 1788 ] | 1796 ] |
| (...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3107 | 3115 |
| 3108 "AdditionalLaunchParameters": { | 3116 "AdditionalLaunchParameters": { |
| 3109 }, | 3117 }, |
| 3110 | 3118 |
| 3111 "SuppressChromeFrameTurndownPrompt": { | 3119 "SuppressChromeFrameTurndownPrompt": { |
| 3112 }, | 3120 }, |
| 3113 | 3121 |
| 3114 "SkipMetadataCheck": { | 3122 "SkipMetadataCheck": { |
| 3115 } | 3123 } |
| 3116 } | 3124 } |
| OLD | NEW |