Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(591)

Unified Diff: net/socket/socket_test_util.h

Issue 6800009: Attn: Mike Belshe Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
};

Powered by Google App Engine
This is Rietveld 408576698