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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 CTVerifier* cert_transparency_verifier; | 72 CTVerifier* cert_transparency_verifier; |
73 ProxyService* proxy_service; | 73 ProxyService* proxy_service; |
74 std::string ssl_session_cache_shard; | 74 std::string ssl_session_cache_shard; |
75 SSLConfigService* ssl_config_service; | 75 SSLConfigService* ssl_config_service; |
76 HttpAuthHandlerFactory* http_auth_handler_factory; | 76 HttpAuthHandlerFactory* http_auth_handler_factory; |
77 NetworkDelegate* network_delegate; | 77 NetworkDelegate* network_delegate; |
78 base::WeakPtr<HttpServerProperties> http_server_properties; | 78 base::WeakPtr<HttpServerProperties> http_server_properties; |
79 NetLog* net_log; | 79 NetLog* net_log; |
80 HostMappingRules* host_mapping_rules; | 80 HostMappingRules* host_mapping_rules; |
81 bool ignore_certificate_errors; | 81 bool ignore_certificate_errors; |
82 bool use_stale_while_revalidate; | |
83 uint16 testing_fixed_http_port; | 82 uint16 testing_fixed_http_port; |
84 uint16 testing_fixed_https_port; | 83 uint16 testing_fixed_https_port; |
85 bool enable_tcp_fast_open_for_ssl; | 84 bool enable_tcp_fast_open_for_ssl; |
86 | 85 |
87 bool enable_spdy_compression; | 86 bool enable_spdy_compression; |
88 bool enable_spdy_ping_based_connection_checking; | 87 bool enable_spdy_ping_based_connection_checking; |
89 NextProto spdy_default_protocol; | 88 NextProto spdy_default_protocol; |
90 // The protocols supported by NPN (next protocol negotiation) during the | 89 // The protocols supported by NPN (next protocol negotiation) during the |
91 // SSL handshake as well as by HTTP Alternate-Protocol. | 90 // SSL handshake as well as by HTTP Alternate-Protocol. |
92 // TODO(mmenke): This is currently empty by default, and alternate | 91 // TODO(mmenke): This is currently empty by default, and alternate |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 | 238 |
240 NextProtoVector next_protos_; | 239 NextProtoVector next_protos_; |
241 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 240 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
242 | 241 |
243 Params params_; | 242 Params params_; |
244 }; | 243 }; |
245 | 244 |
246 } // namespace net | 245 } // namespace net |
247 | 246 |
248 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 247 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |