Index: net/socket/socket_test_util.h |
=================================================================== |
--- net/socket/socket_test_util.h (revision 80449) |
+++ net/socket/socket_test_util.h (working copy) |
@@ -537,6 +537,10 @@ |
const AddressList& addresses, |
NetLog* net_log, |
const NetLog::Source& source); |
+ virtual ClientSocket* CreateSCTPClientSocket( |
+ const AddressList& addresses, |
+ NetLog* net_log, |
+ const NetLog::Source& source); |
virtual SSLClientSocket* CreateSSLClientSocket( |
ClientSocketHandle* transport_socket, |
const HostPortPair& host_and_port, |
@@ -552,6 +556,7 @@ |
// Store pointers to handed out sockets in case the test wants to get them. |
std::vector<MockTCPClientSocket*> tcp_client_sockets_; |
+ std::vector<MockTCPClientSocket*> sctp_client_sockets_; |
std::vector<MockSSLClientSocket*> ssl_client_sockets_; |
}; |
@@ -892,6 +897,9 @@ |
virtual ClientSocket* CreateTCPClientSocket(const AddressList& addresses, |
NetLog* net_log, |
const NetLog::Source& source); |
+ virtual ClientSocket* CreateSCTPClientSocket(const AddressList& addresses, |
+ NetLog* net_log, |
+ const NetLog::Source& source); |
virtual SSLClientSocket* CreateSSLClientSocket( |
ClientSocketHandle* transport_socket, |
const HostPortPair& host_and_port, |
@@ -907,6 +915,7 @@ |
// Store pointers to handed out sockets in case the test wants to get them. |
std::vector<DeterministicMockTCPClientSocket*> tcp_client_sockets_; |
+ std::vector<DeterministicMockTCPClientSocket*> sctp_client_sockets_; |
std::vector<MockSSLClientSocket*> ssl_client_sockets_; |
}; |