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 1cbf1c6da6129ff3a04ca55f05d0376a8d5861ce..9eb2705866683f22b9c0ed31c8a5fd400c42e7ab 100644 |
--- a/chromecast/browser/cast_http_user_agent_settings.cc |
+++ b/chromecast/browser/cast_http_user_agent_settings.cc |
@@ -12,7 +12,7 @@ |
#include "ui/base/l10n/l10n_util.h" |
#if defined(OS_ANDROID) |
-#include "ui/base/l10n/l10n_util_android.h" |
+#include "base/android/locale_utils.h" |
#endif // defined(OS_ANDROID) |
namespace chromecast { |
@@ -31,7 +31,7 @@ std::string CastHttpUserAgentSettings::GetAcceptLanguage() const { |
if (accept_language_.empty()) { |
accept_language_ = net::HttpUtil::GenerateAcceptLanguageHeader( |
#if defined(OS_ANDROID) |
- l10n_util::GetDefaultLocale() |
+ base::android::GetDefaultLocale() |
#else |
l10n_util::GetStringUTF8(IDS_CHROMECAST_SETTINGS_ACCEPT_LANGUAGES) |
#endif // defined(OS_ANDROID) |