Index: net/socket/tcp_server_socket_libevent.h |
diff --git a/net/socket/tcp_server_socket_libevent.h b/net/socket/tcp_server_socket_libevent.h |
index 1325d06026b5997f869b09c8108e8418ac3d128e..946cc50f949d56911d0a0a437a0c02b3dfd95165 100644 |
--- a/net/socket/tcp_server_socket_libevent.h |
+++ b/net/socket/tcp_server_socket_libevent.h |
@@ -29,7 +29,7 @@ class NET_EXPORT_PRIVATE TCPServerSocketLibevent |
virtual int Listen(const net::IPEndPoint& address, int backlog) OVERRIDE; |
virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; |
virtual int Accept(scoped_ptr<StreamSocket>* socket, |
- OldCompletionCallback* callback) OVERRIDE; |
+ const CompletionCallback& callback) OVERRIDE; |
// MessageLoopForIO::Watcher implementation. |
virtual void OnFileCanReadWithoutBlocking(int fd) OVERRIDE; |
@@ -44,7 +44,7 @@ class NET_EXPORT_PRIVATE TCPServerSocketLibevent |
MessageLoopForIO::FileDescriptorWatcher accept_socket_watcher_; |
scoped_ptr<StreamSocket>* accept_socket_; |
- OldCompletionCallback* accept_callback_; |
+ CompletionCallback accept_callback_; |
BoundNetLog net_log_; |
}; |