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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 bool use_alternate_protocols; | 112 bool use_alternate_protocols; |
113 double alternate_protocol_probability_threshold; | 113 double alternate_protocol_probability_threshold; |
114 | 114 |
115 bool enable_quic; | 115 bool enable_quic; |
116 bool enable_quic_port_selection; | 116 bool enable_quic_port_selection; |
117 bool quic_always_require_handshake_confirmation; | 117 bool quic_always_require_handshake_confirmation; |
118 bool quic_disable_connection_pooling; | 118 bool quic_disable_connection_pooling; |
119 int quic_load_server_info_timeout_ms; | 119 int quic_load_server_info_timeout_ms; |
120 float quic_load_server_info_timeout_srtt_multiplier; | 120 float quic_load_server_info_timeout_srtt_multiplier; |
121 bool quic_enable_truncated_connection_ids; | 121 bool quic_enable_truncated_connection_ids; |
| 122 bool quic_enable_connection_racing; |
122 HostPortPair origin_to_force_quic_on; | 123 HostPortPair origin_to_force_quic_on; |
123 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. | 124 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. |
124 QuicRandom* quic_random; | 125 QuicRandom* quic_random; |
125 size_t quic_max_packet_length; | 126 size_t quic_max_packet_length; |
126 std::string quic_user_agent_id; | 127 std::string quic_user_agent_id; |
127 bool enable_user_alternate_protocol_ports; | 128 bool enable_user_alternate_protocol_ports; |
128 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; | 129 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; |
129 QuicVersionVector quic_supported_versions; | 130 QuicVersionVector quic_supported_versions; |
130 QuicTagVector quic_connection_options; | 131 QuicTagVector quic_connection_options; |
131 ProxyDelegate* proxy_delegate; | 132 ProxyDelegate* proxy_delegate; |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 | 248 |
248 NextProtoVector next_protos_; | 249 NextProtoVector next_protos_; |
249 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 250 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
250 | 251 |
251 Params params_; | 252 Params params_; |
252 }; | 253 }; |
253 | 254 |
254 } // namespace net | 255 } // namespace net |
255 | 256 |
256 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 257 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |