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

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: Extract managed user specific stuff into another changelist. 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
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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 }, 345 },
346 346
347 "SyncDisabled": { 347 "SyncDisabled": {
348 "os": ["win", "linux", "mac", "chromeos"], 348 "os": ["win", "linux", "mac", "chromeos"],
349 "test_policy": { "SyncDisabled": true }, 349 "test_policy": { "SyncDisabled": true },
350 "pref_mappings": [ 350 "pref_mappings": [
351 { "pref": "sync.managed" } 351 { "pref": "sync.managed" }
352 ] 352 ]
353 }, 353 },
354 354
355 "SigninAllowed": {
356 "os": ["win", "linux", "mac"],
357 "test_policy": { "SigninAllowed": true },
358 "pref_mappings": [
359 { "pref": "signin.allowed" }
360 ]
361 },
362
355 "UserDataDir": { 363 "UserDataDir": {
356 "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." 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."
357 }, 365 },
358 366
359 "DiskCacheDir": { 367 "DiskCacheDir": {
360 "os": ["win", "mac", "linux"], 368 "os": ["win", "mac", "linux"],
361 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" }, 369 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" },
362 "pref_mappings": [ 370 "pref_mappings": [
363 { "pref": "browser.disk_cache_dir" } 371 { "pref": "browser.disk_cache_dir" }
364 ] 372 ]
(...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after
1673 1681
1674 "ChromeFrameContentTypes": { 1682 "ChromeFrameContentTypes": {
1675 }, 1683 },
1676 1684
1677 "GCFUserDataDir": { 1685 "GCFUserDataDir": {
1678 }, 1686 },
1679 1687
1680 "AdditionalLaunchParameters": { 1688 "AdditionalLaunchParameters": {
1681 } 1689 }
1682 } 1690 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698