diff options
Diffstat (limited to 'net/spdy/spdy_proxy_client_socket.cc')
-rw-r--r-- | net/spdy/spdy_proxy_client_socket.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/spdy/spdy_proxy_client_socket.cc b/net/spdy/spdy_proxy_client_socket.cc index 251ada2..cffa3e4 100644 --- a/net/spdy/spdy_proxy_client_socket.cc +++ b/net/spdy/spdy_proxy_client_socket.cc @@ -489,7 +489,7 @@ int SpdyProxyClientSocket::OnResponseReceived( } // Called when data is received. -void SpdyProxyClientSocket::OnDataReceived(const char* data, int length) { +int SpdyProxyClientSocket::OnDataReceived(const char* data, int length) { if (length > 0) { // Save the received data. scoped_refptr<IOBuffer> io_buffer(new IOBuffer(length)); @@ -505,6 +505,7 @@ void SpdyProxyClientSocket::OnDataReceived(const char* data, int length) { user_buffer_ = NULL; c.Run(rv); } + return OK; } void SpdyProxyClientSocket::OnDataSent(int length) { |