| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CC_STUBS_TEXTSTREAM_H_ | 5 #ifndef CC_STUBS_TEXTSTREAM_H_ |
| 6 #define CC_STUBS_TEXTSTREAM_H_ | 6 #define CC_STUBS_TEXTSTREAM_H_ |
| 7 | 7 |
| 8 #include <wtf/text/WTFString.h> | 8 #include <wtf/text/WTFString.h> |
| 9 | 9 |
| 10 namespace WebCore { | 10 namespace WebCore { |
| 11 | 11 |
| 12 // These symbols are all defined inside WebCore. |
| 12 class TextStream { | 13 class TextStream { |
| 13 public: | 14 public: |
| 14 TextStream& operator<<(const String&) { return *this; } | 15 TextStream& operator<<(const String&); |
| 15 TextStream& operator<<(const char*) { return *this; } | 16 TextStream& operator<<(const char*); |
| 16 TextStream& operator<<(int) { return *this; } | 17 TextStream& operator<<(int); |
| 17 String release() { return ""; } | 18 String release(); |
| 18 }; | 19 }; |
| 19 | 20 |
| 20 } | 21 } |
| 21 | 22 |
| 22 #endif // CC_STUBS_TEXTSTREAM_H_ | 23 #endif // CC_STUBS_TEXTSTREAM_H_ |
| 23 | 24 |
| OLD | NEW |