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

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

Issue 12209091: Add a policy and pref to control whether deleting browsing and download history is allowed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Renamed policy and pref 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
« 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 }, 165 },
166 166
167 "SavingBrowserHistoryDisabled": { 167 "SavingBrowserHistoryDisabled": {
168 "os": ["win", "linux", "mac", "chromeos"], 168 "os": ["win", "linux", "mac", "chromeos"],
169 "test_policy": { "SavingBrowserHistoryDisabled": true }, 169 "test_policy": { "SavingBrowserHistoryDisabled": true },
170 "pref_mappings": [ 170 "pref_mappings": [
171 { "pref": "history.saving_disabled" } 171 { "pref": "history.saving_disabled" }
172 ] 172 ]
173 }, 173 },
174 174
175 "AllowDeletingBrowserHistory": {
176 "os": [],
177 "test_policy": { "AllowDeletingBrowserHistory": false },
178 "pref_mappings": [
179 { "pref": "history.deleting_enabled" }
180 ]
181 },
182
175 "RemoteAccessClientFirewallTraversal": { 183 "RemoteAccessClientFirewallTraversal": {
176 }, 184 },
177 185
178 "RemoteAccessHostFirewallTraversal": { 186 "RemoteAccessHostFirewallTraversal": {
179 "os": [], 187 "os": [],
180 "test_policy": { "RemoteAccessHostFirewallTraversal": true }, 188 "test_policy": { "RemoteAccessHostFirewallTraversal": true },
181 "pref_mappings": [ 189 "pref_mappings": [
182 { "pref": "remote_access.host_firewall_traversal" } 190 { "pref": "remote_access.host_firewall_traversal" }
183 ], 191 ],
184 192
(...skipping 1603 matching lines...) Expand 10 before | Expand all | Expand 10 after
1788 1796
1789 "ChromeFrameContentTypes": { 1797 "ChromeFrameContentTypes": {
1790 }, 1798 },
1791 1799
1792 "GCFUserDataDir": { 1800 "GCFUserDataDir": {
1793 }, 1801 },
1794 1802
1795 "AdditionalLaunchParameters": { 1803 "AdditionalLaunchParameters": {
1796 } 1804 }
1797 } 1805 }
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