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

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

Issue 1368013004: Define Print Preview default printer selection policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add tags to DefaultPrinterSelection policy. Created 5 years, 2 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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/test/data/webui/print_preview.js » ('j') | 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. 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", "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 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after
1611 }, 1611 },
1612 1612
1613 "DisablePrintPreview": { 1613 "DisablePrintPreview": {
1614 "os": ["win", "mac", "linux"], 1614 "os": ["win", "mac", "linux"],
1615 "test_policy": { "DisablePrintPreview": false }, 1615 "test_policy": { "DisablePrintPreview": false },
1616 "pref_mappings": [ 1616 "pref_mappings": [
1617 { "pref": "printing.print_preview_disabled" } 1617 { "pref": "printing.print_preview_disabled" }
1618 ] 1618 ]
1619 }, 1619 },
1620 1620
1621 "DefaultPrinterSelection": {
1622 "os": ["win", "linux", "mac", "chromeos"],
1623 "test_policy": {
1624 "DefaultPrinterSelection": "{ 'kind': 'local', 'namePattern': '.*' }"
1625 },
1626 "pref_mappings": [
1627 { "pref": "printing.default_destination_selection_rules" }
1628 ]
1629 },
1630
1621 "BackgroundModeEnabled": { 1631 "BackgroundModeEnabled": {
1622 "os": ["win", "linux"], 1632 "os": ["win", "linux"],
1623 "can_be_recommended": true, 1633 "can_be_recommended": true,
1624 "test_policy": { "BackgroundModeEnabled": false }, 1634 "test_policy": { "BackgroundModeEnabled": false },
1625 "pref_mappings": [ 1635 "pref_mappings": [
1626 { "pref": "background_mode.enabled", 1636 { "pref": "background_mode.enabled",
1627 "local_state": true, 1637 "local_state": true,
1628 "indicator_tests": [ 1638 "indicator_tests": [
1629 { "policy": { "BackgroundModeEnabled": false } } 1639 { "policy": { "BackgroundModeEnabled": false } }
1630 ] 1640 ]
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
2573 2583
2574 "AdditionalLaunchParameters": { 2584 "AdditionalLaunchParameters": {
2575 }, 2585 },
2576 2586
2577 "SuppressChromeFrameTurndownPrompt": { 2587 "SuppressChromeFrameTurndownPrompt": {
2578 }, 2588 },
2579 2589
2580 "SkipMetadataCheck": { 2590 "SkipMetadataCheck": {
2581 } 2591 }
2582 } 2592 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/test/data/webui/print_preview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698