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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "net/socket/next_proto.h" | 24 #include "net/socket/next_proto.h" |
25 #include "net/spdy/spdy_session_pool.h" | 25 #include "net/spdy/spdy_session_pool.h" |
26 #include "net/ssl/ssl_client_auth_cache.h" | 26 #include "net/ssl/ssl_client_auth_cache.h" |
27 | 27 |
28 namespace base { | 28 namespace base { |
29 class Value; | 29 class Value; |
30 } | 30 } |
31 | 31 |
32 namespace net { | 32 namespace net { |
33 | 33 |
34 class CertPolicyEnforcer; | 34 class CTPolicyEnforcer; |
35 class CertVerifier; | 35 class CertVerifier; |
36 class ChannelIDService; | 36 class ChannelIDService; |
37 class ClientSocketFactory; | 37 class ClientSocketFactory; |
38 class ClientSocketPoolManager; | 38 class ClientSocketPoolManager; |
39 class CTVerifier; | 39 class CTVerifier; |
40 class HostResolver; | 40 class HostResolver; |
41 class HttpAuthHandlerFactory; | 41 class HttpAuthHandlerFactory; |
42 class HttpNetworkSessionPeer; | 42 class HttpNetworkSessionPeer; |
43 class HttpProxyClientSocketPool; | 43 class HttpProxyClientSocketPool; |
44 class HttpResponseBodyDrainer; | 44 class HttpResponseBodyDrainer; |
(...skipping 16 matching lines...) Expand all Loading... |
61 class NET_EXPORT HttpNetworkSession | 61 class NET_EXPORT HttpNetworkSession |
62 : NON_EXPORTED_BASE(public base::NonThreadSafe) { | 62 : NON_EXPORTED_BASE(public base::NonThreadSafe) { |
63 public: | 63 public: |
64 struct NET_EXPORT Params { | 64 struct NET_EXPORT Params { |
65 Params(); | 65 Params(); |
66 ~Params(); | 66 ~Params(); |
67 | 67 |
68 ClientSocketFactory* client_socket_factory; | 68 ClientSocketFactory* client_socket_factory; |
69 HostResolver* host_resolver; | 69 HostResolver* host_resolver; |
70 CertVerifier* cert_verifier; | 70 CertVerifier* cert_verifier; |
71 CertPolicyEnforcer* cert_policy_enforcer; | 71 CTPolicyEnforcer* ct_policy_enforcer; |
72 ChannelIDService* channel_id_service; | 72 ChannelIDService* channel_id_service; |
73 TransportSecurityState* transport_security_state; | 73 TransportSecurityState* transport_security_state; |
74 CTVerifier* cert_transparency_verifier; | 74 CTVerifier* cert_transparency_verifier; |
75 ProxyService* proxy_service; | 75 ProxyService* proxy_service; |
76 SSLConfigService* ssl_config_service; | 76 SSLConfigService* ssl_config_service; |
77 HttpAuthHandlerFactory* http_auth_handler_factory; | 77 HttpAuthHandlerFactory* http_auth_handler_factory; |
78 NetworkDelegate* network_delegate; | 78 NetworkDelegate* network_delegate; |
79 base::WeakPtr<HttpServerProperties> http_server_properties; | 79 base::WeakPtr<HttpServerProperties> http_server_properties; |
80 NetLog* net_log; | 80 NetLog* net_log; |
81 HostMappingRules* host_mapping_rules; | 81 HostMappingRules* host_mapping_rules; |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 | 293 |
294 NextProtoVector next_protos_; | 294 NextProtoVector next_protos_; |
295 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 295 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
296 | 296 |
297 Params params_; | 297 Params params_; |
298 }; | 298 }; |
299 | 299 |
300 } // namespace net | 300 } // namespace net |
301 | 301 |
302 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 302 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |