diff options
Diffstat (limited to 'net/spdy/spdy_proxy_client_socket.cc')
-rw-r--r-- | net/spdy/spdy_proxy_client_socket.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/spdy/spdy_proxy_client_socket.cc b/net/spdy/spdy_proxy_client_socket.cc index 452ee3b..f451868 100644 --- a/net/spdy/spdy_proxy_client_socket.cc +++ b/net/spdy/spdy_proxy_client_socket.cc @@ -404,11 +404,11 @@ int SpdyProxyClientSocket::OnSendBody() { return ERR_UNEXPECTED; } -bool SpdyProxyClientSocket::OnSendBodyComplete(int status) { +int SpdyProxyClientSocket::OnSendBodyComplete(int /*status*/, bool* /*eof*/) { // Because we use |spdy_stream_| via STATE_OPEN (ala WebSockets) // OnSendBodyComplete() should never be called. NOTREACHED(); - return false; + return ERR_UNEXPECTED; } int SpdyProxyClientSocket::OnResponseReceived( @@ -498,4 +498,7 @@ void SpdyProxyClientSocket::OnClose(int status) { write_callback->Run(ERR_CONNECTION_CLOSED); } +void SpdyProxyClientSocket::set_chunk_callback(ChunkCallback* /*callback*/) { +} + } // namespace net |