OLD | NEW |
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 24 matching lines...) Expand all Loading... |
35 namespace WebCore { | 35 namespace WebCore { |
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 { | 41 class SocketStreamHandleClient { |
42 public: | 42 public: |
43 virtual ~SocketStreamHandleClient() { } | 43 virtual ~SocketStreamHandleClient() { } |
44 | 44 |
45 virtual void willOpenSocketStream(SocketStreamHandle*) { } | |
46 virtual void didOpenSocketStream(SocketStreamHandle*) { } | 45 virtual void didOpenSocketStream(SocketStreamHandle*) { } |
47 virtual void didCloseSocketStream(SocketStreamHandle*) { } | 46 virtual void didCloseSocketStream(SocketStreamHandle*) { } |
48 virtual void didReceiveSocketStreamData(SocketStreamHandle*, const char* /*d
ata*/, int /*length*/) { } | 47 virtual void didReceiveSocketStreamData(SocketStreamHandle*, const char* /*d
ata*/, int /*length*/) { } |
49 virtual void didUpdateBufferedAmount(SocketStreamHandle*, size_t /*bufferedA
mount*/) { } | 48 virtual void didUpdateBufferedAmount(SocketStreamHandle*, size_t /*bufferedA
mount*/) { } |
50 | 49 |
51 virtual void didFailSocketStream(SocketStreamHandle*, const SocketStreamErro
r&) { } | 50 virtual void didFailSocketStream(SocketStreamHandle*, const SocketStreamErro
r&) { } |
52 }; | 51 }; |
53 | 52 |
54 } // namespace WebCore | 53 } // namespace WebCore |
55 | 54 |
56 #endif // SocketStreamHandleClient_h | 55 #endif // SocketStreamHandleClient_h |
OLD | NEW |