| 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..409968c9e6148b9329a4e61919adfe8b70343c05 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) {
|
| + 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,
|
|
|