| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BASE_STRINGS_NULLABLE_STRING16_H_ | 5 #ifndef BASE_STRINGS_NULLABLE_STRING16_H_ |
| 6 #define BASE_STRINGS_NULLABLE_STRING16_H_ | 6 #define BASE_STRINGS_NULLABLE_STRING16_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 | 9 |
| 10 #include "base/base_export.h" | 10 #include "base/base_export.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 inline bool operator!=(const NullableString16& a, const NullableString16& b) { | 37 inline bool operator!=(const NullableString16& a, const NullableString16& b) { |
| 38 return !(a == b); | 38 return !(a == b); |
| 39 } | 39 } |
| 40 | 40 |
| 41 BASE_EXPORT std::ostream& operator<<(std::ostream& out, | 41 BASE_EXPORT std::ostream& operator<<(std::ostream& out, |
| 42 const NullableString16& value); | 42 const NullableString16& value); |
| 43 | 43 |
| 44 } // namespace | 44 } // namespace |
| 45 | 45 |
| 46 // TODO(avi) update users of NullableString16 to use the namespace and remove | |
| 47 // this "using". | |
| 48 using base::NullableString16; | |
| 49 | |
| 50 #endif // BASE_STRINGS_NULLABLE_STRING16_H_ | 46 #endif // BASE_STRINGS_NULLABLE_STRING16_H_ |
| OLD | NEW |