Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: cc/stubs/TextStream.h

Issue 10915074: Fix up cc stubs and bindings to work in windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/stubs/GraphicsContext3D.h ('k') | webkit/compositor_bindings/compositor_bindings.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « cc/stubs/GraphicsContext3D.h ('k') | webkit/compositor_bindings/compositor_bindings.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698