| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_WRAPPER_H_ | 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_ |
| 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_ | 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 174 |
| 175 TransportClientSocketPool* const transport_pool_; | 175 TransportClientSocketPool* const transport_pool_; |
| 176 SSLClientSocketPool* const ssl_pool_; | 176 SSLClientSocketPool* const ssl_pool_; |
| 177 const scoped_refptr<TransportSocketParams> transport_params_; | 177 const scoped_refptr<TransportSocketParams> transport_params_; |
| 178 const scoped_refptr<SSLSocketParams> ssl_params_; | 178 const scoped_refptr<SSLSocketParams> ssl_params_; |
| 179 | 179 |
| 180 const std::string user_agent_; | 180 const std::string user_agent_; |
| 181 const HostPortPair endpoint_; | 181 const HostPortPair endpoint_; |
| 182 SpdySessionPool* const spdy_session_pool_; | 182 SpdySessionPool* const spdy_session_pool_; |
| 183 | 183 |
| 184 bool has_restarted_; |
| 184 const bool tunnel_; | 185 const bool tunnel_; |
| 185 ProxyDelegate* const proxy_delegate_; | 186 ProxyDelegate* const proxy_delegate_; |
| 186 | 187 |
| 187 bool using_spdy_; | 188 bool using_spdy_; |
| 188 NextProto negotiated_protocol_; | 189 NextProto negotiated_protocol_; |
| 189 | 190 |
| 190 std::unique_ptr<HttpResponseInfo> error_response_info_; | 191 std::unique_ptr<HttpResponseInfo> error_response_info_; |
| 191 | 192 |
| 192 std::unique_ptr<ClientSocketHandle> transport_socket_handle_; | 193 std::unique_ptr<ClientSocketHandle> transport_socket_handle_; |
| 193 std::unique_ptr<ProxyClientSocket> transport_socket_; | 194 std::unique_ptr<ProxyClientSocket> transport_socket_; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 207 | 208 |
| 208 // Time when the connection to the proxy was started. | 209 // Time when the connection to the proxy was started. |
| 209 base::TimeTicks connect_start_time_; | 210 base::TimeTicks connect_start_time_; |
| 210 | 211 |
| 211 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketWrapper); | 212 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketWrapper); |
| 212 }; | 213 }; |
| 213 | 214 |
| 214 } // namespace net | 215 } // namespace net |
| 215 | 216 |
| 216 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_ | 217 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_ |
| OLD | NEW |