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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 // List of hosts for which QUIC is explicitly whitelisted. | 171 // List of hosts for which QUIC is explicitly whitelisted. |
172 std::unordered_set<std::string> quic_host_whitelist; | 172 std::unordered_set<std::string> quic_host_whitelist; |
173 // If true, active QUIC sessions may be migrated onto a new network when | 173 // If true, active QUIC sessions may be migrated onto a new network when |
174 // the platform indicates that the default network is changing. | 174 // the platform indicates that the default network is changing. |
175 bool quic_migrate_sessions_on_network_change; | 175 bool quic_migrate_sessions_on_network_change; |
176 // If true, active QUIC sessions experiencing poor connectivity may be | 176 // If true, active QUIC sessions experiencing poor connectivity may be |
177 // migrated onto a new network. | 177 // migrated onto a new network. |
178 bool quic_migrate_sessions_early; | 178 bool quic_migrate_sessions_early; |
179 // If true, bidirectional streams over QUIC will be disabled. | 179 // If true, bidirectional streams over QUIC will be disabled. |
180 bool quic_disable_bidirectional_streams; | 180 bool quic_disable_bidirectional_streams; |
| 181 // If true, enable force HOL blocking. For measurement purposes. |
| 182 bool quic_force_hol_blocking; |
181 | 183 |
182 ProxyDelegate* proxy_delegate; | 184 ProxyDelegate* proxy_delegate; |
183 // Enable support for Token Binding. | 185 // Enable support for Token Binding. |
184 bool enable_token_binding; | 186 bool enable_token_binding; |
185 }; | 187 }; |
186 | 188 |
187 enum SocketPoolType { | 189 enum SocketPoolType { |
188 NORMAL_SOCKET_POOL, | 190 NORMAL_SOCKET_POOL, |
189 WEBSOCKET_SOCKET_POOL, | 191 WEBSOCKET_SOCKET_POOL, |
190 NUM_SOCKET_POOL_TYPES | 192 NUM_SOCKET_POOL_TYPES |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 | 293 |
292 NextProtoVector next_protos_; | 294 NextProtoVector next_protos_; |
293 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 295 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
294 | 296 |
295 Params params_; | 297 Params params_; |
296 }; | 298 }; |
297 | 299 |
298 } // namespace net | 300 } // namespace net |
299 | 301 |
300 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 302 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |