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> |
| 9 #include <stdint.h> |
| 10 |
8 #include <set> | 11 #include <set> |
9 #include <string> | 12 #include <string> |
10 #include <vector> | 13 #include <vector> |
11 | 14 |
12 #include "base/basictypes.h" | |
13 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
15 #include "base/threading/non_thread_safe.h" | 17 #include "base/threading/non_thread_safe.h" |
16 #include "net/base/host_port_pair.h" | 18 #include "net/base/host_port_pair.h" |
17 #include "net/base/net_export.h" | 19 #include "net/base/net_export.h" |
18 #include "net/dns/host_resolver.h" | 20 #include "net/dns/host_resolver.h" |
19 #include "net/http/http_auth_cache.h" | 21 #include "net/http/http_auth_cache.h" |
20 #include "net/http/http_stream_factory.h" | 22 #include "net/http/http_stream_factory.h" |
21 #include "net/quic/quic_stream_factory.h" | 23 #include "net/quic/quic_stream_factory.h" |
22 #include "net/socket/next_proto.h" | 24 #include "net/socket/next_proto.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 CTVerifier* cert_transparency_verifier; | 74 CTVerifier* cert_transparency_verifier; |
73 ProxyService* proxy_service; | 75 ProxyService* proxy_service; |
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; |
79 HostMappingRules* host_mapping_rules; | 81 HostMappingRules* host_mapping_rules; |
80 SocketPerformanceWatcherFactory* socket_performance_watcher_factory; | 82 SocketPerformanceWatcherFactory* socket_performance_watcher_factory; |
81 bool ignore_certificate_errors; | 83 bool ignore_certificate_errors; |
82 uint16 testing_fixed_http_port; | 84 uint16_t testing_fixed_http_port; |
83 uint16 testing_fixed_https_port; | 85 uint16_t testing_fixed_https_port; |
84 bool enable_tcp_fast_open_for_ssl; | 86 bool enable_tcp_fast_open_for_ssl; |
85 | 87 |
86 // Compress SPDY headers. | 88 // Compress SPDY headers. |
87 bool enable_spdy_compression; | 89 bool enable_spdy_compression; |
88 // Use SPDY ping frames to test for connection health after idle. | 90 // Use SPDY ping frames to test for connection health after idle. |
89 bool enable_spdy_ping_based_connection_checking; | 91 bool enable_spdy_ping_based_connection_checking; |
90 NextProto spdy_default_protocol; | 92 NextProto spdy_default_protocol; |
91 // The protocols supported by NPN (next protocol negotiation) during the | 93 // The protocols supported by NPN (next protocol negotiation) during the |
92 // SSL handshake as well as by HTTP Alternate-Protocol. | 94 // SSL handshake as well as by HTTP Alternate-Protocol. |
93 // TODO(mmenke): This is currently empty by default, and alternate | 95 // TODO(mmenke): This is currently empty by default, and alternate |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 | 290 |
289 NextProtoVector next_protos_; | 291 NextProtoVector next_protos_; |
290 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 292 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
291 | 293 |
292 Params params_; | 294 Params params_; |
293 }; | 295 }; |
294 | 296 |
295 } // namespace net | 297 } // namespace net |
296 | 298 |
297 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 299 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |