Index: net/socket/socks5_client_socket.cc |
=================================================================== |
--- net/socket/socks5_client_socket.cc (revision 90003) |
+++ net/socket/socks5_client_socket.cc (working copy) |
@@ -142,6 +142,22 @@ |
return false; |
} |
+int64 SOCKS5ClientSocket::NumBytesRead() const { |
+ if (transport_.get() && transport_->socket()) { |
+ return transport_->socket()->NumBytesRead(); |
+ } |
+ NOTREACHED(); |
+ return -1; |
+} |
+ |
+int SOCKS5ClientSocket::GetConnectTimeMicros() const { |
+ if (transport_.get() && transport_->socket()) { |
+ return transport_->socket()->GetConnectTimeMicros(); |
+ } |
+ NOTREACHED(); |
+ return -1; |
+} |
+ |
// Read is called by the transport layer above to read. This can only be done |
// if the SOCKS handshake is complete. |
int SOCKS5ClientSocket::Read(IOBuffer* buf, int buf_len, |