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

Unified Diff: app/l10n_util_unittest.cc

Issue 171012: Use 'icu::' namespace explicitly (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « app/l10n_util.cc ('k') | app/table_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/l10n_util_unittest.cc
===================================================================
--- app/l10n_util_unittest.cc (revision 23559)
+++ app/l10n_util_unittest.cc (working copy)
@@ -85,9 +85,9 @@
}
void SetICUDefaultLocale(const std::string& locale_string) {
- Locale locale(locale_string.c_str());
+ icu::Locale locale(locale_string.c_str());
UErrorCode error_code = U_ZERO_ERROR;
- Locale::setDefault(locale, error_code);
+ icu::Locale::setDefault(locale, error_code);
EXPECT_TRUE(U_SUCCESS(error_code));
}
@@ -134,7 +134,7 @@
}
// Keep a copy of ICU's default locale before we overwrite it.
- Locale locale = Locale::getDefault();
+ icu::Locale locale = icu::Locale::getDefault();
SetICUDefaultLocale("en-US");
EXPECT_EQ("en-US", l10n_util::GetApplicationLocale(L""));
@@ -213,7 +213,7 @@
PathService::Override(app::DIR_LOCALES, orig_locale_dir.ToWStringHack());
file_util::Delete(new_locale_dir, true);
UErrorCode error_code = U_ZERO_ERROR;
- Locale::setDefault(locale, error_code);
+ icu::Locale::setDefault(locale, error_code);
}
#endif // defined(OS_WIN) || defined(OS_LINUX)
« no previous file with comments | « app/l10n_util.cc ('k') | app/table_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698