Index: net/spdy/spdy_proxy_client_socket.cc |
=================================================================== |
--- net/spdy/spdy_proxy_client_socket.cc (revision 149736) |
+++ net/spdy/spdy_proxy_client_socket.cc (working copy) |
@@ -489,7 +489,7 @@ |
} |
// 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 @@ |
user_buffer_ = NULL; |
c.Run(rv); |
} |
+ return OK; |
} |
void SpdyProxyClientSocket::OnDataSent(int length) { |