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

Unified Diff: chrome/common/extensions/extension_message_bundle_unittest.cc

Issue 1073005: Move RTL related functions from app/l10n_util to base/i18n/rtl... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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/common/extensions/extension_message_bundle.cc ('k') | chrome/renderer/localized_error.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_message_bundle_unittest.cc
===================================================================
--- chrome/common/extensions/extension_message_bundle_unittest.cc (revision 42180)
+++ chrome/common/extensions/extension_message_bundle_unittest.cc (working copy)
@@ -8,6 +8,7 @@
#include <vector>
#include "app/l10n_util.h"
+#include "base/i18n/rtl.h"
#include "base/linked_ptr.h"
#include "base/scoped_ptr.h"
#include "base/string_util.h"
@@ -129,8 +130,8 @@
handler->GetL10nMessage(ExtensionMessageBundle::kUILocaleKey));
std::string text_dir = "ltr";
- if (l10n_util::GetTextDirectionForLocale(ui_locale.c_str()) ==
- l10n_util::RIGHT_TO_LEFT)
+ if (base::i18n::GetTextDirectionForLocale(ui_locale.c_str()) ==
+ base::i18n::RIGHT_TO_LEFT)
text_dir = "rtl";
EXPECT_EQ(text_dir, handler->GetL10nMessage(
« no previous file with comments | « chrome/common/extensions/extension_message_bundle.cc ('k') | chrome/renderer/localized_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698