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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 55 "indicator_tests": [ | 55 "indicator_tests": [ |
| 56 { "policy": { "HomepageIsNewTabPage": false }, | 56 { "policy": { "HomepageIsNewTabPage": false }, |
| 57 "value": "false"}, | 57 "value": "false"}, |
| 58 { "policy": { "HomepageIsNewTabPage": true }, | 58 { "policy": { "HomepageIsNewTabPage": true }, |
| 59 "value": "true"} | 59 "value": "true"} |
| 60 ] | 60 ] |
| 61 } | 61 } |
| 62 ] | 62 ] |
| 63 }, | 63 }, |
| 64 | 64 |
| 65 "NewTabPageLocation": { | |
| 66 "os": ["win", "linux", "mac", "chromeos"], | |
| 67 "can_be_recommended": true, | |
| 68 "test_policy": { "NewTabPageLocation": "http://chromium.org" }, | |
| 69 "pref_mappings": [ | |
| 70 { "pref": "homepage", | |
|
pastarmovj
2017/01/19 14:56:21
Shouldn't this be "newtab_page_location_override"?
MAD
2017/01/19 16:13:30
Done.
| |
| 71 "indicator_tests": [ | |
| 72 { "policy": { "NewTabPageLocation": "http://chromium.org" } }, | |
| 73 { "policy": { "NewTabPageLocation": "http://chromium.org" }, | |
| 74 "readonly": true | |
| 75 } | |
| 76 ] | |
| 77 } | |
| 78 ] | |
| 79 }, | |
| 80 | |
| 65 "DefaultBrowserSettingEnabled": { | 81 "DefaultBrowserSettingEnabled": { |
| 66 "os": ["win", "mac", "linux"], | 82 "os": ["win", "mac", "linux"], |
| 67 "test_policy": { "DefaultBrowserSettingEnabled": true }, | 83 "test_policy": { "DefaultBrowserSettingEnabled": true }, |
| 68 "pref_mappings": [ | 84 "pref_mappings": [ |
| 69 { "pref": "browser.default_browser_setting_enabled", | 85 { "pref": "browser.default_browser_setting_enabled", |
| 70 "local_state": true | 86 "local_state": true |
| 71 } | 87 } |
| 72 ] | 88 ] |
| 73 }, | 89 }, |
| 74 | 90 |
| (...skipping 2959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3034 | 3050 |
| 3035 "AdditionalLaunchParameters": { | 3051 "AdditionalLaunchParameters": { |
| 3036 }, | 3052 }, |
| 3037 | 3053 |
| 3038 "SuppressChromeFrameTurndownPrompt": { | 3054 "SuppressChromeFrameTurndownPrompt": { |
| 3039 }, | 3055 }, |
| 3040 | 3056 |
| 3041 "SkipMetadataCheck": { | 3057 "SkipMetadataCheck": { |
| 3042 } | 3058 } |
| 3043 } | 3059 } |
| OLD | NEW |