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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 103 |
104 // Use SPDY ping frames to test for connection health after idle. | 104 // Use SPDY ping frames to test for connection health after idle. |
105 bool enable_spdy_ping_based_connection_checking; | 105 bool enable_spdy_ping_based_connection_checking; |
106 bool enable_http2; | 106 bool enable_http2; |
107 size_t spdy_session_max_recv_window_size; | 107 size_t spdy_session_max_recv_window_size; |
108 // HTTP/2 connection settings. | 108 // HTTP/2 connection settings. |
109 // Unknown settings will still be sent to the server. | 109 // Unknown settings will still be sent to the server. |
110 SettingsMap http2_settings; | 110 SettingsMap http2_settings; |
111 // Source of time for SPDY connections. | 111 // Source of time for SPDY connections. |
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. |
114 // that of the origin. | 114 bool enable_http2_alternative_service; |
115 bool enable_http2_alternative_service_with_different_host; | |
116 // Whether to enable QUIC Alt-Svc entries with hostname different than that | 115 // Whether to enable QUIC Alt-Svc entries with hostname different than that |
117 // of the origin. | 116 // of the origin. |
118 bool enable_quic_alternative_service_with_different_host; | 117 bool enable_quic_alternative_service_with_different_host; |
119 | 118 |
120 // Enables QUIC support. | 119 // Enables QUIC support. |
121 bool enable_quic; | 120 bool enable_quic; |
122 // Marks a QUIC server broken when a connection blackholes after the | 121 // Marks a QUIC server broken when a connection blackholes after the |
123 // handshake is confirmed. | 122 // handshake is confirmed. |
124 bool mark_quic_broken_when_network_blackholes; | 123 bool mark_quic_broken_when_network_blackholes; |
125 // Disables QUIC's 0-RTT behavior. | 124 // Disables QUIC's 0-RTT behavior. |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 NextProtoVector next_protos_; | 346 NextProtoVector next_protos_; |
348 | 347 |
349 Params params_; | 348 Params params_; |
350 | 349 |
351 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 350 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
352 }; | 351 }; |
353 | 352 |
354 } // namespace net | 353 } // namespace net |
355 | 354 |
356 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 355 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |