| 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; | |
| 186 | 184 |
| 187 ProxyDelegate* proxy_delegate; | 185 ProxyDelegate* proxy_delegate; |
| 188 // Enable support for Token Binding. | 186 // Enable support for Token Binding. |
| 189 bool enable_token_binding; | 187 bool enable_token_binding; |
| 190 }; | 188 }; |
| 191 | 189 |
| 192 enum SocketPoolType { | 190 enum SocketPoolType { |
| 193 NORMAL_SOCKET_POOL, | 191 NORMAL_SOCKET_POOL, |
| 194 WEBSOCKET_SOCKET_POOL, | 192 WEBSOCKET_SOCKET_POOL, |
| 195 NUM_SOCKET_POOL_TYPES | 193 NUM_SOCKET_POOL_TYPES |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 300 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 303 | 301 |
| 304 Params params_; | 302 Params params_; |
| 305 | 303 |
| 306 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 304 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
| 307 }; | 305 }; |
| 308 | 306 |
| 309 } // namespace net | 307 } // namespace net |
| 310 | 308 |
| 311 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 309 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |