Index: net/http/http_proxy_client_socket.h |
diff --git a/net/http/http_proxy_client_socket.h b/net/http/http_proxy_client_socket.h |
index 325951db599cc850fadfeced7a8f1d51b19c7c08..2cf3c6ae6f5ff13be9f2c9f055043e9c3eb1e905 100644 |
--- a/net/http/http_proxy_client_socket.h |
+++ b/net/http/http_proxy_client_socket.h |
@@ -56,12 +56,6 @@ class HttpProxyClientSocket : public ProxyClientSocket { |
// RestartWithAuth. |
int RestartWithAuth(CompletionCallback* callback); |
- const HttpResponseInfo* GetConnectResponseInfo() const { |
- return response_.headers ? &response_ : NULL; |
- } |
- |
- virtual HttpStream* CreateConnectResponseStream(); |
- |
const scoped_refptr<HttpAuthController>& auth_controller() { |
return auth_; |
} |
@@ -70,9 +64,11 @@ class HttpProxyClientSocket : public ProxyClientSocket { |
return using_spdy_; |
} |
- // ClientSocket methods: |
+ // ProxyClientSocket methods: |
+ virtual const HttpResponseInfo* GetConnectResponseInfo() const; |
+ virtual HttpStream* CreateConnectResponseStream(); |
- // Authenticates to the Http Proxy and then passes data freely. |
+ // ClientSocket methods: |
virtual int Connect(CompletionCallback* callback); |
virtual void Disconnect(); |
virtual bool IsConnected() const; |
@@ -86,10 +82,8 @@ class HttpProxyClientSocket : public ProxyClientSocket { |
// Socket methods: |
virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); |
virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); |
- |
virtual bool SetReceiveBufferSize(int32 size); |
virtual bool SetSendBufferSize(int32 size); |
- |
virtual int GetPeerAddress(AddressList* address) const; |
private: |