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

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: 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
« no previous file with comments | « ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java ('k') | ui/base/l10n/l10n_util_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
sky 2014/10/08 03:08:03 I'm surprised the local and country code are ui re
Yaron 2014/10/09 18:09:19 Nope. Is base/i18n a better place?
jungshik at Google 2014/10/13 21:46:17 I like that better, too. A lot of stuffs in l10n_u
Yaron 2014/10/17 18:24:00 I ended up just moving to regular base as theres'
+UI_BASE_EXPORT std::string GetDefaultCountryCode();
+
UI_BASE_EXPORT base::string16 GetDisplayNameForLocale(
const std::string& locale,
const std::string& display_locale);
« no previous file with comments | « ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java ('k') | ui/base/l10n/l10n_util_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698