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

Unified Diff: Source/platform/network/SocketStreamHandleClient.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: Source/platform/network/SocketStreamHandleClient.h
diff --git a/Source/platform/network/SocketStreamHandleClient.h b/Source/platform/network/SocketStreamHandleClient.h
index c3dd1f10b7f04ca46533263a48dbff94780288d9..ecd51c6325205394c7efdd0c91b13c8780086937 100644
--- a/Source/platform/network/SocketStreamHandleClient.h
+++ b/Source/platform/network/SocketStreamHandleClient.h
@@ -45,7 +45,7 @@ public:
virtual void didOpenSocketStream(SocketStreamHandle*) { }
virtual void didCloseSocketStream(SocketStreamHandle*) { }
virtual void didReceiveSocketStreamData(SocketStreamHandle*, const char* /*data*/, int /*length*/) { }
- virtual void didUpdateBufferedAmount(SocketStreamHandle*, size_t /*bufferedAmount*/) { }
+ virtual void didConsumeBufferedAmount(SocketStreamHandle*, size_t amount) { }
tyoshino (SeeGerritForStatus) 2014/06/19 07:38:54 amount -> consumed for consistency with the other
yhirano 2014/06/19 07:49:43 Done.
virtual void didFailSocketStream(SocketStreamHandle*, const SocketStreamError&) { }
};

Powered by Google App Engine
This is Rietveld 408576698