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

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

Issue 2727813002: Options/MD Settings: use new prefs to drive import data dialog (Closed)
Patch Set: pastarmovj@ review Created 3 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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/test/data/webui/settings/import_data_dialog_test.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", "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 1615 matching lines...) Expand 10 before | Expand all | Expand 10 after
1626 ] 1626 ]
1627 } 1627 }
1628 ] 1628 ]
1629 }, 1629 },
1630 1630
1631 "ImportBookmarks": { 1631 "ImportBookmarks": {
1632 "os": ["win", "mac", "linux"], 1632 "os": ["win", "mac", "linux"],
1633 "can_be_recommended": true, 1633 "can_be_recommended": true,
1634 "test_policy": { "ImportBookmarks": false }, 1634 "test_policy": { "ImportBookmarks": false },
1635 "pref_mappings": [ 1635 "pref_mappings": [
1636 { "pref": "import_bookmarks", 1636 { "pref": "import_dialog_bookmarks",
1637 "indicator_tests": [ 1637 "indicator_tests": [
1638 { "policy": { "ImportBookmarks": false } } 1638 { "policy": { "ImportBookmarks": false } }
1639 ] 1639 ]
1640 } 1640 }
1641 ] 1641 ]
1642 }, 1642 },
1643 1643
1644 "ImportHistory": { 1644 "ImportHistory": {
1645 "os": ["win", "mac", "linux"], 1645 "os": ["win", "mac", "linux"],
1646 "can_be_recommended": true, 1646 "can_be_recommended": true,
1647 "test_policy": { "ImportHistory": false }, 1647 "test_policy": { "ImportHistory": false },
1648 "pref_mappings": [ 1648 "pref_mappings": [
1649 { "pref": "import_history", 1649 { "pref": "import_dialog_history",
1650 "indicator_tests": [ 1650 "indicator_tests": [
1651 { "policy": { "ImportHistory": false } } 1651 { "policy": { "ImportHistory": false } }
1652 ] 1652 ]
1653 } 1653 }
1654 ] 1654 ]
1655 }, 1655 },
1656 1656
1657 "ImportHomepage": { 1657 "ImportHomepage": {
1658 "os": ["win", "mac", "linux"], 1658 "os": ["win", "mac", "linux"],
1659 "test_policy": { "ImportHomepage": false }, 1659 "test_policy": { "ImportHomepage": false },
1660 "pref_mappings": [ 1660 "pref_mappings": [
1661 { "pref": "import_home_page" } 1661 { "pref": "import_home_page" }
1662 ] 1662 ]
1663 }, 1663 },
1664 1664
1665 "ImportSearchEngine": { 1665 "ImportSearchEngine": {
1666 "os": ["win", "mac", "linux"], 1666 "os": ["win", "mac", "linux"],
1667 "can_be_recommended": true, 1667 "can_be_recommended": true,
1668 "test_policy": { "ImportSearchEngine": false }, 1668 "test_policy": { "ImportSearchEngine": false },
1669 "pref_mappings": [ 1669 "pref_mappings": [
1670 { "pref": "import_search_engine", 1670 { "pref": "import_dialog_search_engine",
1671 "indicator_tests": [ 1671 "indicator_tests": [
1672 { "policy": { "ImportSearchEngine": false } } 1672 { "policy": { "ImportSearchEngine": false } }
1673 ] 1673 ]
1674 } 1674 }
1675 ] 1675 ]
1676 }, 1676 },
1677 1677
1678 "ImportSavedPasswords": { 1678 "ImportSavedPasswords": {
1679 "os": ["win", "mac", "linux"], 1679 "os": ["win", "mac", "linux"],
1680 "can_be_recommended": true, 1680 "can_be_recommended": true,
1681 "test_policy": { "ImportSavedPasswords": false }, 1681 "test_policy": { "ImportSavedPasswords": false },
1682 "pref_mappings": [ 1682 "pref_mappings": [
1683 { "pref": "import_saved_passwords", 1683 { "pref": "import_dialog_saved_passwords",
1684 "indicator_tests": [ 1684 "indicator_tests": [
1685 { "policy": { "ImportSavedPasswords": false } } 1685 { "policy": { "ImportSavedPasswords": false } }
1686 ] 1686 ]
1687 } 1687 }
1688 ] 1688 ]
1689 }, 1689 },
1690 1690
1691 "ImportAutofillFormData": { 1691 "ImportAutofillFormData": {
1692 "os": ["win", "mac", "linux"], 1692 "os": ["win", "mac", "linux"],
1693 "can_be_recommended": true, 1693 "can_be_recommended": true,
1694 "test_policy": { "ImportAutofillFormData": false }, 1694 "test_policy": { "ImportAutofillFormData": false },
1695 "pref_mappings": [ 1695 "pref_mappings": [
1696 { "pref": "import_autofill_form_data", 1696 { "pref": "import_dialog_autofill_form_data",
1697 "indicator_tests": [ 1697 "indicator_tests": [
1698 { "policy": { "ImportAutofillFormData": false } } 1698 { "policy": { "ImportAutofillFormData": false } }
1699 ] 1699 ]
1700 } 1700 }
1701 ] 1701 ]
1702 }, 1702 },
1703 1703
1704 "MaxConnectionsPerProxy": { 1704 "MaxConnectionsPerProxy": {
1705 "os": ["win", "linux", "mac", "chromeos"], 1705 "os": ["win", "linux", "mac", "chromeos"],
1706 "test_policy": { "MaxConnectionsPerProxy": 16 }, 1706 "test_policy": { "MaxConnectionsPerProxy": 16 },
(...skipping 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after
3073 3073
3074 "AdditionalLaunchParameters": { 3074 "AdditionalLaunchParameters": {
3075 }, 3075 },
3076 3076
3077 "SuppressChromeFrameTurndownPrompt": { 3077 "SuppressChromeFrameTurndownPrompt": {
3078 }, 3078 },
3079 3079
3080 "SkipMetadataCheck": { 3080 "SkipMetadataCheck": {
3081 } 3081 }
3082 } 3082 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/test/data/webui/settings/import_data_dialog_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698