| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 SpdySessionPool::TimeFunc time_func; | 112 SpdySessionPool::TimeFunc time_func; |
| 113 // Whether to enable HTTP/2 Alt-Svc entries with hostname different than | 113 // Whether to enable HTTP/2 Alt-Svc entries with hostname different than |
| 114 // that of the origin. | 114 // that of the origin. |
| 115 bool enable_http2_alternative_service_with_different_host; | 115 bool enable_http2_alternative_service_with_different_host; |
| 116 // Whether to enable QUIC Alt-Svc entries with hostname different than that | 116 // Whether to enable QUIC Alt-Svc entries with hostname different than that |
| 117 // of the origin. | 117 // of the origin. |
| 118 bool enable_quic_alternative_service_with_different_host; | 118 bool enable_quic_alternative_service_with_different_host; |
| 119 | 119 |
| 120 // Enables QUIC support. | 120 // Enables QUIC support. |
| 121 bool enable_quic; | 121 bool enable_quic; |
| 122 // Marks a QUIC server broken when a connection blackholes after the |
| 123 // handshake is confirmed. |
| 124 bool mark_quic_broken_when_network_blackholes; |
| 122 // Disables QUIC's 0-RTT behavior. | 125 // Disables QUIC's 0-RTT behavior. |
| 123 bool quic_always_require_handshake_confirmation; | 126 bool quic_always_require_handshake_confirmation; |
| 124 // Disables QUIC connection pooling. | 127 // Disables QUIC connection pooling. |
| 125 bool quic_disable_connection_pooling; | 128 bool quic_disable_connection_pooling; |
| 126 // If not zero, the task to load QUIC server configs from the disk cache | 129 // If not zero, the task to load QUIC server configs from the disk cache |
| 127 // will timeout after this value multiplied by the smoothed RTT for the | 130 // will timeout after this value multiplied by the smoothed RTT for the |
| 128 // server. | 131 // server. |
| 129 float quic_load_server_info_timeout_srtt_multiplier; | 132 float quic_load_server_info_timeout_srtt_multiplier; |
| 130 // Causes QUIC to race reading the server config from disk with | 133 // Causes QUIC to race reading the server config from disk with |
| 131 // sending an inchoate CHLO. | 134 // sending an inchoate CHLO. |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 NextProtoVector next_protos_; | 347 NextProtoVector next_protos_; |
| 345 | 348 |
| 346 Params params_; | 349 Params params_; |
| 347 | 350 |
| 348 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 351 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
| 349 }; | 352 }; |
| 350 | 353 |
| 351 } // namespace net | 354 } // namespace net |
| 352 | 355 |
| 353 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 356 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |