diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-09 12:21:15 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-09 12:21:15 +0000 |
commit | 28b96d1cb6f5c1f89abc91dd6b1542265ac9fa6a (patch) | |
tree | 69ccf3ef4b62050babbd07771701d8f75234beaf /net/socket/socks5_client_socket.h | |
parent | 2fcff173a0a0331d80bb4468726e90c4190c9786 (diff) | |
download | chromium_src-28b96d1cb6f5c1f89abc91dd6b1542265ac9fa6a.zip chromium_src-28b96d1cb6f5c1f89abc91dd6b1542265ac9fa6a.tar.gz chromium_src-28b96d1cb6f5c1f89abc91dd6b1542265ac9fa6a.tar.bz2 |
make SetReceiveBufferSize and SetSendBufferSize return net error codes (instead of bools)
Previously committed as https://src.chromium.org/viewvc/chrome?view=rev&revision=261966 but then reverted when it broke the Mac 10.6 build.
TBR=sergeyu,yzshen,yurys,zea
R=wtc
BUG=355222
Review URL: https://codereview.chromium.org/227473008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262652 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/socks5_client_socket.h')
-rw-r--r-- | net/socket/socks5_client_socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket/socks5_client_socket.h b/net/socket/socks5_client_socket.h index 75f75310..8da0b4d 100644 --- a/net/socket/socks5_client_socket.h +++ b/net/socket/socks5_client_socket.h @@ -64,8 +64,8 @@ class NET_EXPORT_PRIVATE SOCKS5ClientSocket : public StreamSocket { int buf_len, const CompletionCallback& callback) OVERRIDE; - virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; - virtual bool SetSendBufferSize(int32 size) OVERRIDE; + virtual int SetReceiveBufferSize(int32 size) OVERRIDE; + virtual int SetSendBufferSize(int32 size) OVERRIDE; virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE; virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; |