summaryrefslogtreecommitdiffstats
path: root/net/udp/udp_socket_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/udp/udp_socket_win.h')
-rw-r--r--net/udp/udp_socket_win.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/udp/udp_socket_win.h b/net/udp/udp_socket_win.h
index 2dc818a..a3ed37e 100644
--- a/net/udp/udp_socket_win.h
+++ b/net/udp/udp_socket_win.h
@@ -57,12 +57,12 @@ class UDPSocketWin : public base::NonThreadSafe {
// Read from the socket.
// Only usable from the client-side of a UDP socket, after the socket
// has been connected.
- int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback);
+ int Read(IOBuffer* buf, int buf_len, OldCompletionCallback* callback);
// Write to the socket.
// Only usable from the client-side of a UDP socket, after the socket
// has been connected.
- int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
+ int Write(IOBuffer* buf, int buf_len, OldCompletionCallback* callback);
// Read from a socket and receive sender address information.
// |buf| is the buffer to read data into.
@@ -80,7 +80,7 @@ class UDPSocketWin : public base::NonThreadSafe {
int RecvFrom(IOBuffer* buf,
int buf_len,
IPEndPoint* address,
- CompletionCallback* callback);
+ OldCompletionCallback* callback);
// Send to a socket with a particular destination.
// |buf| is the buffer to send
@@ -94,7 +94,7 @@ class UDPSocketWin : public base::NonThreadSafe {
int SendTo(IOBuffer* buf,
int buf_len,
const IPEndPoint& address,
- CompletionCallback* callback);
+ OldCompletionCallback* callback);
// Returns true if the socket is already connected or bound.
bool is_connected() const { return socket_ != INVALID_SOCKET; }
@@ -142,7 +142,7 @@ class UDPSocketWin : public base::NonThreadSafe {
int SendToOrWrite(IOBuffer* buf,
int buf_len,
const IPEndPoint* address,
- CompletionCallback* callback);
+ OldCompletionCallback* callback);
int InternalRecvFrom(IOBuffer* buf, int buf_len, IPEndPoint* address);
int InternalSendTo(IOBuffer* buf, int buf_len, const IPEndPoint* address);
@@ -186,10 +186,10 @@ class UDPSocketWin : public base::NonThreadSafe {
scoped_refptr<IOBuffer> write_iobuffer_;
// External callback; called when read is complete.
- CompletionCallback* read_callback_;
+ OldCompletionCallback* read_callback_;
// External callback; called when write is complete.
- CompletionCallback* write_callback_;
+ OldCompletionCallback* write_callback_;
BoundNetLog net_log_;