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

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

Issue 197013007: Set drive as the default download folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes test failure and enables a new test Created 6 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
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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 406
407 "MediaCacheSize": { 407 "MediaCacheSize": {
408 "os": ["win", "mac", "linux"], 408 "os": ["win", "mac", "linux"],
409 "test_policy": { "MediaCacheSize": 200 }, 409 "test_policy": { "MediaCacheSize": 200 },
410 "pref_mappings": [ 410 "pref_mappings": [
411 { "pref": "browser.media_cache_size" } 411 { "pref": "browser.media_cache_size" }
412 ] 412 ]
413 }, 413 },
414 414
415 "DownloadDirectory": { 415 "DownloadDirectory": {
416 "os": ["win", "mac", "linux"], 416 "os": ["win", "mac", "linux", "chromeos"],
417 "can_be_recommended": true, 417 "can_be_recommended": true,
418 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" }, 418 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" },
419 "pref_mappings": [ 419 "pref_mappings": [
420 { "pref": "download.default_directory", 420 { "pref": "download.default_directory",
421 "indicator_tests": [ 421 "indicator_tests": [
422 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } } 422 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
423 ] 423 ]
424 }, 424 },
425 { "pref": "download.prompt_for_download", 425 { "pref": "download.prompt_for_download",
426 "indicator_tests": [ 426 "indicator_tests": [
(...skipping 1833 matching lines...) Expand 10 before | Expand all | Expand 10 after
2260 2260
2261 "AdditionalLaunchParameters": { 2261 "AdditionalLaunchParameters": {
2262 }, 2262 },
2263 2263
2264 "SuppressChromeFrameTurndownPrompt": { 2264 "SuppressChromeFrameTurndownPrompt": {
2265 }, 2265 },
2266 2266
2267 "SkipMetadataCheck": { 2267 "SkipMetadataCheck": {
2268 } 2268 }
2269 } 2269 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/policy/core/browser/configuration_policy_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698