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

Unified Diff: trunk/src/remoting/protocol/channel_multiplexer.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
Index: trunk/src/remoting/protocol/channel_multiplexer.cc
===================================================================
--- trunk/src/remoting/protocol/channel_multiplexer.cc (revision 262001)
+++ trunk/src/remoting/protocol/channel_multiplexer.cc (working copy)
@@ -116,25 +116,25 @@
virtual int Write(net::IOBuffer* buffer, int buffer_len,
const net::CompletionCallback& callback) OVERRIDE;
- virtual int SetReceiveBufferSize(int32 size) OVERRIDE {
+ virtual bool SetReceiveBufferSize(int32 size) OVERRIDE {
NOTIMPLEMENTED();
- return net::ERR_NOT_IMPLEMENTED;
+ return false;
}
- virtual int SetSendBufferSize(int32 size) OVERRIDE {
+ virtual bool SetSendBufferSize(int32 size) OVERRIDE {
NOTIMPLEMENTED();
- return net::ERR_NOT_IMPLEMENTED;
+ return false;
}
virtual int Connect(const net::CompletionCallback& callback) OVERRIDE {
NOTIMPLEMENTED();
- return net::ERR_NOT_IMPLEMENTED;
+ return net::ERR_FAILED;
}
virtual void Disconnect() OVERRIDE {
NOTIMPLEMENTED();
}
virtual bool IsConnected() const OVERRIDE {
NOTIMPLEMENTED();
- return false;
+ return true;
}
virtual bool IsConnectedAndIdle() const OVERRIDE {
NOTIMPLEMENTED();
@@ -142,11 +142,11 @@
}
virtual int GetPeerAddress(net::IPEndPoint* address) const OVERRIDE {
NOTIMPLEMENTED();
- return net::ERR_NOT_IMPLEMENTED;
+ return net::ERR_FAILED;
}
virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE {
NOTIMPLEMENTED();
- return net::ERR_NOT_IMPLEMENTED;
+ return net::ERR_FAILED;
}
virtual const net::BoundNetLog& NetLog() const OVERRIDE {
NOTIMPLEMENTED();
« no previous file with comments | « trunk/src/remoting/jingle_glue/chromium_socket_factory.cc ('k') | trunk/src/remoting/protocol/fake_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698