| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 // If true, enable force HOL blocking. For measurement purposes. | 185 // If true, enable force HOL blocking. For measurement purposes. |
| 186 bool quic_force_hol_blocking; | 186 bool quic_force_hol_blocking; |
| 187 // If true, race cert verification with host resolution. | 187 // If true, race cert verification with host resolution. |
| 188 bool quic_race_cert_verification; | 188 bool quic_race_cert_verification; |
| 189 // If true, configure QUIC sockets to not fragment packets. | 189 // If true, configure QUIC sockets to not fragment packets. |
| 190 bool quic_do_not_fragment; | 190 bool quic_do_not_fragment; |
| 191 | 191 |
| 192 ProxyDelegate* proxy_delegate; | 192 ProxyDelegate* proxy_delegate; |
| 193 // Enable support for Token Binding. | 193 // Enable support for Token Binding. |
| 194 bool enable_token_binding; | 194 bool enable_token_binding; |
| 195 | |
| 196 // Enable HTTP/0.9 for HTTP/HTTPS on ports other than the default one for | |
| 197 // each protocol. | |
| 198 bool http_09_on_non_default_ports_enabled; | |
| 199 }; | 195 }; |
| 200 | 196 |
| 201 enum SocketPoolType { | 197 enum SocketPoolType { |
| 202 NORMAL_SOCKET_POOL, | 198 NORMAL_SOCKET_POOL, |
| 203 WEBSOCKET_SOCKET_POOL, | 199 WEBSOCKET_SOCKET_POOL, |
| 204 NUM_SOCKET_POOL_TYPES | 200 NUM_SOCKET_POOL_TYPES |
| 205 }; | 201 }; |
| 206 | 202 |
| 207 explicit HttpNetworkSession(const Params& params); | 203 explicit HttpNetworkSession(const Params& params); |
| 208 ~HttpNetworkSession(); | 204 ~HttpNetworkSession(); |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 307 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 312 | 308 |
| 313 Params params_; | 309 Params params_; |
| 314 | 310 |
| 315 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 311 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
| 316 }; | 312 }; |
| 317 | 313 |
| 318 } // namespace net | 314 } // namespace net |
| 319 | 315 |
| 320 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 316 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |