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

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

Issue 13132004: Implement Enterprise Key API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years, 8 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') | 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 1717 matching lines...) Expand 10 before | Expand all | Expand 10 after
1728 "test_policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true }, 1728 "test_policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true },
1729 "pref_mappings": [ 1729 "pref_mappings": [
1730 { "pref": "settings.a11y.enable_menu", 1730 { "pref": "settings.a11y.enable_menu",
1731 "indicator_tests": [ 1731 "indicator_tests": [
1732 { "policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true } } 1732 { "policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true } }
1733 ] 1733 ]
1734 } 1734 }
1735 ] 1735 ]
1736 }, 1736 },
1737 1737
1738 "AttestationEnabledForUser": {
1739 "os": ["chromeos"],
1740 "test_policy": { "AttestationEnabledForUser": true },
1741 "pref_mappings": [
1742 { "pref": "attestation.enabled" }
1743 ]
1744 },
1745
1746 "AttestationExtensionWhitelist": {
1747 "os": ["chromeos"],
1748 "test_policy": { "AttestationExtensionWhitelist": ["test_ext_id1", "test_ext _id2"] },
1749 "pref_mappings": [
1750 { "pref": "attestation.extension_whitelist" }
1751 ]
1752 },
1753
1738 "----- Chrome OS device policies ---------------------------------------": {}, 1754 "----- Chrome OS device policies ---------------------------------------": {},
1739 1755
1740 "DevicePolicyRefreshRate": { 1756 "DevicePolicyRefreshRate": {
1741 "os": ["chromeos"], 1757 "os": ["chromeos"],
1742 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 1758 "test_policy": { "DevicePolicyRefreshRate": 300000 },
1743 "pref_mappings": [ 1759 "pref_mappings": [
1744 { "pref": "policy.device_refresh_rate", 1760 { "pref": "policy.device_refresh_rate",
1745 "local_state": true } 1761 "local_state": true }
1746 ] 1762 ]
1747 }, 1763 },
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1871 1887
1872 "ChromeFrameContentTypes": { 1888 "ChromeFrameContentTypes": {
1873 }, 1889 },
1874 1890
1875 "GCFUserDataDir": { 1891 "GCFUserDataDir": {
1876 }, 1892 },
1877 1893
1878 "AdditionalLaunchParameters": { 1894 "AdditionalLaunchParameters": {
1879 } 1895 }
1880 } 1896 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698