| Index: net/udp/datagram_server_socket.h
|
| diff --git a/net/udp/datagram_server_socket.h b/net/udp/datagram_server_socket.h
|
| index cd20191a0c04885d58b310d388bc224ff9d3511e..c83481c911308632b117f2d95f21f26a0c3e162c 100644
|
| --- a/net/udp/datagram_server_socket.h
|
| +++ b/net/udp/datagram_server_socket.h
|
| @@ -39,7 +39,7 @@ class NET_EXPORT DatagramServerSocket : public DatagramSocket {
|
| virtual int RecvFrom(IOBuffer* buf,
|
| int buf_len,
|
| IPEndPoint* address,
|
| - OldCompletionCallback* callback) = 0;
|
| + const CompletionCallback& callback) = 0;
|
|
|
| // Send to a socket with a particular destination.
|
| // |buf| is the buffer to send
|
| @@ -53,7 +53,7 @@ class NET_EXPORT DatagramServerSocket : public DatagramSocket {
|
| virtual int SendTo(IOBuffer* buf,
|
| int buf_len,
|
| const IPEndPoint& address,
|
| - OldCompletionCallback* callback) = 0;
|
| + const CompletionCallback& callback) = 0;
|
|
|
| // Set the receive buffer size (in bytes) for the socket.
|
| virtual bool SetReceiveBufferSize(int32 size) = 0;
|
|
|