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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 | 114 |
115 bool enable_quic; | 115 bool enable_quic; |
116 bool enable_quic_for_proxies; | 116 bool enable_quic_for_proxies; |
117 bool enable_quic_port_selection; | 117 bool enable_quic_port_selection; |
118 bool quic_always_require_handshake_confirmation; | 118 bool quic_always_require_handshake_confirmation; |
119 bool quic_disable_connection_pooling; | 119 bool quic_disable_connection_pooling; |
120 int quic_load_server_info_timeout_ms; | 120 int quic_load_server_info_timeout_ms; |
121 float quic_load_server_info_timeout_srtt_multiplier; | 121 float quic_load_server_info_timeout_srtt_multiplier; |
122 bool quic_enable_truncated_connection_ids; | 122 bool quic_enable_truncated_connection_ids; |
123 bool quic_enable_connection_racing; | 123 bool quic_enable_connection_racing; |
| 124 bool quic_enable_non_blocking_io; |
124 bool quic_disable_disk_cache; | 125 bool quic_disable_disk_cache; |
125 int quic_socket_receive_buffer_size; | 126 int quic_socket_receive_buffer_size; |
126 HostPortPair origin_to_force_quic_on; | 127 HostPortPair origin_to_force_quic_on; |
127 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. | 128 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. |
128 QuicRandom* quic_random; | 129 QuicRandom* quic_random; |
129 size_t quic_max_packet_length; | 130 size_t quic_max_packet_length; |
130 std::string quic_user_agent_id; | 131 std::string quic_user_agent_id; |
131 bool enable_user_alternate_protocol_ports; | 132 bool enable_user_alternate_protocol_ports; |
132 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; | 133 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; |
133 QuicVersionVector quic_supported_versions; | 134 QuicVersionVector quic_supported_versions; |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 | 252 |
252 NextProtoVector next_protos_; | 253 NextProtoVector next_protos_; |
253 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 254 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
254 | 255 |
255 Params params_; | 256 Params params_; |
256 }; | 257 }; |
257 | 258 |
258 } // namespace net | 259 } // namespace net |
259 | 260 |
260 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 261 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |