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

Side by Side Diff: Source/platform/network/SocketStreamHandleClient.h

Issue 524773004: Clean up forward declarations in Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2009, 2011, 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2009, 2011, 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 16 matching lines...) Expand all
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 #ifndef SocketStreamHandleClient_h 32 #ifndef SocketStreamHandleClient_h
33 #define SocketStreamHandleClient_h 33 #define SocketStreamHandleClient_h
34 34
35 namespace blink { 35 namespace blink {
36 36
37 class KURL;
38 class SocketStreamError; 37 class SocketStreamError;
39 class SocketStreamHandle; 38 class SocketStreamHandle;
40 39
41 class SocketStreamHandleClient : public GarbageCollectedMixin { 40 class SocketStreamHandleClient : public GarbageCollectedMixin {
42 public: 41 public:
43 virtual ~SocketStreamHandleClient() { } 42 virtual ~SocketStreamHandleClient() { }
44 43
45 virtual void didOpenSocketStream(SocketStreamHandle*) { } 44 virtual void didOpenSocketStream(SocketStreamHandle*) { }
46 virtual void didCloseSocketStream(SocketStreamHandle*) { } 45 virtual void didCloseSocketStream(SocketStreamHandle*) { }
47 virtual void didReceiveSocketStreamData(SocketStreamHandle*, const char* /*d ata*/, int /*length*/) { } 46 virtual void didReceiveSocketStreamData(SocketStreamHandle*, const char* /*d ata*/, int /*length*/) { }
48 virtual void didConsumeBufferedAmount(SocketStreamHandle*, size_t consumed) { } 47 virtual void didConsumeBufferedAmount(SocketStreamHandle*, size_t consumed) { }
49 48
50 virtual void didFailSocketStream(SocketStreamHandle*, const SocketStreamErro r&) { } 49 virtual void didFailSocketStream(SocketStreamHandle*, const SocketStreamErro r&) { }
51 50
52 virtual void trace(Visitor*) { } 51 virtual void trace(Visitor*) { }
53 }; 52 };
54 53
55 } // namespace blink 54 } // namespace blink
56 55
57 #endif // SocketStreamHandleClient_h 56 #endif // SocketStreamHandleClient_h
OLDNEW
« no previous file with comments | « Source/platform/network/ResourceLoadTiming.h ('k') | Source/platform/speech/PlatformSpeechSynthesizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698