| Index: trunk/Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.h
|
| ===================================================================
|
| --- trunk/Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.h (revision 176310)
|
| +++ trunk/Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.h (working copy)
|
| @@ -55,9 +55,9 @@
|
| void didConnect(const String& subprotocol, const String& extensions);
|
| void didReceiveMessage(const String& message);
|
| void didReceiveBinaryData(PassOwnPtr<Vector<char> >);
|
| - void didConsumeBufferedAmount(unsigned long);
|
| + void didUpdateBufferedAmount(unsigned long bufferedAmount);
|
| void didStartClosingHandshake();
|
| - void didClose(WebSocketChannelClient::ClosingHandshakeCompletionStatus, unsigned short code, const String& reason);
|
| + void didClose(unsigned long unhandledBufferedAmount, WebSocketChannelClient::ClosingHandshakeCompletionStatus, unsigned short code, const String& reason);
|
| void didReceiveMessageError();
|
|
|
| void suspend();
|
| @@ -73,9 +73,9 @@
|
| static void didConnectCallback(ExecutionContext*, PassRefPtrWillBeRawPtr<ThreadableWebSocketChannelClientWrapper>, const String& subprotocol, const String& extensions);
|
| static void didReceiveMessageCallback(ExecutionContext*, PassRefPtrWillBeRawPtr<ThreadableWebSocketChannelClientWrapper>, const String& message);
|
| static void didReceiveBinaryDataCallback(ExecutionContext*, PassRefPtrWillBeRawPtr<ThreadableWebSocketChannelClientWrapper>, PassOwnPtr<Vector<char> >);
|
| - static void didConsumeBufferedAmountCallback(ExecutionContext*, PassRefPtrWillBeRawPtr<ThreadableWebSocketChannelClientWrapper>, unsigned long);
|
| + static void didUpdateBufferedAmountCallback(ExecutionContext*, PassRefPtrWillBeRawPtr<ThreadableWebSocketChannelClientWrapper>, unsigned long bufferedAmount);
|
| static void didStartClosingHandshakeCallback(ExecutionContext*, PassRefPtrWillBeRawPtr<ThreadableWebSocketChannelClientWrapper>);
|
| - static void didCloseCallback(ExecutionContext*, PassRefPtrWillBeRawPtr<ThreadableWebSocketChannelClientWrapper>, WebSocketChannelClient::ClosingHandshakeCompletionStatus, unsigned short code, const String& reason);
|
| + static void didCloseCallback(ExecutionContext*, PassRefPtrWillBeRawPtr<ThreadableWebSocketChannelClientWrapper>, unsigned long unhandledBufferedAmount, WebSocketChannelClient::ClosingHandshakeCompletionStatus, unsigned short code, const String& reason);
|
| static void didReceiveMessageErrorCallback(ExecutionContext*, PassRefPtrWillBeRawPtr<ThreadableWebSocketChannelClientWrapper>);
|
|
|
| WebSocketChannelClient* m_client;
|
|
|