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

Unified Diff: chromecast/browser/cast_http_user_agent_settings.cc

Issue 2406203002: Use BCP47 compliant format for locale representation (Closed)
Patch Set: BCP 47, change in description 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
« no previous file with comments | « chrome/browser/android/preferences/pref_service_bridge_unittest.cc ('k') | ui/base/l10n/l10n_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_http_user_agent_settings.cc
diff --git a/chromecast/browser/cast_http_user_agent_settings.cc b/chromecast/browser/cast_http_user_agent_settings.cc
index fcce6bafc5320b4f33082ce231ca5c6756eb2e52..1161c00ed0f3fa8e64b00bb9217cb567f291af28 100644
--- a/chromecast/browser/cast_http_user_agent_settings.cc
+++ b/chromecast/browser/cast_http_user_agent_settings.cc
@@ -33,7 +33,7 @@ std::string CastHttpUserAgentSettings::GetAcceptLanguage() const {
std::string new_locale(
#if defined(OS_ANDROID)
// TODO(byungchul): Use transient locale set when new app starts.
- base::android::GetDefaultLocale()
+ base::android::GetDefaultLocaleString()
#else
base::i18n::GetConfiguredLocale()
#endif
« no previous file with comments | « chrome/browser/android/preferences/pref_service_bridge_unittest.cc ('k') | ui/base/l10n/l10n_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698