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

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: Rebased with the latest tree version Created 8 years, 1 month 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 "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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 "test_policy": { "SafeBrowsingEnabled": false }, 247 "test_policy": { "SafeBrowsingEnabled": false },
248 "pref_mappings": [ 248 "pref_mappings": [
249 { "pref": "safebrowsing.enabled", 249 { "pref": "safebrowsing.enabled",
250 "indicator_tests": [ 250 "indicator_tests": [
251 { "policy": { "SafeBrowsingEnabled": false } } 251 { "policy": { "SafeBrowsingEnabled": false } }
252 ] 252 ]
253 } 253 }
254 ] 254 ]
255 }, 255 },
256 256
257 "ForceSafeSearch": {
258 "pref": "settings.force_safesearch",
259 "test_policy": { "ForceSafeSearch": true },
260 "settings_pages": [],
261 "os": ["win", "linux", "mac", "chromeos"]
262 },
263
257 "MetricsReportingEnabled": { 264 "MetricsReportingEnabled": {
258 "os": ["win", "mac", "linux"], 265 "os": ["win", "mac", "linux"],
259 "official_only": true, 266 "official_only": true,
260 "can_be_recommended": true, 267 "can_be_recommended": true,
261 "test_policy": { "MetricsReportingEnabled": false }, 268 "test_policy": { "MetricsReportingEnabled": false },
262 "pref_mappings": [ 269 "pref_mappings": [
263 { "pref": "user_experience_metrics.reporting_enabled", 270 { "pref": "user_experience_metrics.reporting_enabled",
264 "local_state": true, 271 "local_state": true,
265 "indicator_tests": [ 272 "indicator_tests": [
266 { "policy": { "MetricsReportingEnabled": false } } 273 { "policy": { "MetricsReportingEnabled": false } }
(...skipping 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after
1582 1589
1583 "ChromeFrameContentTypes": { 1590 "ChromeFrameContentTypes": {
1584 }, 1591 },
1585 1592
1586 "GCFUserDataDir": { 1593 "GCFUserDataDir": {
1587 }, 1594 },
1588 1595
1589 "AdditionalLaunchParameters": { 1596 "AdditionalLaunchParameters": {
1590 } 1597 }
1591 } 1598 }
OLDNEW
« chrome/app/policy/policy_templates.json ('K') | « chrome/common/url_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698