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

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

Issue 11186002: Add a SafeSearch preference, policy and implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add a SafeSearch preference, policy and implementation. Created 8 years, 2 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 | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "-- Template --": { 2 "-- Template --": {
3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below.", 3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below.",
4 4
5 "pref": "The pref that this policy maps to, if any.", 5 "pref": "The pref that this policy maps to, if any.",
6 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.", 6 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.",
7 "test_policy": "A policy dictionary that should trigger the managed banner i n the settings UI. Usually just sets the current policy.", 7 "test_policy": "A policy dictionary that should trigger the managed banner i n the settings UI. Usually just sets the current policy.",
8 "indicator_tests": [ 8 "indicator_tests": [
9 "A list of test cases verifying that the controlled setting indicators for |pref| correctly indicate whether its value is recommended or enforced by a cor responding policy. Each test case is a dictionary with the following format:", 9 "A list of test cases verifying that the controlled setting indicators for |pref| correctly indicate whether its value is recommended or enforced by a cor responding policy. Each test case is a dictionary with the following format:",
10 { "policy": "A policy dictionary that should affect |pref| when set as man datory or recommended policy.", 10 { "policy": "A policy dictionary that should affect |pref| when set as man datory or recommended policy.",
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 "os": ["win", "mac", "linux"] 185 "os": ["win", "mac", "linux"]
186 }, 186 },
187 187
188 "SafeBrowsingEnabled": { 188 "SafeBrowsingEnabled": {
189 "pref": "safebrowsing.enabled", 189 "pref": "safebrowsing.enabled",
190 "test_policy": { "SafeBrowsingEnabled": false }, 190 "test_policy": { "SafeBrowsingEnabled": false },
191 "settings_pages": ["chrome://settings-frame"], 191 "settings_pages": ["chrome://settings-frame"],
192 "os": ["win", "linux", "mac", "chromeos"] 192 "os": ["win", "linux", "mac", "chromeos"]
193 }, 193 },
194 194
195 "SafeSearchEnabled": {
196 "pref": "settings.safesearch",
197 "test_policy": { "SafeSearchEnabled": true },
198 "settings_pages": [],
199 "os": ["win", "linux", "mac", "chromeos"]
200 },
201
195 "MetricsReportingEnabled": { 202 "MetricsReportingEnabled": {
196 "pref": "user_experience_metrics.reporting_enabled", 203 "pref": "user_experience_metrics.reporting_enabled",
197 "test_policy": { "MetricsReportingEnabled": false }, 204 "test_policy": { "MetricsReportingEnabled": false },
198 "settings_pages": ["chrome://settings-frame"], 205 "settings_pages": ["chrome://settings-frame"],
199 "os": ["win", "mac", "linux"], 206 "os": ["win", "mac", "linux"],
200 "local_state": true, 207 "local_state": true,
201 "official_only": true 208 "official_only": true
202 }, 209 },
203 210
204 "PasswordManagerEnabled": { 211 "PasswordManagerEnabled": {
(...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after
1194 "os": [] 1201 "os": []
1195 }, 1202 },
1196 1203
1197 "AdditionalLaunchParameters": { 1204 "AdditionalLaunchParameters": {
1198 "pref": null, 1205 "pref": null,
1199 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" }, 1206 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" },
1200 "settings_pages": [], 1207 "settings_pages": [],
1201 "os": [] 1208 "os": []
1202 } 1209 }
1203 } 1210 }
OLDNEW
« chrome/common/url_constants.cc ('K') | « chrome/common/url_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698