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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 // List of hosts for which QUIC is explicitly whitelisted. | 176 // List of hosts for which QUIC is explicitly whitelisted. |
177 std::unordered_set<std::string> quic_host_whitelist; | 177 std::unordered_set<std::string> quic_host_whitelist; |
178 // If true, active QUIC sessions may be migrated onto a new network when | 178 // If true, active QUIC sessions may be migrated onto a new network when |
179 // the platform indicates that the default network is changing. | 179 // the platform indicates that the default network is changing. |
180 bool quic_migrate_sessions_on_network_change; | 180 bool quic_migrate_sessions_on_network_change; |
181 // If true, active QUIC sessions experiencing poor connectivity may be | 181 // If true, active QUIC sessions experiencing poor connectivity may be |
182 // migrated onto a new network. | 182 // migrated onto a new network. |
183 bool quic_migrate_sessions_early; | 183 bool quic_migrate_sessions_early; |
184 // If true, bidirectional streams over QUIC will be disabled. | 184 // If true, bidirectional streams over QUIC will be disabled. |
185 bool quic_disable_bidirectional_streams; | 185 bool quic_disable_bidirectional_streams; |
| 186 // If true, race cert verification with host resolution. |
| 187 bool quic_race_cert_verification; |
186 | 188 |
187 ProxyDelegate* proxy_delegate; | 189 ProxyDelegate* proxy_delegate; |
188 // Enable support for Token Binding. | 190 // Enable support for Token Binding. |
189 bool enable_token_binding; | 191 bool enable_token_binding; |
190 }; | 192 }; |
191 | 193 |
192 enum SocketPoolType { | 194 enum SocketPoolType { |
193 NORMAL_SOCKET_POOL, | 195 NORMAL_SOCKET_POOL, |
194 WEBSOCKET_SOCKET_POOL, | 196 WEBSOCKET_SOCKET_POOL, |
195 NUM_SOCKET_POOL_TYPES | 197 NUM_SOCKET_POOL_TYPES |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 | 298 |
297 NextProtoVector next_protos_; | 299 NextProtoVector next_protos_; |
298 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 300 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
299 | 301 |
300 Params params_; | 302 Params params_; |
301 }; | 303 }; |
302 | 304 |
303 } // namespace net | 305 } // namespace net |
304 | 306 |
305 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 307 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |