Index: net/http/http_proxy_client_socket.cc |
=================================================================== |
--- net/http/http_proxy_client_socket.cc (revision 88995) |
+++ net/http/http_proxy_client_socket.cc (working copy) |
@@ -165,6 +165,22 @@ |
return false; |
} |
+int64 HttpProxyClientSocket::NumBytesRead() const { |
+ if (transport_.get() && transport_->socket()) { |
+ return transport_->socket()->NumBytesRead(); |
+ } |
+ NOTREACHED(); |
+ return -1; |
+} |
+ |
+int HttpProxyClientSocket::GetConnectTimeMicros() const { |
+ if (transport_.get() && transport_->socket()) { |
+ return transport_->socket()->GetConnectTimeMicros(); |
+ } |
+ NOTREACHED(); |
+ return -1; |
+} |
+ |
int HttpProxyClientSocket::Read(IOBuffer* buf, int buf_len, |
CompletionCallback* callback) { |
DCHECK(!user_callback_); |