| 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 4d676fb6fe841c313695f930bd56e1f9baf00ef7..c41e54615b7a3a26dc2157c50d8a095352c0944c 100644
|
| --- a/chrome/browser/search_engines/template_url_prepopulate_data.h
|
| +++ b/chrome/browser/search_engines/template_url_prepopulate_data.h
|
| @@ -21,6 +21,12 @@ namespace TemplateURLPrepopulateData {
|
|
|
| extern const int kMaxPrepopulatedEngineID;
|
|
|
| +// Sizes at which search provider logos are available.
|
| +enum LogoSize {
|
| + LOGO_100_PERCENT,
|
| + LOGO_200_PERCENT,
|
| +};
|
| +
|
| #if defined(OS_ANDROID)
|
|
|
| // This must be called early only once. |country_code| is the country code at
|
| @@ -57,6 +63,12 @@ TemplateURL* GetPrepopulatedDefaultSearch(Profile* profile);
|
| // NOTE: Must be called on the UI thread.
|
| SearchEngineType GetEngineType(const std::string& url);
|
|
|
| +// Returns the logo at the specified |size| for |template_url|. If no logo is
|
| +// known, this will return an empty GURL.
|
| +//
|
| +// NOTE: Must be called on the UI thread.
|
| +GURL GetLogoURL(const TemplateURL& template_url, LogoSize size);
|
| +
|
| } // namespace TemplateURLPrepopulateData
|
|
|
| #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_
|
|
|