| 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_NETWORK_SESSION_H_ | 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ | 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 class HttpServerProperties; | 38 class HttpServerProperties; |
| 39 class NetLog; | 39 class NetLog; |
| 40 class NetworkDelegate; | 40 class NetworkDelegate; |
| 41 class ServerBoundCertService; | 41 class ServerBoundCertService; |
| 42 class ProxyService; | 42 class ProxyService; |
| 43 class QuicClock; | 43 class QuicClock; |
| 44 class QuicCryptoClientStreamFactory; | 44 class QuicCryptoClientStreamFactory; |
| 45 class SOCKSClientSocketPool; | 45 class SOCKSClientSocketPool; |
| 46 class SSLClientSocketPool; | 46 class SSLClientSocketPool; |
| 47 class SSLConfigService; | 47 class SSLConfigService; |
| 48 class SSLHostInfoFactory; |
| 48 class TransportClientSocketPool; | 49 class TransportClientSocketPool; |
| 49 class TransportSecurityState; | 50 class TransportSecurityState; |
| 50 | 51 |
| 51 // This class holds session objects used by HttpNetworkTransaction objects. | 52 // This class holds session objects used by HttpNetworkTransaction objects. |
| 52 class NET_EXPORT HttpNetworkSession | 53 class NET_EXPORT HttpNetworkSession |
| 53 : public base::RefCounted<HttpNetworkSession>, | 54 : public base::RefCounted<HttpNetworkSession>, |
| 54 NON_EXPORTED_BASE(public base::NonThreadSafe) { | 55 NON_EXPORTED_BASE(public base::NonThreadSafe) { |
| 55 public: | 56 public: |
| 56 struct NET_EXPORT Params { | 57 struct NET_EXPORT Params { |
| 57 Params(); | 58 Params(); |
| 58 ~Params(); | 59 ~Params(); |
| 59 | 60 |
| 60 ClientSocketFactory* client_socket_factory; | 61 ClientSocketFactory* client_socket_factory; |
| 61 HostResolver* host_resolver; | 62 HostResolver* host_resolver; |
| 62 CertVerifier* cert_verifier; | 63 CertVerifier* cert_verifier; |
| 63 ServerBoundCertService* server_bound_cert_service; | 64 ServerBoundCertService* server_bound_cert_service; |
| 64 TransportSecurityState* transport_security_state; | 65 TransportSecurityState* transport_security_state; |
| 65 CTVerifier* cert_transparency_verifier; | 66 CTVerifier* cert_transparency_verifier; |
| 66 ProxyService* proxy_service; | 67 ProxyService* proxy_service; |
| 68 SSLHostInfoFactory* ssl_host_info_factory; |
| 67 std::string ssl_session_cache_shard; | 69 std::string ssl_session_cache_shard; |
| 68 SSLConfigService* ssl_config_service; | 70 SSLConfigService* ssl_config_service; |
| 69 HttpAuthHandlerFactory* http_auth_handler_factory; | 71 HttpAuthHandlerFactory* http_auth_handler_factory; |
| 70 NetworkDelegate* network_delegate; | 72 NetworkDelegate* network_delegate; |
| 71 base::WeakPtr<HttpServerProperties> http_server_properties; | 73 base::WeakPtr<HttpServerProperties> http_server_properties; |
| 72 NetLog* net_log; | 74 NetLog* net_log; |
| 73 HostMappingRules* host_mapping_rules; | 75 HostMappingRules* host_mapping_rules; |
| 74 bool force_http_pipelining; | 76 bool force_http_pipelining; |
| 75 bool ignore_certificate_errors; | 77 bool ignore_certificate_errors; |
| 76 bool http_pipelining_enabled; | 78 bool http_pipelining_enabled; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 scoped_ptr<HttpStreamFactory> http_stream_factory_; | 204 scoped_ptr<HttpStreamFactory> http_stream_factory_; |
| 203 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_; | 205 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_; |
| 204 std::set<HttpResponseBodyDrainer*> response_drainers_; | 206 std::set<HttpResponseBodyDrainer*> response_drainers_; |
| 205 | 207 |
| 206 Params params_; | 208 Params params_; |
| 207 }; | 209 }; |
| 208 | 210 |
| 209 } // namespace net | 211 } // namespace net |
| 210 | 212 |
| 211 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 213 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |