| Index: Source/modules/websockets/WebSocketChannelClient.h
|
| diff --git a/Source/modules/websockets/WebSocketChannelClient.h b/Source/modules/websockets/WebSocketChannelClient.h
|
| index fbaa99caeb34a72f0d7ce7668dede122ada22659..ff558c20fa4b0ed9314a52a5e896111019b6812c 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(const String& subprotocol, const String& extensions) { }
|
| - 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(const String& subprotocol, const String& extensions) { }
|
| + 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
|
|
|
|
|