michael@0: // Copyright (c) 2013 The Chromium Authors. All rights reserved. michael@0: // Use of this source code is governed by a BSD-style license that can be michael@0: // found in the LICENSE file. michael@0: michael@0: #include "base/strings/nullable_string16.h" michael@0: michael@0: #include michael@0: michael@0: #include "base/strings/utf_string_conversions.h" michael@0: michael@0: namespace base { michael@0: michael@0: std::ostream& operator<<(std::ostream& out, const NullableString16& value) { michael@0: return value.is_null() ? out << "(null)" : out << UTF16ToUTF8(value.string()); michael@0: } michael@0: michael@0: } // namespace base