Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7812)

Unified Diff: chrome/browser/search_engines/template_url_prepopulate_data.h

Issue 10697087: Remove content->app dependency in template_url_prepopulate_data.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 1b96fd76d7a6bd692cfe0f60cf76ff6c8086636b..c72ef7dbc5fa3e70747b2ce5cfdb30ea88c379db 100644
--- a/chrome/browser/search_engines/template_url_prepopulate_data.h
+++ b/chrome/browser/search_engines/template_url_prepopulate_data.h
@@ -23,10 +23,11 @@ namespace TemplateURLPrepopulateData {
extern const int kMaxPrepopulatedEngineID;
#if defined(OS_ANDROID)
-// Returns the default country code at the time of install from Android.
-// This could either be the command line value that has been set or the
-// current location code during install.
-extern const std::string GetCountryCodeAtInstall();
+
+// This must be called early only once. |country_code| is the country code at
+// install following the ISO-3166 specification.
+void InitCountryCode(const std::string& country_code);
+
#endif
void RegisterUserPrefs(PrefService* prefs);

Powered by Google App Engine
This is Rietveld 408576698