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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 bool enable_quic; | 108 bool enable_quic; |
109 bool disable_insecure_quic; | 109 bool disable_insecure_quic; |
110 bool enable_quic_for_proxies; | 110 bool enable_quic_for_proxies; |
111 bool enable_quic_port_selection; | 111 bool enable_quic_port_selection; |
112 bool quic_always_require_handshake_confirmation; | 112 bool quic_always_require_handshake_confirmation; |
113 bool quic_disable_connection_pooling; | 113 bool quic_disable_connection_pooling; |
114 float quic_load_server_info_timeout_srtt_multiplier; | 114 float quic_load_server_info_timeout_srtt_multiplier; |
115 bool quic_enable_connection_racing; | 115 bool quic_enable_connection_racing; |
116 bool quic_enable_non_blocking_io; | 116 bool quic_enable_non_blocking_io; |
117 bool quic_disable_disk_cache; | 117 bool quic_disable_disk_cache; |
| 118 bool quic_prefer_aes; |
118 int quic_max_number_of_lossy_connections; | 119 int quic_max_number_of_lossy_connections; |
119 float quic_packet_loss_threshold; | 120 float quic_packet_loss_threshold; |
120 int quic_socket_receive_buffer_size; | 121 int quic_socket_receive_buffer_size; |
121 HostPortPair origin_to_force_quic_on; | 122 HostPortPair origin_to_force_quic_on; |
122 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. | 123 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. |
123 QuicRandom* quic_random; | 124 QuicRandom* quic_random; |
124 size_t quic_max_packet_length; | 125 size_t quic_max_packet_length; |
125 std::string quic_user_agent_id; | 126 std::string quic_user_agent_id; |
126 bool enable_user_alternate_protocol_ports; | 127 bool enable_user_alternate_protocol_ports; |
127 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; | 128 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 | 239 |
239 NextProtoVector next_protos_; | 240 NextProtoVector next_protos_; |
240 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 241 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
241 | 242 |
242 Params params_; | 243 Params params_; |
243 }; | 244 }; |
244 | 245 |
245 } // namespace net | 246 } // namespace net |
246 | 247 |
247 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 248 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |