Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: trunk/src/net/spdy/spdy_proxy_client_socket.cc

Issue 227083002: Revert 261966 "make SetReceiveBufferSize and SetSendBufferSize r..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/net/spdy/spdy_proxy_client_socket.h ('k') | trunk/src/net/udp/datagram_server_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/spdy/spdy_proxy_client_socket.cc
===================================================================
--- trunk/src/net/spdy/spdy_proxy_client_socket.cc (revision 262001)
+++ trunk/src/net/spdy/spdy_proxy_client_socket.cc (working copy)
@@ -237,16 +237,16 @@
return ERR_IO_PENDING;
}
-int SpdyProxyClientSocket::SetReceiveBufferSize(int32 size) {
+bool SpdyProxyClientSocket::SetReceiveBufferSize(int32 size) {
// Since this StreamSocket sits on top of a shared SpdySession, it
- // is not safe for callers to change this underlying socket.
- return ERR_NOT_IMPLEMENTED;
+ // is not safe for callers to set change this underlying socket.
+ return false;
}
-int SpdyProxyClientSocket::SetSendBufferSize(int32 size) {
+bool SpdyProxyClientSocket::SetSendBufferSize(int32 size) {
// Since this StreamSocket sits on top of a shared SpdySession, it
- // is not safe for callers to change this underlying socket.
- return ERR_NOT_IMPLEMENTED;
+ // is not safe for callers to set change this underlying socket.
+ return false;
}
int SpdyProxyClientSocket::GetPeerAddress(IPEndPoint* address) const {
« no previous file with comments | « trunk/src/net/spdy/spdy_proxy_client_socket.h ('k') | trunk/src/net/udp/datagram_server_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698