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

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

Issue 12088040: Add a SigninAllowed policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nits and rebase to ToT. Created 7 years, 9 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/test/base/testing_profile.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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 }, 353 },
354 354
355 "SyncDisabled": { 355 "SyncDisabled": {
356 "os": ["win", "linux", "mac", "chromeos"], 356 "os": ["win", "linux", "mac", "chromeos"],
357 "test_policy": { "SyncDisabled": true }, 357 "test_policy": { "SyncDisabled": true },
358 "pref_mappings": [ 358 "pref_mappings": [
359 { "pref": "sync.managed" } 359 { "pref": "sync.managed" }
360 ] 360 ]
361 }, 361 },
362 362
363 "SigninAllowed": {
364 "os": ["win", "linux", "mac"],
365 "test_policy": { "SigninAllowed": true },
366 "pref_mappings": [
367 { "pref": "signin.allowed" }
368 ]
369 },
370
363 "UserDataDir": { 371 "UserDataDir": {
364 "note": "TODO(joaodasilva): To test that this policy works correctly, it wou ld need to be set before the browser is launched. PolicyPrefsTest should be refa ctored to support this and a test for this policy added." 372 "note": "TODO(joaodasilva): To test that this policy works correctly, it wou ld need to be set before the browser is launched. PolicyPrefsTest should be refa ctored to support this and a test for this policy added."
365 }, 373 },
366 374
367 "DiskCacheDir": { 375 "DiskCacheDir": {
368 "os": ["win", "mac", "linux"], 376 "os": ["win", "mac", "linux"],
369 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" }, 377 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" },
370 "pref_mappings": [ 378 "pref_mappings": [
371 { "pref": "browser.disk_cache_dir" } 379 { "pref": "browser.disk_cache_dir" }
372 ] 380 ]
(...skipping 1447 matching lines...) Expand 10 before | Expand all | Expand 10 after
1820 1828
1821 "ChromeFrameContentTypes": { 1829 "ChromeFrameContentTypes": {
1822 }, 1830 },
1823 1831
1824 "GCFUserDataDir": { 1832 "GCFUserDataDir": {
1825 }, 1833 },
1826 1834
1827 "AdditionalLaunchParameters": { 1835 "AdditionalLaunchParameters": {
1828 } 1836 }
1829 } 1837 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698