summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_proxy_client_socket.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-15 00:21:42 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-15 00:21:42 +0000
commitd46715c9e23b6a27a4f3484fa3c2f9e213c8ed14 (patch)
treea0619f483850b39c6bbb34e3e191ef4cb8f35059 /net/spdy/spdy_proxy_client_socket.h
parentbf97e8bcd8225c395db813ecc0b0ed84194b0d04 (diff)
downloadchromium_src-d46715c9e23b6a27a4f3484fa3c2f9e213c8ed14.zip
chromium_src-d46715c9e23b6a27a4f3484fa3c2f9e213c8ed14.tar.gz
chromium_src-d46715c9e23b6a27a4f3484fa3c2f9e213c8ed14.tar.bz2
[SPDY] Plumb SPDY frame type through write queue
This lets us remove the waiting_completions_ queue from SpdyStream, and also lets us guarantee that a stream is activated only when SYN_STREAM is sent. Change some SpdyStream::Delegate function signatures. Also add SpdySendStatus to replace some booleans. Change SpdyStream::send_bytes_ to only track data frames. Add GetFrame{Min,Max}imumSize() function to SpdyFramer. Fix calculation of frame overhead that is buggy with SPDY/4 and add regression test. BUG=176592,231003 Review URL: https://chromiumcodereview.appspot.com/13977002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194127 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_proxy_client_socket.h')
-rw-r--r--net/spdy/spdy_proxy_client_socket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/spdy/spdy_proxy_client_socket.h b/net/spdy/spdy_proxy_client_socket.h
index 3b484a1..8d3f047 100644
--- a/net/spdy/spdy_proxy_client_socket.h
+++ b/net/spdy/spdy_proxy_client_socket.h
@@ -90,15 +90,15 @@ class NET_EXPORT_PRIVATE SpdyProxyClientSocket : public ProxyClientSocket,
virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE;
// SpdyStream::Delegate implementation.
- virtual bool OnSendHeadersComplete(int status) OVERRIDE;
+ virtual SpdySendStatus OnSendHeadersComplete() OVERRIDE;
virtual int OnSendBody() OVERRIDE;
- virtual int OnSendBodyComplete(int status, bool* eof) OVERRIDE;
+ virtual SpdySendStatus OnSendBodyComplete(size_t bytes_sent) OVERRIDE;
virtual int OnResponseReceived(const SpdyHeaderBlock& response,
base::Time response_time,
int status) OVERRIDE;
virtual void OnHeadersSent() OVERRIDE;
virtual int OnDataReceived(const char* data, int length) OVERRIDE;
- virtual void OnDataSent(int length) OVERRIDE;
+ virtual void OnDataSent(size_t bytes_sent) OVERRIDE;
virtual void OnClose(int status) OVERRIDE;
private: