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> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 // If true, active QUIC sessions experiencing poor connectivity may be | 174 // If true, active QUIC sessions experiencing poor connectivity may be |
175 // migrated onto a new network. | 175 // migrated onto a new network. |
176 bool quic_migrate_sessions_early; | 176 bool quic_migrate_sessions_early; |
177 // If true, allows migration of QUIC connections to a server-specified | 177 // If true, allows migration of QUIC connections to a server-specified |
178 // alternate server address. | 178 // alternate server address. |
179 bool quic_allow_server_migration; | 179 bool quic_allow_server_migration; |
180 // If true, bidirectional streams over QUIC will be disabled. | 180 // If true, bidirectional streams over QUIC will be disabled. |
181 bool quic_disable_bidirectional_streams; | 181 bool quic_disable_bidirectional_streams; |
182 // If true, enable force HOL blocking. For measurement purposes. | 182 // If true, enable force HOL blocking. For measurement purposes. |
183 bool quic_force_hol_blocking; | 183 bool quic_force_hol_blocking; |
| 184 // If true, race cert verification with host resolution. |
| 185 bool quic_race_cert_verification; |
184 | 186 |
185 ProxyDelegate* proxy_delegate; | 187 ProxyDelegate* proxy_delegate; |
186 // Enable support for Token Binding. | 188 // Enable support for Token Binding. |
187 bool enable_token_binding; | 189 bool enable_token_binding; |
188 }; | 190 }; |
189 | 191 |
190 enum SocketPoolType { | 192 enum SocketPoolType { |
191 NORMAL_SOCKET_POOL, | 193 NORMAL_SOCKET_POOL, |
192 WEBSOCKET_SOCKET_POOL, | 194 WEBSOCKET_SOCKET_POOL, |
193 NUM_SOCKET_POOL_TYPES | 195 NUM_SOCKET_POOL_TYPES |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 302 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
301 | 303 |
302 Params params_; | 304 Params params_; |
303 | 305 |
304 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 306 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
305 }; | 307 }; |
306 | 308 |
307 } // namespace net | 309 } // namespace net |
308 | 310 |
309 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 311 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |