Index: chrome/browser/search_engines/util.h |
diff --git a/chrome/browser/search_engines/util.h b/chrome/browser/search_engines/util.h |
index 432569f363a2cd3f3485d1df4a2019264afdc41d..b47b2503c238e21f36bcfa8b9f19e30d633615d8 100644 |
--- a/chrome/browser/search_engines/util.h |
+++ b/chrome/browser/search_engines/util.h |
@@ -50,6 +50,19 @@ void GetSearchProvidersUsingKeywordResult( |
int* new_resource_keyword_version, |
std::set<std::string>* removed_keyword_guids); |
+// Like GetSearchProvidersUsingKeywordResult(), but allows the caller to pass in |
+// engines in |template_urls| instead of getting them via processing a web data |
+// service request. |
+// |*new_resource_keyword_version| should contain current version of |
+// |*template_urls|. |
Peter Kasting
2013/05/29 04:04:41
Nit: How about we name it |resource_keyword_versio
vasilii
2013/05/29 08:30:18
Done.
|
+void GetSearchProvidersUsingLoadedEngines( |
+ WebDataService* service, |
+ Profile* profile, |
+ TemplateURLService::TemplateURLVector* template_urls, |
+ TemplateURL** default_search_provider, |
+ int* new_resource_keyword_version, |
+ std::set<std::string>* removed_keyword_guids); |
+ |
// Due to a bug, the |input_encodings| field of TemplateURLData could have |
// contained duplicate entries. This removes those entries and returns whether |
// any were found. |