summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/secure_p2p_socket_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/protocol/secure_p2p_socket_unittest.cc')
-rw-r--r--remoting/protocol/secure_p2p_socket_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/protocol/secure_p2p_socket_unittest.cc b/remoting/protocol/secure_p2p_socket_unittest.cc
index 2d46794..4fd2f29 100644
--- a/remoting/protocol/secure_p2p_socket_unittest.cc
+++ b/remoting/protocol/secure_p2p_socket_unittest.cc
@@ -22,7 +22,7 @@ class TestSocket : public net::Socket {
// Socket implementation.
virtual int Read(net::IOBuffer* buf, int buf_len,
- net::CompletionCallback* callback) {
+ net::OldCompletionCallback* callback) {
std::string buffer = buffer_.front();
buffer_.pop();
@@ -32,7 +32,7 @@ class TestSocket : public net::Socket {
}
virtual int Write(net::IOBuffer* buf, int buf_len,
- net::CompletionCallback* callback) {
+ net::OldCompletionCallback* callback) {
buffer_.push(std::string(buf->data(), buf_len));
return buf_len;
}