| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 bool enable_spdy_ping_based_connection_checking; | 106 bool enable_spdy_ping_based_connection_checking; |
| 107 bool enable_http2; | 107 bool enable_http2; |
| 108 size_t spdy_session_max_recv_window_size; | 108 size_t spdy_session_max_recv_window_size; |
| 109 // HTTP/2 connection settings. | 109 // HTTP/2 connection settings. |
| 110 // Unknown settings will still be sent to the server. | 110 // Unknown settings will still be sent to the server. |
| 111 SettingsMap http2_settings; | 111 SettingsMap http2_settings; |
| 112 // Source of time for SPDY connections. | 112 // Source of time for SPDY connections. |
| 113 SpdySessionPool::TimeFunc time_func; | 113 SpdySessionPool::TimeFunc time_func; |
| 114 // Whether to enable HTTP/2 Alt-Svc entries. | 114 // Whether to enable HTTP/2 Alt-Svc entries. |
| 115 bool enable_http2_alternative_service; | 115 bool enable_http2_alternative_service; |
| 116 // Whether to enable QUIC Alt-Svc entries with hostname different than that | |
| 117 // of the origin. | |
| 118 bool enable_quic_alternative_service_with_different_host; | |
| 119 | 116 |
| 120 // Enables QUIC support. | 117 // Enables QUIC support. |
| 121 bool enable_quic; | 118 bool enable_quic; |
| 122 // Marks a QUIC server broken when a connection blackholes after the | 119 // Marks a QUIC server broken when a connection blackholes after the |
| 123 // handshake is confirmed. | 120 // handshake is confirmed. |
| 124 bool mark_quic_broken_when_network_blackholes; | 121 bool mark_quic_broken_when_network_blackholes; |
| 125 // Retry requests which fail with QUIC_PROTOCOL_ERROR, and mark QUIC | 122 // Retry requests which fail with QUIC_PROTOCOL_ERROR, and mark QUIC |
| 126 // broken if the retry succeeds. | 123 // broken if the retry succeeds. |
| 127 bool retry_without_alt_svc_on_quic_errors; | 124 bool retry_without_alt_svc_on_quic_errors; |
| 128 // If not zero, the task to load QUIC server configs from the disk cache | 125 // If not zero, the task to load QUIC server configs from the disk cache |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 NextProtoVector next_protos_; | 335 NextProtoVector next_protos_; |
| 339 | 336 |
| 340 Params params_; | 337 Params params_; |
| 341 | 338 |
| 342 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 339 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
| 343 }; | 340 }; |
| 344 | 341 |
| 345 } // namespace net | 342 } // namespace net |
| 346 | 343 |
| 347 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 344 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |