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

Unified Diff: chromecast/browser/cast_content_browser_client.cc

Issue 834183005: Move two locale functions from rtl.h into l10n_util.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: chromecast/browser/cast_content_browser_client.cc
diff --git a/chromecast/browser/cast_content_browser_client.cc b/chromecast/browser/cast_content_browser_client.cc
index 1e42a9665bee00eda802da9cdbcefdd1c7172a17..0c7494aa2c78eb8004a77af499101b2607d516ea 100644
--- a/chromecast/browser/cast_content_browser_client.cc
+++ b/chromecast/browser/cast_content_browser_client.cc
@@ -9,7 +9,6 @@
#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/files/scoped_file.h"
-#include "base/i18n/rtl.h"
#include "base/path_service.h"
#include "chromecast/browser/cast_browser_context.h"
#include "chromecast/browser/cast_browser_main_parts.h"
@@ -33,6 +32,7 @@
#include "content/public/common/url_constants.h"
#include "content/public/common/web_preferences.h"
#include "net/ssl/ssl_cert_request_info.h"
+#include "ui/base/l10n/l10n_util.h"
#if defined(OS_ANDROID)
#include "chromecast/browser/android/external_video_surface_container_impl.h"
@@ -159,7 +159,7 @@ void CastContentBrowserClient::OverrideWebkitPrefs(
}
std::string CastContentBrowserClient::GetApplicationLocale() {
- const std::string locale(base::i18n::GetConfiguredLocale());
+ const std::string locale(l10n_util::GetConfiguredLocale());
return locale.empty() ? "en-US" : locale;
}

Powered by Google App Engine
This is Rietveld 408576698