summaryrefslogtreecommitdiffstats
path: root/jingle/glue/fake_ssl_client_socket.h
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-09 12:21:15 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-09 12:21:15 +0000
commit28b96d1cb6f5c1f89abc91dd6b1542265ac9fa6a (patch)
tree69ccf3ef4b62050babbd07771701d8f75234beaf /jingle/glue/fake_ssl_client_socket.h
parent2fcff173a0a0331d80bb4468726e90c4190c9786 (diff)
downloadchromium_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 'jingle/glue/fake_ssl_client_socket.h')
-rw-r--r--jingle/glue/fake_ssl_client_socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/jingle/glue/fake_ssl_client_socket.h b/jingle/glue/fake_ssl_client_socket.h
index 54a9e2f..41000f7 100644
--- a/jingle/glue/fake_ssl_client_socket.h
+++ b/jingle/glue/fake_ssl_client_socket.h
@@ -49,8 +49,8 @@ class FakeSSLClientSocket : public net::StreamSocket {
const net::CompletionCallback& callback) OVERRIDE;
virtual int Write(net::IOBuffer* buf, int buf_len,
const net::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 Connect(const net::CompletionCallback& callback) OVERRIDE;
virtual void Disconnect() OVERRIDE;
virtual bool IsConnected() const OVERRIDE;