| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 // that of the origin. | 102 // that of the origin. |
| 103 bool enable_http2_alternative_service_with_different_host; | 103 bool enable_http2_alternative_service_with_different_host; |
| 104 // Whether to enable QUIC Alt-Svc entries with hostname different than that | 104 // Whether to enable QUIC Alt-Svc entries with hostname different than that |
| 105 // of the origin. | 105 // of the origin. |
| 106 bool enable_quic_alternative_service_with_different_host; | 106 bool enable_quic_alternative_service_with_different_host; |
| 107 | 107 |
| 108 // Enables QUIC support. | 108 // Enables QUIC support. |
| 109 bool enable_quic; | 109 bool enable_quic; |
| 110 // Disable QUIC if a connection times out with open streams. | 110 // Disable QUIC if a connection times out with open streams. |
| 111 bool disable_quic_on_timeout_with_open_streams; | 111 bool disable_quic_on_timeout_with_open_streams; |
| 112 // Instruct QUIC to use consistent ephemeral ports when talking to | |
| 113 // the same server. | |
| 114 bool enable_quic_port_selection; | |
| 115 // Disables QUIC's 0-RTT behavior. | 112 // Disables QUIC's 0-RTT behavior. |
| 116 bool quic_always_require_handshake_confirmation; | 113 bool quic_always_require_handshake_confirmation; |
| 117 // Disables QUIC connection pooling. | 114 // Disables QUIC connection pooling. |
| 118 bool quic_disable_connection_pooling; | 115 bool quic_disable_connection_pooling; |
| 119 // If not zero, the task to load QUIC server configs from the disk cache | 116 // If not zero, the task to load QUIC server configs from the disk cache |
| 120 // will timeout after this value multiplied by the smoothed RTT for the | 117 // will timeout after this value multiplied by the smoothed RTT for the |
| 121 // server. | 118 // server. |
| 122 float quic_load_server_info_timeout_srtt_multiplier; | 119 float quic_load_server_info_timeout_srtt_multiplier; |
| 123 // Causes QUIC to race reading the server config from disk with | 120 // Causes QUIC to race reading the server config from disk with |
| 124 // sending an inchoate CHLO. | 121 // sending an inchoate CHLO. |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 NextProtoVector next_protos_; | 311 NextProtoVector next_protos_; |
| 315 | 312 |
| 316 Params params_; | 313 Params params_; |
| 317 | 314 |
| 318 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 315 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
| 319 }; | 316 }; |
| 320 | 317 |
| 321 } // namespace net | 318 } // namespace net |
| 322 | 319 |
| 323 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 320 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |