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

Unified Diff: net/socket/ssl_server_socket_unittest.cc

Issue 217573002: make SetReceiveBufferSize and SetSendBufferSize return net error codes (instead of bools) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo on Linux Created 6 years, 9 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/ssl_server_socket_unittest.cc
diff --git a/net/socket/ssl_server_socket_unittest.cc b/net/socket/ssl_server_socket_unittest.cc
index 79af3c0a9c42d11f2291402d603d70d5972723a2..92d2efcb01244ba4c677bcc2d99d3a6790d50d20 100644
--- a/net/socket/ssl_server_socket_unittest.cc
+++ b/net/socket/ssl_server_socket_unittest.cc
@@ -178,12 +178,12 @@ class FakeSocket : public StreamSocket {
return outgoing_->Write(buf, buf_len, callback);
}
- virtual bool SetReceiveBufferSize(int32 size) OVERRIDE {
- return true;
+ virtual int SetReceiveBufferSize(int32 size) OVERRIDE {
+ return net::OK;
}
- virtual bool SetSendBufferSize(int32 size) OVERRIDE {
- return true;
+ virtual int SetSendBufferSize(int32 size) OVERRIDE {
+ return net::OK;
}
virtual int Connect(const CompletionCallback& callback) OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698