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

Unified Diff: trunk/src/jingle/glue/proxy_resolving_client_socket.cc

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/jingle/glue/proxy_resolving_client_socket.h ('k') | trunk/src/jingle/glue/pseudotcp_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/jingle/glue/proxy_resolving_client_socket.cc
===================================================================
--- trunk/src/jingle/glue/proxy_resolving_client_socket.cc (revision 262001)
+++ trunk/src/jingle/glue/proxy_resolving_client_socket.cc (working copy)
@@ -107,18 +107,18 @@
return net::ERR_SOCKET_NOT_CONNECTED;
}
-int ProxyResolvingClientSocket::SetReceiveBufferSize(int32 size) {
+bool ProxyResolvingClientSocket::SetReceiveBufferSize(int32 size) {
if (transport_.get() && transport_->socket())
return transport_->socket()->SetReceiveBufferSize(size);
NOTREACHED();
- return net::ERR_SOCKET_NOT_CONNECTED;
+ return false;
}
-int ProxyResolvingClientSocket::SetSendBufferSize(int32 size) {
+bool ProxyResolvingClientSocket::SetSendBufferSize(int32 size) {
if (transport_.get() && transport_->socket())
return transport_->socket()->SetSendBufferSize(size);
NOTREACHED();
- return net::ERR_SOCKET_NOT_CONNECTED;
+ return false;
}
int ProxyResolvingClientSocket::Connect(
« no previous file with comments | « trunk/src/jingle/glue/proxy_resolving_client_socket.h ('k') | trunk/src/jingle/glue/pseudotcp_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698