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

Unified Diff: components/search_engines/template_url_prepopulate_data.cc

Issue 1130183004: [iOS] Expose TemplateURLPrepopulateData::GetCurrentCountryID() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address pkasting comments Created 5 years, 7 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: components/search_engines/template_url_prepopulate_data.cc
diff --git a/components/search_engines/template_url_prepopulate_data.cc b/components/search_engines/template_url_prepopulate_data.cc
index 5d79f666321fd04b8d3af15f6f277e3923233f31..ccf3ffa92c8abc4fc62bc587387724cc30bb5853 100644
--- a/components/search_engines/template_url_prepopulate_data.cc
+++ b/components/search_engines/template_url_prepopulate_data.cc
@@ -1277,4 +1277,14 @@ SearchEngineType GetEngineType(const GURL& url) {
return SEARCH_ENGINE_OTHER;
}
+#if defined(OS_IOS)
+
+// GetDefaultCountryID is an exported alias of GetCurrentCountryID that is
+// defined the anonymous namespace (with different implementation per OS).
+int GetDefaultCountryID() {
+ return GetCurrentCountryID();
Peter Kasting 2015/05/13 23:12:59 What implementation does this actually use? OS_PO
sdefresne 2015/05/18 09:47:19 Done.
+}
+
+#endif
+
} // namespace TemplateURLPrepopulateData

Powered by Google App Engine
This is Rietveld 408576698