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

Unified Diff: trunk/src/remoting/protocol/fake_session.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/remoting/protocol/fake_session.h ('k') | trunk/src/tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/remoting/protocol/fake_session.cc
===================================================================
--- trunk/src/remoting/protocol/fake_session.cc (revision 262001)
+++ trunk/src/remoting/protocol/fake_session.cc (working copy)
@@ -136,14 +136,13 @@
}
}
-int FakeSocket::SetReceiveBufferSize(int32 size) {
+bool FakeSocket::SetReceiveBufferSize(int32 size) {
NOTIMPLEMENTED();
- return net::ERR_NOT_IMPLEMENTED;
+ return false;
}
-
-int FakeSocket::SetSendBufferSize(int32 size) {
+bool FakeSocket::SetSendBufferSize(int32 size) {
NOTIMPLEMENTED();
- return net::ERR_NOT_IMPLEMENTED;
+ return false;
}
int FakeSocket::Connect(const net::CompletionCallback& callback) {
@@ -173,7 +172,7 @@
int FakeSocket::GetLocalAddress(net::IPEndPoint* address) const {
NOTIMPLEMENTED();
- return net::ERR_NOT_IMPLEMENTED;
+ return net::ERR_FAILED;
}
const net::BoundNetLog& FakeSocket::NetLog() const {
@@ -264,14 +263,13 @@
return buf_len;
}
-int FakeUdpSocket::SetReceiveBufferSize(int32 size) {
+bool FakeUdpSocket::SetReceiveBufferSize(int32 size) {
NOTIMPLEMENTED();
- return net::ERR_NOT_IMPLEMENTED;
+ return false;
}
-
-int FakeUdpSocket::SetSendBufferSize(int32 size) {
+bool FakeUdpSocket::SetSendBufferSize(int32 size) {
NOTIMPLEMENTED();
- return net::ERR_NOT_IMPLEMENTED;
+ return false;
}
FakeSession::FakeSession()
« no previous file with comments | « trunk/src/remoting/protocol/fake_session.h ('k') | trunk/src/tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698