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

Unified Diff: chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc

Issue 93793010: Update uses of UTF conversions in chrome/common to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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: chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc
index f7fbab99ceb7498d9576ba7c74de08e9de32416e..d47296fe760905482d12b6785f7c325955631d92 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc
@@ -153,16 +153,16 @@ TEST_F(InitValueManifestTest, InitFromValueValidNameInRTL) {
scoped_refptr<Extension> extension(LoadAndExpectSuccess(
"init_valid_name_no_rtl.json"));
- base::string16 localized_name(ASCIIToUTF16("Dictionary (by Google)"));
+ base::string16 localized_name(base::ASCIIToUTF16("Dictionary (by Google)"));
base::i18n::AdjustStringForLocaleDirection(&localized_name);
- EXPECT_EQ(localized_name, UTF8ToUTF16(extension->name()));
+ EXPECT_EQ(localized_name, base::UTF8ToUTF16(extension->name()));
// Strong RTL characters in name.
extension = LoadAndExpectSuccess("init_valid_name_strong_rtl.json");
- localized_name = WideToUTF16(L"Dictionary (\x05D1\x05D2" L" Google)");
+ localized_name = base::WideToUTF16(L"Dictionary (\x05D1\x05D2" L" Google)");
base::i18n::AdjustStringForLocaleDirection(&localized_name);
- EXPECT_EQ(localized_name, UTF8ToUTF16(extension->name()));
+ EXPECT_EQ(localized_name, base::UTF8ToUTF16(extension->name()));
// Reset locale.
#if defined(TOOLKIT_GTK)
« no previous file with comments | « chrome/common/extensions/manifest_handlers/theme_handler.cc ('k') | chrome/common/extensions/manifest_url_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698