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

Unified Diff: base/android/locale_utils.h

Issue 2406203002: Use BCP47 compliant format for locale representation (Closed)
Patch Set: add more explanations about why Locale.getLanguage/toLanguageTag is not used Created 4 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: base/android/locale_utils.h
diff --git a/base/android/locale_utils.h b/base/android/locale_utils.h
index b0f3c07ff1795b376eecd8040c53bb9dad6b132b..be68890dfea40cd5841908e0a5393adbb44402c0 100644
--- a/base/android/locale_utils.h
+++ b/base/android/locale_utils.h
@@ -16,8 +16,8 @@ namespace android {
BASE_EXPORT std::string GetDefaultCountryCode();
-// Return the current default locale of the device.
-BASE_EXPORT std::string GetDefaultLocale();
+// Return the current default locale of the device as string.
+BASE_EXPORT std::string GetDefaultLocaleString();
} // namespace android
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698