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

Unified Diff: android_webview/native/aw_locale_manager_impl.cc

Issue 2496183002: Use GetDefaultLocaleListString for returning LocaleList (Closed)
Patch Set: extract setLocale method, since configuration.getLocales() returns the same as LocaleUtils.getDefau… Created 4 years, 1 month 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: android_webview/native/aw_locale_manager_impl.cc
diff --git a/android_webview/native/aw_locale_manager_impl.cc b/android_webview/native/aw_locale_manager_impl.cc
index b6230fd8bdb5210b5dbea4ddc1b87cf9bb473eeb..16c775ba2afc2f3c1c149a72bc519f80409192d8 100644
--- a/android_webview/native/aw_locale_manager_impl.cc
+++ b/android_webview/native/aw_locale_manager_impl.cc
@@ -18,4 +18,8 @@ std::string AwLocaleManagerImpl::GetLocale() {
return AwContents::GetLocale();
}
+std::string AwLocaleManagerImpl::GetLocales() {
+ return AwContents::GetLocales();
+}
+
} // namespace android_webview

Powered by Google App Engine
This is Rietveld 408576698