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

Unified Diff: ui/base/l10n/l10n_util_android.h

Issue 628263004: [Android] Simplify logic for grabbing initial country-code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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: ui/base/l10n/l10n_util_android.h
diff --git a/ui/base/l10n/l10n_util_android.h b/ui/base/l10n/l10n_util_android.h
index c8cf4bb2733848aa340b8679d00d52f8f2135904..c3edd0b4b97b75e26adf3d745eca3e475e750b61 100644
--- a/ui/base/l10n/l10n_util_android.h
+++ b/ui/base/l10n/l10n_util_android.h
@@ -17,6 +17,8 @@ namespace l10n_util {
// Return the current default locale of the device.
UI_BASE_EXPORT std::string GetDefaultLocale();
+UI_BASE_EXPORT std::string GetDefaultCountryCode();
+
UI_BASE_EXPORT base::string16 GetDisplayNameForLocale(
const std::string& locale,
const std::string& display_locale);

Powered by Google App Engine
This is Rietveld 408576698