| Index: net/udp/udp_socket_win.h
|
| diff --git a/net/udp/udp_socket_win.h b/net/udp/udp_socket_win.h
|
| index 28b7d4ae6699e172df6adc0a486cc98f4ba8d230..7ccb73f64f91fd0c6d751a926b481138f49ba043 100644
|
| --- a/net/udp/udp_socket_win.h
|
| +++ b/net/udp/udp_socket_win.h
|
| @@ -95,10 +95,12 @@ class NET_EXPORT UDPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe) {
|
| const CompletionCallback& callback);
|
|
|
| // Set the receive buffer size (in bytes) for the socket.
|
| - bool SetReceiveBufferSize(int32 size);
|
| + // Returns a net error code.
|
| + int SetReceiveBufferSize(int32 size);
|
|
|
| // Set the send buffer size (in bytes) for the socket.
|
| - bool SetSendBufferSize(int32 size);
|
| + // Returns a net error code.
|
| + int SetSendBufferSize(int32 size);
|
|
|
| // Returns true if the socket is already connected or bound.
|
| bool is_connected() const { return socket_ != INVALID_SOCKET; }
|
|
|