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

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

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
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 14 matching lines...) Expand all
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
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 WebCore { 35 namespace blink {
36 36
37 class KURL; 37 class KURL;
38 class SocketStreamError; 38 class SocketStreamError;
39 class SocketStreamHandle; 39 class SocketStreamHandle;
40 40
41 class SocketStreamHandleClient : public WillBeGarbageCollectedMixin { 41 class SocketStreamHandleClient : public WillBeGarbageCollectedMixin {
42 public: 42 public:
43 virtual ~SocketStreamHandleClient() { } 43 virtual ~SocketStreamHandleClient() { }
44 44
45 virtual void didOpenSocketStream(SocketStreamHandle*) { } 45 virtual void didOpenSocketStream(SocketStreamHandle*) { }
46 virtual void didCloseSocketStream(SocketStreamHandle*) { } 46 virtual void didCloseSocketStream(SocketStreamHandle*) { }
47 virtual void didReceiveSocketStreamData(SocketStreamHandle*, const char* /*d ata*/, int /*length*/) { } 47 virtual void didReceiveSocketStreamData(SocketStreamHandle*, const char* /*d ata*/, int /*length*/) { }
48 virtual void didConsumeBufferedAmount(SocketStreamHandle*, size_t consumed) { } 48 virtual void didConsumeBufferedAmount(SocketStreamHandle*, size_t consumed) { }
49 49
50 virtual void didFailSocketStream(SocketStreamHandle*, const SocketStreamErro r&) { } 50 virtual void didFailSocketStream(SocketStreamHandle*, const SocketStreamErro r&) { }
51 51
52 virtual void trace(Visitor*) { } 52 virtual void trace(Visitor*) { }
53 }; 53 };
54 54
55 } // namespace WebCore 55 } // namespace blink
56 56
57 #endif // SocketStreamHandleClient_h 57 #endif // SocketStreamHandleClient_h
OLDNEW
« no previous file with comments | « Source/platform/network/SocketStreamHandle.cpp ('k') | Source/platform/network/SocketStreamHandleInternal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698