summaryrefslogtreecommitdiffstats
path: root/net/socket/web_socket_server_socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/web_socket_server_socket.h')
-rw-r--r--net/socket/web_socket_server_socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/web_socket_server_socket.h b/net/socket/web_socket_server_socket.h
index 2415575..036e516 100644
--- a/net/socket/web_socket_server_socket.h
+++ b/net/socket/web_socket_server_socket.h
@@ -50,7 +50,7 @@ class WebSocketServerSocket : public Socket {
// Returns either ERR_IO_PENDING, in which case the given callback will be
// called in the future with the real result, or it completes synchronously,
// returning the result immediately.
- virtual int Accept(OldCompletionCallback* callback) = 0;
+ virtual int Accept(const CompletionCallback& callback) = 0;
};
// Creates websocket server socket atop of already connected socket. This