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 stream is closed with a possibly |
| 123 // network-caused error. |
| 124 bool mark_quic_broken_when_network_suspected; |
122 // Disable QUIC if a connection times out with open streams. | 125 // Disable QUIC if a connection times out with open streams. |
123 bool disable_quic_on_timeout_with_open_streams; | 126 bool disable_quic_on_timeout_with_open_streams; |
124 // Disables QUIC's 0-RTT behavior. | 127 // Disables QUIC's 0-RTT behavior. |
125 bool quic_always_require_handshake_confirmation; | 128 bool quic_always_require_handshake_confirmation; |
126 // Disables QUIC connection pooling. | 129 // Disables QUIC connection pooling. |
127 bool quic_disable_connection_pooling; | 130 bool quic_disable_connection_pooling; |
128 // If not zero, the task to load QUIC server configs from the disk cache | 131 // If not zero, the task to load QUIC server configs from the disk cache |
129 // will timeout after this value multiplied by the smoothed RTT for the | 132 // will timeout after this value multiplied by the smoothed RTT for the |
130 // server. | 133 // server. |
131 float quic_load_server_info_timeout_srtt_multiplier; | 134 float quic_load_server_info_timeout_srtt_multiplier; |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 NextProtoVector next_protos_; | 349 NextProtoVector next_protos_; |
347 | 350 |
348 Params params_; | 351 Params params_; |
349 | 352 |
350 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 353 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
351 }; | 354 }; |
352 | 355 |
353 } // namespace net | 356 } // namespace net |
354 | 357 |
355 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 358 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |