Chromium Code Reviews| 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 298a79aea00f6bfb7cc416b76777ffc7400cd66f..5b695627dcfa3c40f21a5d4eb8080a249fb7c992 100644 |
| --- a/components/search_engines/template_url_prepopulate_data.h |
| +++ b/components/search_engines/template_url_prepopulate_data.h |
| @@ -65,6 +65,16 @@ SearchEngineType GetEngineType(const TemplateURL& template_url, |
| // This may be called on any thread. |
| SearchEngineType GetEngineType(const GURL& url); |
| +#if defined(OS_IOS) |
| + |
| +// Returns the identifier for the user current country. Used to update the list |
| +// of search engines when user switches device region settings. |
| +// TODO(ios): Remove this method once user can customize search engines, see |
| +// http://crbug.com/153047. |
| +int GetDefaultCountryID(); |
|
Peter Kasting
2015/05/13 23:12:59
This name seems misleading since users can't chang
sdefresne
2015/05/18 09:47:19
I went back to GetCurrentCountryID().
|
| + |
| +#endif // defined(OS_IOS) |
| + |
| } // namespace TemplateURLPrepopulateData |
| #endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_ |