| Index: Source/modules/websockets/WebSocketChannelClient.h
|
| diff --git a/Source/modules/websockets/WebSocketChannelClient.h b/Source/modules/websockets/WebSocketChannelClient.h
|
| index aa942aacb656d0d587a01faa7674a088f0ba6c3b..964210aa7966afb38fed8a66ae71acc580435690 100644
|
| --- a/Source/modules/websockets/WebSocketChannelClient.h
|
| +++ b/Source/modules/websockets/WebSocketChannelClient.h
|
| @@ -37,24 +37,24 @@
|
|
|
| namespace WebCore {
|
|
|
| - class WebSocketChannelClient {
|
| - public:
|
| - virtual ~WebSocketChannelClient() { }
|
| - virtual void didConnect() { }
|
| - virtual void didReceiveMessage(const String&) { }
|
| - virtual void didReceiveBinaryData(PassOwnPtr<Vector<char> >) { }
|
| - virtual void didReceiveMessageError() { }
|
| - virtual void didUpdateBufferedAmount(unsigned long /* bufferedAmount */) { }
|
| - virtual void didStartClosingHandshake() { }
|
| - enum ClosingHandshakeCompletionStatus {
|
| - ClosingHandshakeIncomplete,
|
| - ClosingHandshakeComplete
|
| - };
|
| - virtual void didClose(unsigned long /* unhandledBufferedAmount */, ClosingHandshakeCompletionStatus, unsigned short /* code */, const String& /* reason */) { }
|
| -
|
| - protected:
|
| - WebSocketChannelClient() { }
|
| +class WebSocketChannelClient {
|
| +public:
|
| + virtual ~WebSocketChannelClient() { }
|
| + virtual void didConnect() { }
|
| + virtual void didReceiveMessage(const String&) { }
|
| + virtual void didReceiveBinaryData(PassOwnPtr<Vector<char> >) { }
|
| + virtual void didReceiveMessageError() { }
|
| + virtual void didConsumeBufferedAmount(unsigned long consumed) { }
|
| + virtual void didStartClosingHandshake() { }
|
| + enum ClosingHandshakeCompletionStatus {
|
| + ClosingHandshakeIncomplete,
|
| + ClosingHandshakeComplete
|
| };
|
| + virtual void didClose(ClosingHandshakeCompletionStatus, unsigned short /* code */, const String& /* reason */) { }
|
| +
|
| +protected:
|
| + WebSocketChannelClient() { }
|
| +};
|
|
|
| } // namespace WebCore
|
|
|
|
|