Index: net/socket/socks5_client_socket.cc |
diff --git a/net/socket/socks5_client_socket.cc b/net/socket/socks5_client_socket.cc |
index 1b020d78331402f9144a7128dd4de59b75931351..ae1eebd831a170a4d56eff557140bf31de41e4dd 100644 |
--- a/net/socket/socks5_client_socket.cc |
+++ b/net/socket/socks5_client_socket.cc |
@@ -158,6 +158,14 @@ base::TimeDelta SOCKS5ClientSocket::GetConnectTimeMicros() const { |
return base::TimeDelta::FromMicroseconds(-1); |
} |
+bool SOCKS5ClientSocket::WasNpnNegotiated() const { |
+ if (transport_.get() && transport_->socket()) { |
+ return transport_->socket()->WasNpnNegotiated(); |
+ } |
+ NOTREACHED(); |
+ return false; |
+} |
+ |
NextProto SOCKS5ClientSocket::GetNegotiatedProtocol() const { |
if (transport_.get() && transport_->socket()) { |
return transport_->socket()->GetNegotiatedProtocol(); |
@@ -166,6 +174,15 @@ NextProto SOCKS5ClientSocket::GetNegotiatedProtocol() const { |
return kProtoUnknown; |
} |
+bool SOCKS5ClientSocket::GetSSLInfo(SSLInfo* ssl_info) const { |
+ if (transport_.get() && transport_->socket()) { |
+ return transport_->socket()->GetSSLInfo(ssl_info); |
+ } |
+ NOTREACHED(); |
+ return false; |
+ |
+} |
+ |
// 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, |