Index: net/socket/transport_client_socket_pool_unittest.cc |
diff --git a/net/socket/transport_client_socket_pool_unittest.cc b/net/socket/transport_client_socket_pool_unittest.cc |
index 66047275ab4c4f85a87fb9e9030c9ac769e9df6e..56b1fa9c9554701757017487f09fa9546bf0f21c 100644 |
--- a/net/socket/transport_client_socket_pool_unittest.cc |
+++ b/net/socket/transport_client_socket_pool_unittest.cc |
@@ -94,11 +94,15 @@ class MockClientSocket : public StreamSocket { |
return base::TimeDelta::FromMicroseconds(-1); |
} |
- // Socket methods: |
+ // Socket implementation. |
virtual int Read(IOBuffer* buf, int buf_len, |
OldCompletionCallback* callback) { |
return ERR_FAILED; |
} |
+ virtual int Read(IOBuffer* buf, int buf_len, |
+ const CompletionCallback& callback) { |
+ return ERR_FAILED; |
+ } |
virtual int Write(IOBuffer* buf, int buf_len, |
OldCompletionCallback* callback) { |
return ERR_FAILED; |
@@ -151,11 +155,15 @@ class MockFailingClientSocket : public StreamSocket { |
return base::TimeDelta::FromMicroseconds(-1); |
} |
- // Socket methods: |
+ // Socket implementation. |
virtual int Read(IOBuffer* buf, int buf_len, |
OldCompletionCallback* callback) { |
return ERR_FAILED; |
} |
+ virtual int Read(IOBuffer* buf, int buf_len, |
+ const CompletionCallback& callback) { |
+ return ERR_FAILED; |
+ } |
virtual int Write(IOBuffer* buf, int buf_len, |
OldCompletionCallback* callback) { |
@@ -238,11 +246,15 @@ class MockPendingClientSocket : public StreamSocket { |
return base::TimeDelta::FromMicroseconds(-1); |
} |
- // Socket methods: |
+ // Socket implementation. |
virtual int Read(IOBuffer* buf, int buf_len, |
OldCompletionCallback* callback) { |
return ERR_FAILED; |
} |
+ virtual int Read(IOBuffer* buf, int buf_len, |
+ const CompletionCallback& callback) { |
+ return ERR_FAILED; |
+ } |
virtual int Write(IOBuffer* buf, int buf_len, |
OldCompletionCallback* callback) { |