summaryrefslogtreecommitdiffstats
path: root/net/socket/socket_test_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/socket_test_util.cc')
-rw-r--r--net/socket/socket_test_util.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/socket/socket_test_util.cc b/net/socket/socket_test_util.cc
index 275ca84..9e9daba 100644
--- a/net/socket/socket_test_util.cc
+++ b/net/socket/socket_test_util.cc
@@ -29,6 +29,13 @@ void MockClientSocket::GetSSLCertRequestInfo(
NOTREACHED();
}
+SSLClientSocket::NextProtoStatus
+MockClientSocket::GetNextProtocol(std::string* proto) {
+ NOTREACHED();
+ proto->clear();
+ return SSLClientSocket::kNextProtoUnsupported;
+}
+
void MockClientSocket::Disconnect() {
connected_ = false;
}