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

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

Issue 2581643002: Define a new policy to disable clearing the browsing history from the UI. (Closed)
Patch Set: less headers Created 4 years 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
OLDNEW
1 { 1 {
2 "-- Template --": { 2 "-- Template --": {
3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below. The name of the top level entry should be of the form <policy name>[. suffix]. The optional suffix is used for defining multiple test cases for a sing le policy.", 3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below. The name of the top level entry should be of the form <policy name>[. suffix]. The optional suffix is used for defining multiple test cases for a sing le policy.",
4 4
5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "android", "Defaults to empty if not specifie d."], 5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "android", "Defaults to empty if not specifie d."],
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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 "SavingBrowserHistoryDisabled": { 192 "SavingBrowserHistoryDisabled": {
193 "os": ["win", "linux", "mac", "chromeos"], 193 "os": ["win", "linux", "mac", "chromeos"],
194 "test_policy": { "SavingBrowserHistoryDisabled": true }, 194 "test_policy": { "SavingBrowserHistoryDisabled": true },
195 "pref_mappings": [ 195 "pref_mappings": [
196 { "pref": "history.saving_disabled" } 196 { "pref": "history.saving_disabled" }
197 ] 197 ]
198 }, 198 },
199 199
200 "AllowDeletingBrowserHistory": { 200 "AllowDeletingBrowserHistory": {
201 "os": [], 201 "os": ["win", "linux", "mac", "chromeos"],
202 "test_policy": { "AllowDeletingBrowserHistory": false }, 202 "test_policy": { "AllowDeletingBrowserHistory": false },
203 "pref_mappings": [ 203 "pref_mappings": [
204 { "pref": "history.deleting_enabled" } 204 { "pref": "history.deleting_enabled" }
205 ] 205 ]
206 }, 206 },
207 207
208 "RemoteAccessClientFirewallTraversal": { 208 "RemoteAccessClientFirewallTraversal": {
209 }, 209 },
210 210
211 "RemoteAccessHostClientDomain": { 211 "RemoteAccessHostClientDomain": {
(...skipping 2843 matching lines...) Expand 10 before | Expand all | Expand 10 after
3055 3055
3056 "AdditionalLaunchParameters": { 3056 "AdditionalLaunchParameters": {
3057 }, 3057 },
3058 3058
3059 "SuppressChromeFrameTurndownPrompt": { 3059 "SuppressChromeFrameTurndownPrompt": {
3060 }, 3060 },
3061 3061
3062 "SkipMetadataCheck": { 3062 "SkipMetadataCheck": {
3063 } 3063 }
3064 } 3064 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698