Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Unified Diff: trunk/src/net/udp/udp_socket_libevent.h

Issue 227083002: Revert 261966 "make SetReceiveBufferSize and SetSendBufferSize r..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/net/udp/udp_server_socket.cc ('k') | trunk/src/net/udp/udp_socket_libevent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/udp/udp_socket_libevent.h
===================================================================
--- trunk/src/net/udp/udp_socket_libevent.h (revision 262001)
+++ trunk/src/net/udp/udp_socket_libevent.h (working copy)
@@ -94,10 +94,10 @@
const CompletionCallback& callback);
// Set the receive buffer size (in bytes) for the socket.
- int SetReceiveBufferSize(int32 size);
+ bool SetReceiveBufferSize(int32 size);
// Set the send buffer size (in bytes) for the socket.
- int SetSendBufferSize(int32 size);
+ bool SetSendBufferSize(int32 size);
// Returns true if the socket is already connected or bound.
bool is_connected() const { return socket_ != kInvalidSocket; }
« no previous file with comments | « trunk/src/net/udp/udp_server_socket.cc ('k') | trunk/src/net/udp/udp_socket_libevent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698