diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-02 22:40:58 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-02 22:40:58 +0000 |
commit | a0ea1bc8f4c78cbc57bb3e282882a796a8ab1a57 (patch) | |
tree | 706d5f2b8e10dd445ae81467cf37205b33f979cc /base/string16.cc | |
parent | 7dc52f27b89ea2ab8b82a127fc899efef70fc613 (diff) | |
download | chromium_src-a0ea1bc8f4c78cbc57bb3e282882a796a8ab1a57.zip chromium_src-a0ea1bc8f4c78cbc57bb3e282882a796a8ab1a57.tar.gz chromium_src-a0ea1bc8f4c78cbc57bb3e282882a796a8ab1a57.tar.bz2 |
Convert encryptor.cc and friends to string16.
Review URL: http://codereview.chromium.org/28292
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10740 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string16.cc')
-rw-r--r-- | base/string16.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/string16.cc b/base/string16.cc index 2a7ec9c..a47a147 100644 --- a/base/string16.cc +++ b/base/string16.cc @@ -13,6 +13,8 @@ #elif defined(WCHAR_T_IS_UTF32) +#include "base/string_util.h" + namespace base { int c16memcmp(const char16* s1, const char16* s2, size_t n) { @@ -65,4 +67,8 @@ char16* c16memset(char16* s, char16 c, size_t n) { } // namespace base +std::ostream& operator<<(std::ostream& out, const string16& str) { + return out << UTF16ToUTF8(str); +} + #endif // WCHAR_T_IS_UTF32 |