Chromium Code Reviews| Index: base/string16.cc |
| =================================================================== |
| --- base/string16.cc (revision 10646) |
| +++ base/string16.cc (working copy) |
| @@ -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 @@ |
| } // namespace base |
| +std::ostream& operator<<(std::ostream& out, const string16& str) { |
| + return out << UTF16ToUTF8(str); |
| +} |
| + |
| #endif // WCHAR_T_IS_UTF32 |