summaryrefslogtreecommitdiffstats
path: root/net/socket/socks_client_socket.h
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-05 03:52:22 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-05 03:52:22 +0000
commit27f82f41d1f44a33a87e50622c7012a81a343b40 (patch)
treebef9d33568018f9679482488628b88ad3ea523cc /net/socket/socks_client_socket.h
parent41b64e8a42afd40536aa9c06be8dff1196079c48 (diff)
downloadchromium_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/socks_client_socket.h')
-rw-r--r--net/socket/socks_client_socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket/socks_client_socket.h b/net/socket/socks_client_socket.h
index be05ce0..26da332 100644
--- a/net/socket/socks_client_socket.h
+++ b/net/socket/socks_client_socket.h
@@ -61,8 +61,8 @@ class NET_EXPORT_PRIVATE SOCKSClientSocket : 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;