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

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 code review comments. Created 8 years, 3 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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 "os": ["win", "linux", "mac", "chromeos"] 538 "os": ["win", "linux", "mac", "chromeos"]
539 }, 539 },
540 540
541 "DefaultSearchProviderEncodings": { 541 "DefaultSearchProviderEncodings": {
542 "pref": "default_search_provider.encodings", 542 "pref": "default_search_provider.encodings",
543 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] }, 543 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] },
544 "settings_pages": [], 544 "settings_pages": [],
545 "os": ["win", "linux", "mac", "chromeos"] 545 "os": ["win", "linux", "mac", "chromeos"]
546 }, 546 },
547 547
548 "DefaultSearchProviderAlternateURLs": {
549 "pref": "default_search_provider.alternate_urls",
550 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderAlternateURLs": ["UTF-8"] },
Joao da Silva 2012/09/24 09:12:29 The value for DefaultSearchProviderAlternateURLs i
beaudoin 2012/09/27 17:37:13 Done.
551 "settings_pages": [],
552 "os": ["win", "linux", "mac", "chromeos"]
553 },
554
548 "DefaultCookiesSetting": { 555 "DefaultCookiesSetting": {
549 "pref": "profile.managed_default_content_settings.cookies", 556 "pref": "profile.managed_default_content_settings.cookies",
550 "test_policy": { "DefaultCookiesSetting": 2 }, 557 "test_policy": { "DefaultCookiesSetting": 2 },
551 "settings_pages": ["chrome://settings-frame/content"], 558 "settings_pages": ["chrome://settings-frame/content"],
552 "os": ["win", "linux", "mac", "chromeos"] 559 "os": ["win", "linux", "mac", "chromeos"]
553 }, 560 },
554 561
555 "DefaultImagesSetting": { 562 "DefaultImagesSetting": {
556 "pref": "profile.managed_default_content_settings.images", 563 "pref": "profile.managed_default_content_settings.images",
557 "test_policy": { "DefaultImagesSetting": 2 }, 564 "test_policy": { "DefaultImagesSetting": 2 },
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1175 "os": [] 1182 "os": []
1176 }, 1183 },
1177 1184
1178 "AdditionalLaunchParameters": { 1185 "AdditionalLaunchParameters": {
1179 "pref": null, 1186 "pref": null,
1180 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" }, 1187 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" },
1181 "settings_pages": [], 1188 "settings_pages": [],
1182 "os": [] 1189 "os": []
1183 } 1190 }
1184 } 1191 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698