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

Unified Diff: trunk/Source/web/WebSocketImpl.h

Issue 338243006: Revert 176298 "[WebSocket] bufferedAmount should not decrease in..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/Source/platform/network/SocketStreamHandleClient.h ('k') | trunk/Source/web/WebSocketImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/web/WebSocketImpl.h
===================================================================
--- trunk/Source/web/WebSocketImpl.h (revision 176310)
+++ trunk/Source/web/WebSocketImpl.h (working copy)
@@ -71,9 +71,9 @@
virtual void didReceiveMessage(const String& message) OVERRIDE;
virtual void didReceiveBinaryData(PassOwnPtr<Vector<char> > binaryData) OVERRIDE;
virtual void didReceiveMessageError() OVERRIDE;
- virtual void didConsumeBufferedAmount(unsigned long consumed) OVERRIDE;
+ virtual void didUpdateBufferedAmount(unsigned long bufferedAmount) OVERRIDE;
virtual void didStartClosingHandshake() OVERRIDE;
- virtual void didClose(ClosingHandshakeCompletionStatus, unsigned short code, const String& reason) OVERRIDE;
+ virtual void didClose(unsigned long bufferedAmount, ClosingHandshakeCompletionStatus, unsigned short code, const String& reason) OVERRIDE;
private:
RefPtrWillBePersistent<WebCore::WebSocketChannel> m_private;
@@ -81,7 +81,6 @@
BinaryType m_binaryType;
WebString m_subprotocol;
WebString m_extensions;
- unsigned long m_bufferedAmount;
};
} // namespace blink
« no previous file with comments | « trunk/Source/platform/network/SocketStreamHandleClient.h ('k') | trunk/Source/web/WebSocketImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698