summaryrefslogtreecommitdiffstats
path: root/net/socket/tcp_client_socket_pool_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/tcp_client_socket_pool_unittest.cc')
-rw-r--r--net/socket/tcp_client_socket_pool_unittest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/socket/tcp_client_socket_pool_unittest.cc b/net/socket/tcp_client_socket_pool_unittest.cc
index 5bcf7e1..ddcd5bf 100644
--- a/net/socket/tcp_client_socket_pool_unittest.cc
+++ b/net/socket/tcp_client_socket_pool_unittest.cc
@@ -52,6 +52,7 @@ class MockClientSocket : public ClientSocket {
virtual void SetSubresourceSpeculation() {}
virtual void SetOmniboxSpeculation() {}
+ virtual bool WasEverUsed() const { return false; }
// Socket methods:
virtual int Read(IOBuffer* buf, int buf_len,
@@ -96,6 +97,7 @@ class MockFailingClientSocket : public ClientSocket {
virtual void SetSubresourceSpeculation() {}
virtual void SetOmniboxSpeculation() {}
+ virtual bool WasEverUsed() const { return false; }
// Socket methods:
virtual int Read(IOBuffer* buf, int buf_len,
@@ -153,6 +155,7 @@ class MockPendingClientSocket : public ClientSocket {
virtual void SetSubresourceSpeculation() {}
virtual void SetOmniboxSpeculation() {}
+ virtual bool WasEverUsed() const { return false; }
// Socket methods:
virtual int Read(IOBuffer* buf, int buf_len,