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

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: Answered PK's comments. 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
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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 "os": ["win", "linux", "mac", "chromeos"] 545 "os": ["win", "linux", "mac", "chromeos"]
546 }, 546 },
547 547
548 "DefaultSearchProviderEncodings": { 548 "DefaultSearchProviderEncodings": {
549 "pref": "default_search_provider.encodings", 549 "pref": "default_search_provider.encodings",
550 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] }, 550 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] },
551 "settings_pages": [], 551 "settings_pages": [],
552 "os": ["win", "linux", "mac", "chromeos"] 552 "os": ["win", "linux", "mac", "chromeos"]
553 }, 553 },
554 554
555 "DefaultSearchProviderAlternateURLs": {
556 "pref": "default_search_provider.alternate_urls",
557 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/# q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] },
558 "settings_pages": [],
559 "os": ["win", "linux", "mac", "chromeos"]
560 },
561
555 "DefaultCookiesSetting": { 562 "DefaultCookiesSetting": {
556 "pref": "profile.managed_default_content_settings.cookies", 563 "pref": "profile.managed_default_content_settings.cookies",
557 "test_policy": { "DefaultCookiesSetting": 2 }, 564 "test_policy": { "DefaultCookiesSetting": 2 },
558 "settings_pages": ["chrome://settings-frame/content"], 565 "settings_pages": ["chrome://settings-frame/content"],
559 "os": ["win", "linux", "mac", "chromeos"] 566 "os": ["win", "linux", "mac", "chromeos"]
560 }, 567 },
561 568
562 "DefaultImagesSetting": { 569 "DefaultImagesSetting": {
563 "pref": "profile.managed_default_content_settings.images", 570 "pref": "profile.managed_default_content_settings.images",
564 "test_policy": { "DefaultImagesSetting": 2 }, 571 "test_policy": { "DefaultImagesSetting": 2 },
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1182 "os": [] 1189 "os": []
1183 }, 1190 },
1184 1191
1185 "AdditionalLaunchParameters": { 1192 "AdditionalLaunchParameters": {
1186 "pref": null, 1193 "pref": null,
1187 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" }, 1194 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" },
1188 "settings_pages": [], 1195 "settings_pages": [],
1189 "os": [] 1196 "os": []
1190 } 1197 }
1191 } 1198 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698