summaryrefslogtreecommitdiffstats
path: root/components/webdata/encryptor/encryptor_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/webdata/encryptor/encryptor_unittest.cc')
-rw-r--r--components/webdata/encryptor/encryptor_unittest.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/components/webdata/encryptor/encryptor_unittest.cc b/components/webdata/encryptor/encryptor_unittest.cc
index b48792a..3084ab8 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));