Chromium Code Reviews| Index: net/spdy/spdy_proxy_client_socket.cc |
| diff --git a/net/spdy/spdy_proxy_client_socket.cc b/net/spdy/spdy_proxy_client_socket.cc |
| index ab5387a9e32f46cac06038f7068775799cc6c8a1..dcbdaea811056c113d31c8002c7727125900c47f 100644 |
| --- a/net/spdy/spdy_proxy_client_socket.cc |
| +++ b/net/spdy/spdy_proxy_client_socket.cc |
| @@ -237,16 +237,16 @@ int SpdyProxyClientSocket::Write(IOBuffer* buf, int buf_len, |
| return ERR_IO_PENDING; |
| } |
| -bool SpdyProxyClientSocket::SetReceiveBufferSize(int32 size) { |
| +int SpdyProxyClientSocket::SetReceiveBufferSize(int32 size) { |
| // Since this StreamSocket sits on top of a shared SpdySession, it |
| - // is not safe for callers to set change this underlying socket. |
| - return false; |
| + // is not safe for callers to change this underlying socket. |
| + return ERR_METHOD_NOT_SUPPORTED; |
| } |
| -bool SpdyProxyClientSocket::SetSendBufferSize(int32 size) { |
| +int SpdyProxyClientSocket::SetSendBufferSize(int32 size) { |
| // Since this StreamSocket sits on top of a shared SpdySession, it |
| - // is not safe for callers to set change this underlying socket. |
| - return false; |
| + // is not safe for callers to change this underlying socket. |
| + return ERR_METHOD_NOT_SUPPORTED; |
|
wtc
2014/03/29 13:30:12
IMPORTANT: Use ERR_NOT_IMPLEMENTED or some other e
jar (doing other things)
2014/04/01 23:50:39
Done.
|
| } |
| int SpdyProxyClientSocket::GetPeerAddress(IPEndPoint* address) const { |