Index: chrome/browser/search_engines/template_url_prepopulate_data.h |
diff --git a/chrome/browser/search_engines/template_url_prepopulate_data.h b/chrome/browser/search_engines/template_url_prepopulate_data.h |
index aee76791ab31ff98bb68e7d6fdc88c05146281b9..5a3ee9d6b18fc53c8c2d943e1b353b6eaac7c048 100644 |
--- a/chrome/browser/search_engines/template_url_prepopulate_data.h |
+++ b/chrome/browser/search_engines/template_url_prepopulate_data.h |
@@ -43,6 +43,11 @@ void RegisterUserPrefs(PrefServiceSyncable* prefs); |
// file then it returns the version specified there. |
int GetDataVersion(PrefService* prefs); |
+// The caller owns the returned TemplateURL. Returns NULL if |prepopulate_id| |
+// does not correspond to a built-in prepopulated engines. |
+TemplateURL* MakeTemplateURLFromPrepopulateId(Profile* profile, |
+ int prepopulate_id); |
+ |
// Loads the set of TemplateURLs from the prepopulate data. Ownership of the |
// TemplateURLs is passed to the caller. On return, |
// |default_search_provider_index| is set to the index of the default search |