summaryrefslogtreecommitdiffstats
path: root/net/socket/client_socket_pool_base_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/client_socket_pool_base_unittest.cc')
-rw-r--r--net/socket/client_socket_pool_base_unittest.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/socket/client_socket_pool_base_unittest.cc b/net/socket/client_socket_pool_base_unittest.cc
index 5ef38a7..6405362 100644
--- a/net/socket/client_socket_pool_base_unittest.cc
+++ b/net/socket/client_socket_pool_base_unittest.cc
@@ -78,6 +78,11 @@ class MockClientSocket : public StreamSocket {
was_used_to_convey_data_ = true;
return len;
}
+ virtual int Write(
+ IOBuffer* /* buf */, int len, const CompletionCallback& /* callback */) {
+ was_used_to_convey_data_ = true;
+ return len;
+ }
virtual bool SetReceiveBufferSize(int32 size) { return true; }
virtual bool SetSendBufferSize(int32 size) { return true; }