summaryrefslogtreecommitdiffstats
path: root/net/socket/tcp_pinger_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/tcp_pinger_unittest.cc')
-rw-r--r--net/socket/tcp_pinger_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/tcp_pinger_unittest.cc b/net/socket/tcp_pinger_unittest.cc
index 8cd4ed4..63e0045 100644
--- a/net/socket/tcp_pinger_unittest.cc
+++ b/net/socket/tcp_pinger_unittest.cc
@@ -28,7 +28,7 @@ class TCPPingerTest
LOG(INFO) << "TCPPinger accepted connection";
connected_sock_ = connection;
}
- virtual void DidRead(ListenSocket*, const std::string& s) {
+ virtual void DidRead(ListenSocket*, const char* str, int len) {
// Not really needed yet, as TCPPinger doesn't support Read
connected_sock_->Send(std::string("HTTP/1.1 404 Not Found"), true);
connected_sock_ = NULL;