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

Unified Diff: net/socket/client_socket_pool_base_unittest.cc

Issue 6800009: Attn: Mike Belshe Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years, 9 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/client_socket_pool_base_unittest.cc
===================================================================
--- net/socket/client_socket_pool_base_unittest.cc (revision 80449)
+++ net/socket/client_socket_pool_base_unittest.cc (working copy)
@@ -58,6 +58,12 @@
was_used_to_convey_data_ = true;
return len;
}
+ virtual int Write(
+ IOBuffer* /* buf */, int len, int sctp_stream_id,
+ CompletionCallback* /* callback */) {
Mike Belshe 2011/04/06 18:32:53 This looks obsolete.
+ was_used_to_convey_data_ = true;
+ return len;
+ }
virtual bool SetReceiveBufferSize(int32 size) { return true; }
virtual bool SetSendBufferSize(int32 size) { return true; }
@@ -107,6 +113,14 @@
return NULL;
}
+ virtual ClientSocket* CreateSCTPClientSocket(
+ const AddressList& addresses,
+ NetLog* /* net_log */,
+ const NetLog::Source& /*source*/) {
+ allocation_count_++;
+ return NULL;
+ }
+
virtual SSLClientSocket* CreateSSLClientSocket(
ClientSocketHandle* transport_socket,
const HostPortPair& host_and_port,

Powered by Google App Engine
This is Rietveld 408576698