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

Unified Diff: public/web/WebSocketClient.h

Issue 311993006: [WebSocket] bufferedAmount should not decrease inside a task. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
Index: public/web/WebSocketClient.h
diff --git a/public/web/WebSocketClient.h b/public/web/WebSocketClient.h
index 35896f82b0b9dfa8d66d74a9abdee8b24e19bf52..6ab768de88ebff489e8150d47b6b469b17f59f7f 100644
--- a/public/web/WebSocketClient.h
+++ b/public/web/WebSocketClient.h
@@ -50,7 +50,8 @@ public:
virtual void didReceiveMessage(const WebString& message) { }
virtual void didReceiveArrayBuffer(const WebArrayBuffer& arrayBuffer) { }
virtual void didReceiveMessageError() { }
- virtual void didUpdateBufferedAmount(unsigned long bufferedAmount) { }
+ virtual void didIncreaseBufferedAmount(unsigned long amount) { }
+ virtual void didDecreaseBufferedAmount(unsigned long amount) { }
virtual void didStartClosingHandshake() { }
virtual void didClose(unsigned long bufferedAmount, ClosingHandshakeCompletionStatus, unsigned short code, const WebString& reason) { }
};
« Source/modules/websockets/WebSocketChannelClient.h ('K') | « Source/web/WebSocketImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698