| 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 1898fde3820d082b98f1977aed17208613ad1f58..9f141600e992d2b4de762d2c5ca998b19c58c612 100644
|
| --- a/chrome/browser/search_engines/template_url_prepopulate_data.h
|
| +++ b/chrome/browser/search_engines/template_url_prepopulate_data.h
|
| @@ -7,6 +7,7 @@
|
| #pragma once
|
|
|
| #include <stddef.h>
|
| +#include <string>
|
| #include <vector>
|
|
|
| class GURL;
|
| @@ -44,6 +45,11 @@ TemplateURL* GetEngineForOrigin(PrefService* prefs, const GURL& url_to_find);
|
| // Returns search engine logo for URLs known to have a search engine logo.
|
| int GetSearchEngineLogo(const GURL& url_to_find);
|
|
|
| +// Returns the prepopulated search provider whose search URL matches
|
| +// |search_url| or NULL if none is found. The caller is responsible for
|
| +// deleting the returned TemplateURL.
|
| +TemplateURL* FindPrepopulatedEngine(const std::string& search_url);
|
| +
|
| } // namespace TemplateURLPrepopulateData
|
|
|
| #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_
|
|
|