| Index: net/socket/socks_client_socket.cc
|
| diff --git a/net/socket/socks_client_socket.cc b/net/socket/socks_client_socket.cc
|
| index 6776b71a994452beac14c993712ea0f29f1215eb..2842fd109698dd51b2827d956641ea2a72351319 100644
|
| --- a/net/socket/socks_client_socket.cc
|
| +++ b/net/socket/socks_client_socket.cc
|
| @@ -180,6 +180,14 @@ base::TimeDelta SOCKSClientSocket::GetConnectTimeMicros() const {
|
| return base::TimeDelta::FromMicroseconds(-1);
|
| }
|
|
|
| +bool SOCKSClientSocket::WasNpnNegotiated() const {
|
| + if (transport_.get() && transport_->socket()) {
|
| + return transport_->socket()->WasNpnNegotiated();
|
| + }
|
| + NOTREACHED();
|
| + return false;
|
| +}
|
| +
|
| NextProto SOCKSClientSocket::GetNegotiatedProtocol() const {
|
| if (transport_.get() && transport_->socket()) {
|
| return transport_->socket()->GetNegotiatedProtocol();
|
| @@ -188,6 +196,15 @@ NextProto SOCKSClientSocket::GetNegotiatedProtocol() const {
|
| return kProtoUnknown;
|
| }
|
|
|
| +bool SOCKSClientSocket::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 SOCKSClientSocket::Read(IOBuffer* buf, int buf_len,
|
|
|