summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_server_socket_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/ssl_server_socket_unittest.cc')
-rw-r--r--net/socket/ssl_server_socket_unittest.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/socket/ssl_server_socket_unittest.cc b/net/socket/ssl_server_socket_unittest.cc
index 03a6db0..f93d7c6 100644
--- a/net/socket/ssl_server_socket_unittest.cc
+++ b/net/socket/ssl_server_socket_unittest.cc
@@ -236,10 +236,18 @@ class FakeSocket : public StreamSocket {
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;
+ }
+
private:
net::BoundNetLog net_log_;
FakeDataChannel* incoming_;