Index: net/socket/transport_client_socket_pool_unittest.cc |
diff --git a/net/socket/transport_client_socket_pool_unittest.cc b/net/socket/transport_client_socket_pool_unittest.cc |
index 93e7d11934de1ac418da1074a107f05617bd7fd6..d7ff4e65852c5a226ffaeb71849a314fe6230778 100644 |
--- a/net/socket/transport_client_socket_pool_unittest.cc |
+++ b/net/socket/transport_client_socket_pool_unittest.cc |
@@ -89,9 +89,15 @@ class MockClientSocket : public StreamSocket { |
virtual base::TimeDelta GetConnectTimeMicros() const { |
return base::TimeDelta::FromMicroseconds(-1); |
} |
+ virtual bool WasNpnNegotiated() const { |
+ return false; |
+ } |
virtual NextProto GetNegotiatedProtocol() const { |
return kProtoUnknown; |
} |
+ virtual bool GetSSLInfo(SSLInfo* ssl_info) { |
+ return false; |
+ } |
// Socket implementation. |
virtual int Read(IOBuffer* buf, int buf_len, |
@@ -146,9 +152,15 @@ class MockFailingClientSocket : public StreamSocket { |
virtual base::TimeDelta GetConnectTimeMicros() const { |
return base::TimeDelta::FromMicroseconds(-1); |
} |
+ virtual bool WasNpnNegotiated() const { |
+ return false; |
+ } |
virtual NextProto GetNegotiatedProtocol() const { |
return kProtoUnknown; |
} |
+ virtual bool GetSSLInfo(SSLInfo* ssl_info) { |
+ return false; |
+ } |
// Socket implementation. |
virtual int Read(IOBuffer* buf, int buf_len, |
@@ -228,9 +240,15 @@ class MockPendingClientSocket : public StreamSocket { |
virtual base::TimeDelta GetConnectTimeMicros() const { |
return base::TimeDelta::FromMicroseconds(-1); |
} |
+ virtual bool WasNpnNegotiated() const { |
+ return false; |
+ } |
virtual NextProto GetNegotiatedProtocol() const { |
return kProtoUnknown; |
} |
+ virtual bool GetSSLInfo(SSLInfo* ssl_info) { |
+ return false; |
+ } |
// Socket implementation. |
virtual int Read(IOBuffer* buf, int buf_len, |