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

Unified Diff: trunk/src/jingle/glue/pseudotcp_adapter.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/pseudotcp_adapter.h ('k') | trunk/src/jingle/glue/pseudotcp_adapter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/jingle/glue/pseudotcp_adapter.cc
===================================================================
--- trunk/src/jingle/glue/pseudotcp_adapter.cc (revision 262001)
+++ trunk/src/jingle/glue/pseudotcp_adapter.cc (working copy)
@@ -484,18 +484,18 @@
return core_->Write(buffer, buffer_size, callback);
}
-int PseudoTcpAdapter::SetReceiveBufferSize(int32 size) {
+bool PseudoTcpAdapter::SetReceiveBufferSize(int32 size) {
DCHECK(CalledOnValidThread());
core_->SetReceiveBufferSize(size);
- return net::OK;
+ return false;
}
-int PseudoTcpAdapter::SetSendBufferSize(int32 size) {
+bool PseudoTcpAdapter::SetSendBufferSize(int32 size) {
DCHECK(CalledOnValidThread());
core_->SetSendBufferSize(size);
- return net::OK;
+ return false;
}
int PseudoTcpAdapter::Connect(const net::CompletionCallback& callback) {
« no previous file with comments | « trunk/src/jingle/glue/pseudotcp_adapter.h ('k') | trunk/src/jingle/glue/pseudotcp_adapter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698