| 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 #include <vector> | 10 #include <vector> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "net/socket/next_proto.h" | 22 #include "net/socket/next_proto.h" |
| 23 #include "net/spdy/spdy_session_pool.h" | 23 #include "net/spdy/spdy_session_pool.h" |
| 24 #include "net/ssl/ssl_client_auth_cache.h" | 24 #include "net/ssl/ssl_client_auth_cache.h" |
| 25 | 25 |
| 26 namespace base { | 26 namespace base { |
| 27 class Value; | 27 class Value; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace net { | 30 namespace net { |
| 31 | 31 |
| 32 class CertPolicyEnforcer; |
| 32 class CertVerifier; | 33 class CertVerifier; |
| 33 class ChannelIDService; | 34 class ChannelIDService; |
| 34 class ClientSocketFactory; | 35 class ClientSocketFactory; |
| 35 class ClientSocketPoolManager; | 36 class ClientSocketPoolManager; |
| 36 class CTVerifier; | 37 class CTVerifier; |
| 37 class HostResolver; | 38 class HostResolver; |
| 38 class HpackHuffmanAggregator; | 39 class HpackHuffmanAggregator; |
| 39 class HttpAuthHandlerFactory; | 40 class HttpAuthHandlerFactory; |
| 40 class HttpNetworkSessionPeer; | 41 class HttpNetworkSessionPeer; |
| 41 class HttpProxyClientSocketPool; | 42 class HttpProxyClientSocketPool; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 59 : public base::RefCounted<HttpNetworkSession>, | 60 : public base::RefCounted<HttpNetworkSession>, |
| 60 NON_EXPORTED_BASE(public base::NonThreadSafe) { | 61 NON_EXPORTED_BASE(public base::NonThreadSafe) { |
| 61 public: | 62 public: |
| 62 struct NET_EXPORT Params { | 63 struct NET_EXPORT Params { |
| 63 Params(); | 64 Params(); |
| 64 ~Params(); | 65 ~Params(); |
| 65 | 66 |
| 66 ClientSocketFactory* client_socket_factory; | 67 ClientSocketFactory* client_socket_factory; |
| 67 HostResolver* host_resolver; | 68 HostResolver* host_resolver; |
| 68 CertVerifier* cert_verifier; | 69 CertVerifier* cert_verifier; |
| 70 CertPolicyEnforcer* cert_policy_enforcer; |
| 69 ChannelIDService* channel_id_service; | 71 ChannelIDService* channel_id_service; |
| 70 TransportSecurityState* transport_security_state; | 72 TransportSecurityState* transport_security_state; |
| 71 CTVerifier* cert_transparency_verifier; | 73 CTVerifier* cert_transparency_verifier; |
| 72 ProxyService* proxy_service; | 74 ProxyService* proxy_service; |
| 73 std::string ssl_session_cache_shard; | 75 std::string ssl_session_cache_shard; |
| 74 SSLConfigService* ssl_config_service; | 76 SSLConfigService* ssl_config_service; |
| 75 HttpAuthHandlerFactory* http_auth_handler_factory; | 77 HttpAuthHandlerFactory* http_auth_handler_factory; |
| 76 NetworkDelegate* network_delegate; | 78 NetworkDelegate* network_delegate; |
| 77 base::WeakPtr<HttpServerProperties> http_server_properties; | 79 base::WeakPtr<HttpServerProperties> http_server_properties; |
| 78 NetLog* net_log; | 80 NetLog* net_log; |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 | 244 |
| 243 std::vector<std::string> next_protos_; | 245 std::vector<std::string> next_protos_; |
| 244 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 246 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 245 | 247 |
| 246 Params params_; | 248 Params params_; |
| 247 }; | 249 }; |
| 248 | 250 |
| 249 } // namespace net | 251 } // namespace net |
| 250 | 252 |
| 251 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 253 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |