| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ | 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ |
| 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ | 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 NextProto protocol_negotiated, | 49 NextProto protocol_negotiated, |
| 50 bool is_https_proxy); | 50 bool is_https_proxy); |
| 51 | 51 |
| 52 // On destruction Disconnect() is called. | 52 // On destruction Disconnect() is called. |
| 53 virtual ~HttpProxyClientSocket(); | 53 virtual ~HttpProxyClientSocket(); |
| 54 | 54 |
| 55 // ProxyClientSocket implementation. | 55 // ProxyClientSocket implementation. |
| 56 virtual const HttpResponseInfo* GetConnectResponseInfo() const OVERRIDE; | 56 virtual const HttpResponseInfo* GetConnectResponseInfo() const OVERRIDE; |
| 57 virtual HttpStream* CreateConnectResponseStream() OVERRIDE; | 57 virtual HttpStream* CreateConnectResponseStream() OVERRIDE; |
| 58 virtual int RestartWithAuth(const CompletionCallback& callback) OVERRIDE; | 58 virtual int RestartWithAuth(const CompletionCallback& callback) OVERRIDE; |
| 59 virtual const scoped_refptr<HttpAuthController>& GetAuthController() const | 59 virtual const scoped_refptr<HttpAuthController>& GetAuthController() |
| 60 OVERRIDE; | 60 const OVERRIDE; |
| 61 virtual bool IsUsingSpdy() const OVERRIDE; | 61 virtual bool IsUsingSpdy() const OVERRIDE; |
| 62 virtual NextProto GetProtocolNegotiated() const OVERRIDE; | 62 virtual NextProto GetProtocolNegotiated() const OVERRIDE; |
| 63 | 63 |
| 64 // StreamSocket implementation. | 64 // StreamSocket implementation. |
| 65 virtual int Connect(const CompletionCallback& callback) OVERRIDE; | 65 virtual int Connect(const CompletionCallback& callback) OVERRIDE; |
| 66 virtual void Disconnect() OVERRIDE; | 66 virtual void Disconnect() OVERRIDE; |
| 67 virtual bool IsConnected() const OVERRIDE; | 67 virtual bool IsConnected() const OVERRIDE; |
| 68 virtual bool IsConnectedAndIdle() const OVERRIDE; | 68 virtual bool IsConnectedAndIdle() const OVERRIDE; |
| 69 virtual const BoundNetLog& NetLog() const OVERRIDE; | 69 virtual const BoundNetLog& NetLog() const OVERRIDE; |
| 70 virtual void SetSubresourceSpeculation() OVERRIDE; | 70 virtual void SetSubresourceSpeculation() OVERRIDE; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 LoadTimingInfo redirect_load_timing_info_; | 164 LoadTimingInfo redirect_load_timing_info_; |
| 165 | 165 |
| 166 const BoundNetLog net_log_; | 166 const BoundNetLog net_log_; |
| 167 | 167 |
| 168 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); | 168 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 } // namespace net | 171 } // namespace net |
| 172 | 172 |
| 173 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ | 173 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ |
| OLD | NEW |