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

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

Issue 11859029: Add a policy to hide the Web Store on new tabs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Check that footer exists before removing icon Created 7 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 | 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 1436 matching lines...) Expand 10 before | Expand all | Expand 10 after
1447 "BuiltInDnsClientEnabled": { 1447 "BuiltInDnsClientEnabled": {
1448 "os": ["win", "linux", "mac"], 1448 "os": ["win", "linux", "mac"],
1449 "test_policy": { "BuiltInDnsClientEnabled": true }, 1449 "test_policy": { "BuiltInDnsClientEnabled": true },
1450 "pref_mappings": [ 1450 "pref_mappings": [
1451 { "pref": "async_dns.enabled", 1451 { "pref": "async_dns.enabled",
1452 "local_state": true 1452 "local_state": true
1453 } 1453 }
1454 ] 1454 ]
1455 }, 1455 },
1456 1456
1457 "HideWebStoreIcon": {
1458 "os": ["win", "linux", "mac", "chromeos"],
1459 "test_policy": { "HideWebStoreIcon": true },
1460 "pref_mappings": [
1461 { "pref": "hide_web_store_icon" }
1462 ]
1463 },
1464
1457 "----- Chrome OS policies ------------------------------------------------": { }, 1465 "----- Chrome OS policies ------------------------------------------------": { },
1458 1466
1459 "ChromeOsLockOnIdleSuspend": { 1467 "ChromeOsLockOnIdleSuspend": {
1460 "os": ["chromeos"], 1468 "os": ["chromeos"],
1461 "can_be_recommended": true, 1469 "can_be_recommended": true,
1462 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, 1470 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1463 "pref_mappings": [ 1471 "pref_mappings": [
1464 { "pref": "settings.enable_screen_lock", 1472 { "pref": "settings.enable_screen_lock",
1465 "indicator_tests": [ 1473 "indicator_tests": [
1466 { "policy": { "ChromeOsLockOnIdleSuspend": true } } 1474 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1677 1685
1678 "ChromeFrameContentTypes": { 1686 "ChromeFrameContentTypes": {
1679 }, 1687 },
1680 1688
1681 "GCFUserDataDir": { 1689 "GCFUserDataDir": {
1682 }, 1690 },
1683 1691
1684 "AdditionalLaunchParameters": { 1692 "AdditionalLaunchParameters": {
1685 } 1693 }
1686 } 1694 }
OLDNEW
« chrome/browser/policy/policy_browsertest.cc ('K') | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698