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

Unified Diff: net/spdy/spdy_websocket_stream.h

Issue 15740018: [SPDY] Change SpdyStream::QueueStreamData() To SendStreamData() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comment Created 7 years, 7 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: net/spdy/spdy_websocket_stream.h
diff --git a/net/spdy/spdy_websocket_stream.h b/net/spdy/spdy_websocket_stream.h
index 77fe1edccb669d95b8ff670675c7281270e886dd..d32904041f124b47e8d50a44197be762501f27bc 100644
--- a/net/spdy/spdy_websocket_stream.h
+++ b/net/spdy/spdy_websocket_stream.h
@@ -76,13 +76,13 @@ class NET_EXPORT_PRIVATE SpdyWebSocketStream
// SpdyStream::Delegate
virtual SpdySendStatus OnSendHeadersComplete() OVERRIDE;
virtual void OnSendBody() OVERRIDE;
- virtual SpdySendStatus OnSendBodyComplete(size_t bytes_sent) OVERRIDE;
+ virtual SpdySendStatus OnSendBodyComplete() OVERRIDE;
virtual int OnResponseReceived(const SpdyHeaderBlock& response,
base::Time response_time,
int status) OVERRIDE;
virtual void OnHeadersSent() OVERRIDE;
virtual int OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE;
- virtual void OnDataSent(size_t bytes_sent) OVERRIDE;
+ virtual void OnDataSent() OVERRIDE;
virtual void OnClose(int status) OVERRIDE;
private:
@@ -97,6 +97,7 @@ class NET_EXPORT_PRIVATE SpdyWebSocketStream
SpdyStreamRequest stream_request_;
base::WeakPtr<SpdyStream> stream_;
scoped_refptr<SpdySession> spdy_session_;
+ size_t pending_send_data_length_;
Delegate* delegate_;
DISALLOW_COPY_AND_ASSIGN(SpdyWebSocketStream);

Powered by Google App Engine
This is Rietveld 408576698