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

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

Issue 11552020: Add search_terms_replacement_key field to TemplateURL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments now describe a simpler behavior for the parameter. Created 7 years, 11 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/common/pref_names.cc ('k') | chrome/test/data/web_database/version_48.sql » ('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.", 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 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 }, 770 },
771 771
772 "DefaultSearchProviderAlternateURLs": { 772 "DefaultSearchProviderAlternateURLs": {
773 "os": ["win", "linux", "mac", "chromeos"], 773 "os": ["win", "linux", "mac", "chromeos"],
774 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/# q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] }, 774 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/# q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] },
775 "pref_mappings": [ 775 "pref_mappings": [
776 { "pref": "default_search_provider.alternate_urls" } 776 { "pref": "default_search_provider.alternate_urls" }
777 ] 777 ]
778 }, 778 },
779 779
780 "DefaultSearchProviderSearchTermsReplacementKey": {
781 "os": ["win", "linux", "mac", "chromeos"],
782 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderSearchTermsReplacementKey": "espv" },
783 "pref_mappings": [
784 { "pref": "default_search_provider.search_terms_replacement_key" }
785 ]
786 },
787
780 "DefaultCookiesSetting": { 788 "DefaultCookiesSetting": {
781 "os": ["win", "linux", "mac", "chromeos"], 789 "os": ["win", "linux", "mac", "chromeos"],
782 "test_policy": { "DefaultCookiesSetting": 2 }, 790 "test_policy": { "DefaultCookiesSetting": 2 },
783 "pref_mappings": [ 791 "pref_mappings": [
784 { "pref": "profile.managed_default_content_settings.cookies", 792 { "pref": "profile.managed_default_content_settings.cookies",
785 "indicator_selector": "[content-setting=cookies]", 793 "indicator_selector": "[content-setting=cookies]",
786 "indicator_tests": [ 794 "indicator_tests": [
787 { "policy": { "DefaultCookiesSetting": 1 }, 795 { "policy": { "DefaultCookiesSetting": 1 },
788 "value": "allow"}, 796 "value": "allow"},
789 { "policy": { "DefaultCookiesSetting": 2 }, 797 { "policy": { "DefaultCookiesSetting": 2 },
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
1669 1677
1670 "ChromeFrameContentTypes": { 1678 "ChromeFrameContentTypes": {
1671 }, 1679 },
1672 1680
1673 "GCFUserDataDir": { 1681 "GCFUserDataDir": {
1674 }, 1682 },
1675 1683
1676 "AdditionalLaunchParameters": { 1684 "AdditionalLaunchParameters": {
1677 } 1685 }
1678 } 1686 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/test/data/web_database/version_48.sql » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698