| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ | 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ |
| 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ | 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 TransportClientSocketPool* const transport_pool_; | 146 TransportClientSocketPool* const transport_pool_; |
| 147 SOCKSClientSocketPool* const socks_pool_; | 147 SOCKSClientSocketPool* const socks_pool_; |
| 148 HttpProxyClientSocketPool* const http_proxy_pool_; | 148 HttpProxyClientSocketPool* const http_proxy_pool_; |
| 149 ClientSocketFactory* const client_socket_factory_; | 149 ClientSocketFactory* const client_socket_factory_; |
| 150 HostResolver* const host_resolver_; | 150 HostResolver* const host_resolver_; |
| 151 | 151 |
| 152 const SSLClientSocketContext context_; | 152 const SSLClientSocketContext context_; |
| 153 | 153 |
| 154 State next_state_; | 154 State next_state_; |
| 155 CompletionCallback callback_; | 155 CompletionCallback callback_; |
| 156 OldCompletionCallbackImpl<SSLConnectJob> callback_old_; | |
| 157 scoped_ptr<ClientSocketHandle> transport_socket_handle_; | 156 scoped_ptr<ClientSocketHandle> transport_socket_handle_; |
| 158 scoped_ptr<SSLClientSocket> ssl_socket_; | 157 scoped_ptr<SSLClientSocket> ssl_socket_; |
| 159 scoped_ptr<SSLHostInfo> ssl_host_info_; | 158 scoped_ptr<SSLHostInfo> ssl_host_info_; |
| 160 | 159 |
| 161 // The time the DoSSLConnect() method was called. | 160 // The time the DoSSLConnect() method was called. |
| 162 base::TimeTicks ssl_connect_start_time_; | 161 base::TimeTicks ssl_connect_start_time_; |
| 163 | 162 |
| 164 HttpResponseInfo error_response_info_; | 163 HttpResponseInfo error_response_info_; |
| 165 | 164 |
| 166 DISALLOW_COPY_AND_ASSIGN(SSLConnectJob); | 165 DISALLOW_COPY_AND_ASSIGN(SSLConnectJob); |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 const scoped_refptr<SSLConfigService> ssl_config_service_; | 295 const scoped_refptr<SSLConfigService> ssl_config_service_; |
| 297 | 296 |
| 298 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); | 297 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); |
| 299 }; | 298 }; |
| 300 | 299 |
| 301 REGISTER_SOCKET_PARAMS_FOR_POOL(SSLClientSocketPool, SSLSocketParams); | 300 REGISTER_SOCKET_PARAMS_FOR_POOL(SSLClientSocketPool, SSLSocketParams); |
| 302 | 301 |
| 303 } // namespace net | 302 } // namespace net |
| 304 | 303 |
| 305 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ | 304 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ |
| OLD | NEW |