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

Unified Diff: components/webdata/encryptor/encryptor_unittest.cc

Issue 113403006: Update some uses of char16 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: components/webdata/encryptor/encryptor_unittest.cc
diff --git a/components/webdata/encryptor/encryptor_unittest.cc b/components/webdata/encryptor/encryptor_unittest.cc
index b48792a920cc0df2b298bddf29bdbb1188bb27ae..3084ab838ccf014e9373961582c2d073b9ab4bfb 100644
--- a/components/webdata/encryptor/encryptor_unittest.cc
+++ b/components/webdata/encryptor/encryptor_unittest.cc
@@ -52,12 +52,12 @@ TEST_F(EncryptorTest, String16EncryptionDecryption) {
EXPECT_EQ(plaintext, result);
// Test Unicode.
- char16 wchars[] = { 0xdbeb, 0xdf1b, 0x4e03, 0x6708, 0x8849,
- 0x661f, 0x671f, 0x56db, 0x597c, 0x4e03,
- 0x6708, 0x56db, 0x6708, 0xe407, 0xdbaf,
- 0xdeb5, 0x4ec5, 0x544b, 0x661f, 0x671f,
- 0x65e5, 0x661f, 0x671f, 0x4e94, 0xd8b1,
- 0xdce1, 0x7052, 0x5095, 0x7c0b, 0xe586, 0};
+ base::char16 wchars[] = { 0xdbeb, 0xdf1b, 0x4e03, 0x6708, 0x8849,
+ 0x661f, 0x671f, 0x56db, 0x597c, 0x4e03,
+ 0x6708, 0x56db, 0x6708, 0xe407, 0xdbaf,
+ 0xdeb5, 0x4ec5, 0x544b, 0x661f, 0x671f,
+ 0x65e5, 0x661f, 0x671f, 0x4e94, 0xd8b1,
+ 0xdce1, 0x7052, 0x5095, 0x7c0b, 0xe586, 0};
plaintext = wchars;
utf8_plaintext = base::UTF16ToUTF8(plaintext);
EXPECT_EQ(plaintext, base::UTF8ToUTF16(utf8_plaintext));
« no previous file with comments | « components/sessions/serialized_navigation_entry.cc ('k') | content/browser/accessibility/browser_accessibility_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698