Index: components/search_engines/template_url_prepopulate_data.h |
diff --git a/components/search_engines/template_url_prepopulate_data.h b/components/search_engines/template_url_prepopulate_data.h |
index 210a0f50f2345bf1ed88a0cf0d58767176ff8ff5..6b85c1ad34e002fab764bf3ebf70400ac61f76eb 100644 |
--- a/components/search_engines/template_url_prepopulate_data.h |
+++ b/components/search_engines/template_url_prepopulate_data.h |
@@ -42,6 +42,13 @@ std::vector<std::unique_ptr<TemplateURLData>> GetPrepopulatedEngines( |
PrefService* prefs, |
size_t* default_search_provider_index); |
+// Loads extra prepopulated engines for the given locale. If the engines are |
+// already loaded, need_to-load will be set false. |
Maria
2016/09/16 23:44:01
nit: change to ", |need_to_load| will be set to fa
Ian Wen
2016/09/19 17:37:55
Done.
|
+std::vector<std::unique_ptr<TemplateURLData>> GetLocalPrepopulatedEngines( |
+ const std::string& locale, |
+ PrefService* prefs, |
+ bool* need_to_load); |
+ |
// Returns all prepopulated engines for all locales. Used only by tests. |
std::vector<const PrepopulatedEngine*> GetAllPrepopulatedEngines(); |