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

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

Issue 2643833002: Add a New Tab page location group policy (Closed)
Patch Set: CR Comments 1 Created 3 years, 11 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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | components/policy/core/common/policy_loader_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
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": "newtab_page_location_override"
71 }
72 ]
73 },
74
65 "DefaultBrowserSettingEnabled": { 75 "DefaultBrowserSettingEnabled": {
66 "os": ["win", "mac", "linux"], 76 "os": ["win", "mac", "linux"],
67 "test_policy": { "DefaultBrowserSettingEnabled": true }, 77 "test_policy": { "DefaultBrowserSettingEnabled": true },
68 "pref_mappings": [ 78 "pref_mappings": [
69 { "pref": "browser.default_browser_setting_enabled", 79 { "pref": "browser.default_browser_setting_enabled",
70 "local_state": true 80 "local_state": true
71 } 81 }
72 ] 82 ]
73 }, 83 },
74 84
(...skipping 2959 matching lines...) Expand 10 before | Expand all | Expand 10 after
3034 3044
3035 "AdditionalLaunchParameters": { 3045 "AdditionalLaunchParameters": {
3036 }, 3046 },
3037 3047
3038 "SuppressChromeFrameTurndownPrompt": { 3048 "SuppressChromeFrameTurndownPrompt": {
3039 }, 3049 },
3040 3050
3041 "SkipMetadataCheck": { 3051 "SkipMetadataCheck": {
3042 } 3052 }
3043 } 3053 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | components/policy/core/common/policy_loader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698