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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 size_t spdy_stream_max_recv_window_size; | 94 size_t spdy_stream_max_recv_window_size; |
95 // Source of time for SPDY connections. | 95 // Source of time for SPDY connections. |
96 SpdySessionPool::TimeFunc time_func; | 96 SpdySessionPool::TimeFunc time_func; |
97 // Whether to enable HTTP/2 Alt-Svc entries with hostname different than | 97 // Whether to enable HTTP/2 Alt-Svc entries with hostname different than |
98 // that of the origin. | 98 // that of the origin. |
99 bool enable_http2_alternative_service_with_different_host; | 99 bool enable_http2_alternative_service_with_different_host; |
100 // Whether to enable QUIC Alt-Svc entries with hostname different than that | 100 // Whether to enable QUIC Alt-Svc entries with hostname different than that |
101 // of the origin. | 101 // of the origin. |
102 bool enable_quic_alternative_service_with_different_host; | 102 bool enable_quic_alternative_service_with_different_host; |
103 | 103 |
104 // Enable setting of HTTP/2 dependencies based on priority. | |
105 bool enable_priority_dependencies; | |
106 | |
107 // Enables QUIC support. | 104 // Enables QUIC support. |
108 bool enable_quic; | 105 bool enable_quic; |
109 // Disable QUIC if a connection times out with open streams. | 106 // Disable QUIC if a connection times out with open streams. |
110 bool disable_quic_on_timeout_with_open_streams; | 107 bool disable_quic_on_timeout_with_open_streams; |
111 // Instruct QUIC to use consistent ephemeral ports when talking to | 108 // Instruct QUIC to use consistent ephemeral ports when talking to |
112 // the same server. | 109 // the same server. |
113 bool enable_quic_port_selection; | 110 bool enable_quic_port_selection; |
114 // Disables QUIC's 0-RTT behavior. | 111 // Disables QUIC's 0-RTT behavior. |
115 bool quic_always_require_handshake_confirmation; | 112 bool quic_always_require_handshake_confirmation; |
116 // Disables QUIC connection pooling. | 113 // Disables QUIC connection pooling. |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 300 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
304 | 301 |
305 Params params_; | 302 Params params_; |
306 | 303 |
307 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 304 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
308 }; | 305 }; |
309 | 306 |
310 } // namespace net | 307 } // namespace net |
311 | 308 |
312 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 309 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |