| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 // If true, bidirectional streams over QUIC will be disabled. | 183 // If true, bidirectional streams over QUIC will be disabled. |
| 184 bool quic_disable_bidirectional_streams; | 184 bool quic_disable_bidirectional_streams; |
| 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 | 189 |
| 190 ProxyDelegate* proxy_delegate; | 190 ProxyDelegate* proxy_delegate; |
| 191 // Enable support for Token Binding. | 191 // Enable support for Token Binding. |
| 192 bool enable_token_binding; | 192 bool enable_token_binding; |
| 193 |
| 194 // Enable HTTP/0.9 for HTTP/HTTPS on ports other than the default one for |
| 195 // each protocol. |
| 196 bool http_09_on_non_default_ports_enabled; |
| 193 }; | 197 }; |
| 194 | 198 |
| 195 enum SocketPoolType { | 199 enum SocketPoolType { |
| 196 NORMAL_SOCKET_POOL, | 200 NORMAL_SOCKET_POOL, |
| 197 WEBSOCKET_SOCKET_POOL, | 201 WEBSOCKET_SOCKET_POOL, |
| 198 NUM_SOCKET_POOL_TYPES | 202 NUM_SOCKET_POOL_TYPES |
| 199 }; | 203 }; |
| 200 | 204 |
| 201 explicit HttpNetworkSession(const Params& params); | 205 explicit HttpNetworkSession(const Params& params); |
| 202 ~HttpNetworkSession(); | 206 ~HttpNetworkSession(); |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 309 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 306 | 310 |
| 307 Params params_; | 311 Params params_; |
| 308 | 312 |
| 309 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 313 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
| 310 }; | 314 }; |
| 311 | 315 |
| 312 } // namespace net | 316 } // namespace net |
| 313 | 317 |
| 314 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 318 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |