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

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: filter app from c++ Created 7 years, 10 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
« chrome/common/pref_names.cc ('K') | « chrome/common/pref_names.cc ('k') | no next file » | 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.", 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 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1451 "BuiltInDnsClientEnabled": { 1451 "BuiltInDnsClientEnabled": {
1452 "os": ["win", "linux", "mac"], 1452 "os": ["win", "linux", "mac"],
1453 "test_policy": { "BuiltInDnsClientEnabled": true }, 1453 "test_policy": { "BuiltInDnsClientEnabled": true },
1454 "pref_mappings": [ 1454 "pref_mappings": [
1455 { "pref": "async_dns.enabled", 1455 { "pref": "async_dns.enabled",
1456 "local_state": true 1456 "local_state": true
1457 } 1457 }
1458 ] 1458 ]
1459 }, 1459 },
1460 1460
1461 "HideWebStoreIcon": {
1462 "os": ["win", "linux", "mac", "chromeos"],
Dan Beam 2013/02/14 21:46:43 is this relevant on mobile?
dconnelly 2013/02/15 08:44:45 No, for two reasons (thanks Joao): - there's no po
1463 "test_policy": { "HideWebStoreIcon": true },
1464 "pref_mappings": [
1465 { "pref": "hide_web_store_icon" }
1466 ]
1467 },
1468
1461 "----- Chrome OS policies ------------------------------------------------": { }, 1469 "----- Chrome OS policies ------------------------------------------------": { },
1462 1470
1463 "ChromeOsLockOnIdleSuspend": { 1471 "ChromeOsLockOnIdleSuspend": {
1464 "os": ["chromeos"], 1472 "os": ["chromeos"],
1465 "can_be_recommended": true, 1473 "can_be_recommended": true,
1466 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, 1474 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1467 "pref_mappings": [ 1475 "pref_mappings": [
1468 { "pref": "settings.enable_screen_lock", 1476 { "pref": "settings.enable_screen_lock",
1469 "indicator_tests": [ 1477 "indicator_tests": [
1470 { "policy": { "ChromeOsLockOnIdleSuspend": true } } 1478 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
1800 1808
1801 "ChromeFrameContentTypes": { 1809 "ChromeFrameContentTypes": {
1802 }, 1810 },
1803 1811
1804 "GCFUserDataDir": { 1812 "GCFUserDataDir": {
1805 }, 1813 },
1806 1814
1807 "AdditionalLaunchParameters": { 1815 "AdditionalLaunchParameters": {
1808 } 1816 }
1809 } 1817 }
OLDNEW
« chrome/common/pref_names.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