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

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

Issue 10908226: Introduces a search term extraction mechanism working for arbitrary search providers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed version_46.sql, committed separately. Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.cc ('k') | sync/protocol/proto_value_conversions.cc » ('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 "pref": "The pref that this policy maps to, if any.", 5 "pref": "The pref that this policy maps to, if any.",
6 "test_policy": "A policy dictionary that should trigger the managed banner i n the settings UI. Usually just sets the current policy.", 6 "test_policy": "A policy dictionary that should trigger the managed banner i n the settings UI. Usually just sets the current policy.",
7 "settings_pages": ["A list of settings pages where the banner should be visi ble when this policy is set."], 7 "settings_pages": ["A list of settings pages where the banner should be visi ble when this policy is set."],
8 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos"], 8 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos"],
9 "local_state": "Optionally indicate that |pref| is registed in local state, instead of in the profile PrefService.", 9 "local_state": "Optionally indicate that |pref| is registed in local state, instead of in the profile PrefService.",
10 "official_only": "Optionally set this to true if this policy only works on o fficial builds." 10 "official_only": "Optionally set this to true if this policy only works on o fficial builds."
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 "os": ["win", "linux", "mac", "chromeos"] 543 "os": ["win", "linux", "mac", "chromeos"]
544 }, 544 },
545 545
546 "DefaultSearchProviderEncodings": { 546 "DefaultSearchProviderEncodings": {
547 "pref": "default_search_provider.encodings", 547 "pref": "default_search_provider.encodings",
548 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] }, 548 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] },
549 "settings_pages": [], 549 "settings_pages": [],
550 "os": ["win", "linux", "mac", "chromeos"] 550 "os": ["win", "linux", "mac", "chromeos"]
551 }, 551 },
552 552
553 "DefaultSearchProviderAlternateURLs": {
554 "pref": "default_search_provider.alternate_urls",
555 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/# q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] },
556 "settings_pages": [],
557 "os": ["win", "linux", "mac", "chromeos"]
558 },
559
553 "DefaultCookiesSetting": { 560 "DefaultCookiesSetting": {
554 "pref": "profile.managed_default_content_settings.cookies", 561 "pref": "profile.managed_default_content_settings.cookies",
555 "test_policy": { "DefaultCookiesSetting": 2 }, 562 "test_policy": { "DefaultCookiesSetting": 2 },
556 "settings_pages": ["chrome://settings-frame/content"], 563 "settings_pages": ["chrome://settings-frame/content"],
557 "os": ["win", "linux", "mac", "chromeos"] 564 "os": ["win", "linux", "mac", "chromeos"]
558 }, 565 },
559 566
560 "DefaultImagesSetting": { 567 "DefaultImagesSetting": {
561 "pref": "profile.managed_default_content_settings.images", 568 "pref": "profile.managed_default_content_settings.images",
562 "test_policy": { "DefaultImagesSetting": 2 }, 569 "test_policy": { "DefaultImagesSetting": 2 },
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1180 "os": [] 1187 "os": []
1181 }, 1188 },
1182 1189
1183 "AdditionalLaunchParameters": { 1190 "AdditionalLaunchParameters": {
1184 "pref": null, 1191 "pref": null,
1185 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" }, 1192 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" },
1186 "settings_pages": [], 1193 "settings_pages": [],
1187 "os": [] 1194 "os": []
1188 } 1195 }
1189 } 1196 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | sync/protocol/proto_value_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698