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

Unified Diff: net/socket/buffered_write_stream_socket.cc

Issue 227473008: make SetReceiveBufferSize and SetSendBufferSize return net error codes (instead of bools) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux typo 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
Index: net/socket/buffered_write_stream_socket.cc
diff --git a/net/socket/buffered_write_stream_socket.cc b/net/socket/buffered_write_stream_socket.cc
index 87d3c337e24ac88deb19e34bb4b19c9ae835380f..232cfe71defb2f0da6720355fd51b24e12ad2d49 100644
--- a/net/socket/buffered_write_stream_socket.cc
+++ b/net/socket/buffered_write_stream_socket.cc
@@ -59,11 +59,11 @@ int BufferedWriteStreamSocket::Write(IOBuffer* buf, int buf_len,
return buf_len;
}
-bool BufferedWriteStreamSocket::SetReceiveBufferSize(int32 size) {
+int BufferedWriteStreamSocket::SetReceiveBufferSize(int32 size) {
return wrapped_socket_->SetReceiveBufferSize(size);
}
-bool BufferedWriteStreamSocket::SetSendBufferSize(int32 size) {
+int BufferedWriteStreamSocket::SetSendBufferSize(int32 size) {
return wrapped_socket_->SetSendBufferSize(size);
}

Powered by Google App Engine
This is Rietveld 408576698