diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-05 03:52:22 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-05 03:52:22 +0000 |
commit | 27f82f41d1f44a33a87e50622c7012a81a343b40 (patch) | |
tree | bef9d33568018f9679482488628b88ad3ea523cc /net/socket/socks5_client_socket.h | |
parent | 41b64e8a42afd40536aa9c06be8dff1196079c48 (diff) | |
download | chromium_src-27f82f41d1f44a33a87e50622c7012a81a343b40.zip chromium_src-27f82f41d1f44a33a87e50622c7012a81a343b40.tar.gz chromium_src-27f82f41d1f44a33a87e50622c7012a81a343b40.tar.bz2 |
make SetReceiveBufferSize and SetSendBufferSize return net error codes (instead of bools)
TBR=sergeyu,yzshen
R=wtc
BUG=355222
Review URL: https://codereview.chromium.org/217573002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261966 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; |