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

Unified Diff: trunk/src/net/socket/transport_client_socket_pool_unittest.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/net/socket/tcp_socket_win.cc ('k') | trunk/src/net/spdy/spdy_proxy_client_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/socket/transport_client_socket_pool_unittest.cc
===================================================================
--- trunk/src/net/socket/transport_client_socket_pool_unittest.cc (revision 262001)
+++ trunk/src/net/socket/transport_client_socket_pool_unittest.cc (working copy)
@@ -145,8 +145,8 @@
const CompletionCallback& callback) OVERRIDE {
return ERR_FAILED;
}
- virtual int SetReceiveBufferSize(int32 size) OVERRIDE { return OK; }
- virtual int SetSendBufferSize(int32 size) OVERRIDE { return OK; }
+ virtual bool SetReceiveBufferSize(int32 size) OVERRIDE { return true; }
+ virtual bool SetSendBufferSize(int32 size) OVERRIDE { return true; }
private:
bool connected_;
@@ -210,8 +210,8 @@
const CompletionCallback& callback) OVERRIDE {
return ERR_FAILED;
}
- virtual int SetReceiveBufferSize(int32 size) OVERRIDE { return OK; }
- virtual int SetSendBufferSize(int32 size) OVERRIDE { return OK; }
+ virtual bool SetReceiveBufferSize(int32 size) OVERRIDE { return true; }
+ virtual bool SetSendBufferSize(int32 size) OVERRIDE { return true; }
private:
const AddressList addrlist_;
@@ -299,8 +299,8 @@
const CompletionCallback& callback) OVERRIDE {
return ERR_FAILED;
}
- virtual int SetReceiveBufferSize(int32 size) OVERRIDE { return OK; }
- virtual int SetSendBufferSize(int32 size) OVERRIDE { return OK; }
+ virtual bool SetReceiveBufferSize(int32 size) OVERRIDE { return true; }
+ virtual bool SetSendBufferSize(int32 size) OVERRIDE { return true; }
private:
void DoCallback(const CompletionCallback& callback) {
« no previous file with comments | « trunk/src/net/socket/tcp_socket_win.cc ('k') | trunk/src/net/spdy/spdy_proxy_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698