Chromium Code Reviews| 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_SOCKET_CLIENT_SOCKET_POOL_MANAGER_IMPL_H_ | 5 #ifndef NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_IMPL_H_ |
| 6 #define NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_IMPL_H_ | 6 #define NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 21 namespace net { | 21 namespace net { |
| 22 | 22 |
| 23 class CertVerifier; | 23 class CertVerifier; |
| 24 class ChannelIDService; | 24 class ChannelIDService; |
| 25 class ClientSocketFactory; | 25 class ClientSocketFactory; |
| 26 class ClientSocketPoolHistograms; | 26 class ClientSocketPoolHistograms; |
| 27 class CTVerifier; | 27 class CTVerifier; |
| 28 class HttpProxyClientSocketPool; | 28 class HttpProxyClientSocketPool; |
| 29 class HostResolver; | 29 class HostResolver; |
| 30 class NetLog; | 30 class NetLog; |
| 31 class ProxyDelegate; | |
| 31 class ProxyService; | 32 class ProxyService; |
| 32 class SOCKSClientSocketPool; | 33 class SOCKSClientSocketPool; |
| 33 class SSLClientSocketPool; | 34 class SSLClientSocketPool; |
| 34 class SSLConfigService; | 35 class SSLConfigService; |
| 35 class TransportClientSocketPool; | 36 class TransportClientSocketPool; |
| 36 class TransportSecurityState; | 37 class TransportSecurityState; |
| 37 | 38 |
| 38 namespace internal { | 39 namespace internal { |
| 39 | 40 |
| 40 // A helper class for auto-deleting Values in the destructor. | 41 // A helper class for auto-deleting Values in the destructor. |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 61 ClientSocketFactory* socket_factory, | 62 ClientSocketFactory* socket_factory, |
| 62 HostResolver* host_resolver, | 63 HostResolver* host_resolver, |
| 63 CertVerifier* cert_verifier, | 64 CertVerifier* cert_verifier, |
| 64 ChannelIDService* channel_id_service, | 65 ChannelIDService* channel_id_service, |
| 65 TransportSecurityState* transport_security_state, | 66 TransportSecurityState* transport_security_state, |
| 66 CTVerifier* cert_transparency_verifier, | 67 CTVerifier* cert_transparency_verifier, |
| 67 const std::string& ssl_session_cache_shard, | 68 const std::string& ssl_session_cache_shard, |
| 68 ProxyService* proxy_service, | 69 ProxyService* proxy_service, |
| 69 SSLConfigService* ssl_config_service, | 70 SSLConfigService* ssl_config_service, |
| 70 bool enable_ssl_connect_job_waiting, | 71 bool enable_ssl_connect_job_waiting, |
| 72 ProxyDelegate* proxy_delegate, | |
| 71 HttpNetworkSession::SocketPoolType pool_type); | 73 HttpNetworkSession::SocketPoolType pool_type); |
| 72 virtual ~ClientSocketPoolManagerImpl(); | 74 virtual ~ClientSocketPoolManagerImpl(); |
| 73 | 75 |
| 74 virtual void FlushSocketPoolsWithError(int error) OVERRIDE; | 76 virtual void FlushSocketPoolsWithError(int error) OVERRIDE; |
| 75 virtual void CloseIdleSockets() OVERRIDE; | 77 virtual void CloseIdleSockets() OVERRIDE; |
| 76 | 78 |
| 77 virtual TransportClientSocketPool* GetTransportSocketPool() OVERRIDE; | 79 virtual TransportClientSocketPool* GetTransportSocketPool() OVERRIDE; |
| 78 | 80 |
| 79 virtual SSLClientSocketPool* GetSSLSocketPool() OVERRIDE; | 81 virtual SSLClientSocketPool* GetSSLSocketPool() OVERRIDE; |
| 80 | 82 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 140 | 142 |
| 141 ClientSocketPoolHistograms ssl_for_https_proxy_pool_histograms_; | 143 ClientSocketPoolHistograms ssl_for_https_proxy_pool_histograms_; |
| 142 SSLSocketPoolMap ssl_socket_pools_for_https_proxies_; | 144 SSLSocketPoolMap ssl_socket_pools_for_https_proxies_; |
| 143 | 145 |
| 144 ClientSocketPoolHistograms http_proxy_pool_histograms_; | 146 ClientSocketPoolHistograms http_proxy_pool_histograms_; |
| 145 HTTPProxySocketPoolMap http_proxy_socket_pools_; | 147 HTTPProxySocketPoolMap http_proxy_socket_pools_; |
| 146 | 148 |
| 147 ClientSocketPoolHistograms ssl_socket_pool_for_proxies_histograms_; | 149 ClientSocketPoolHistograms ssl_socket_pool_for_proxies_histograms_; |
| 148 SSLSocketPoolMap ssl_socket_pools_for_proxies_; | 150 SSLSocketPoolMap ssl_socket_pools_for_proxies_; |
| 149 | 151 |
| 152 ProxyDelegate* proxy_delegate_; | |
|
mef
2014/09/08 15:06:48
const?
bengr
2014/09/09 01:28:49
Done.
| |
| 153 | |
| 150 DISALLOW_COPY_AND_ASSIGN(ClientSocketPoolManagerImpl); | 154 DISALLOW_COPY_AND_ASSIGN(ClientSocketPoolManagerImpl); |
| 151 }; | 155 }; |
| 152 | 156 |
| 153 } // namespace net | 157 } // namespace net |
| 154 | 158 |
| 155 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_IMPL_H_ | 159 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_IMPL_H_ |
| OLD | NEW |