| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 // Only honor alternative service entries which have a higher probability | 104 // Only honor alternative service entries which have a higher probability |
| 105 // than this value. | 105 // than this value. |
| 106 double alternative_service_probability_threshold; | 106 double alternative_service_probability_threshold; |
| 107 | 107 |
| 108 // Enables NPN support. Note that ALPN is always enabled. | 108 // Enables NPN support. Note that ALPN is always enabled. |
| 109 bool enable_npn; | 109 bool enable_npn; |
| 110 | 110 |
| 111 // Enables Brotli Content-Encoding support. | 111 // Enables Brotli Content-Encoding support. |
| 112 bool enable_brotli; | 112 bool enable_brotli; |
| 113 | 113 |
| 114 // Enable setting of HTTP/2 dependencies based on priority. |
| 115 bool enable_priority_dependencies; |
| 116 |
| 114 // Enables QUIC support. | 117 // Enables QUIC support. |
| 115 bool enable_quic; | 118 bool enable_quic; |
| 116 // Disable QUIC if a connection times out with open streams. | 119 // Disable QUIC if a connection times out with open streams. |
| 117 bool disable_quic_on_timeout_with_open_streams; | 120 bool disable_quic_on_timeout_with_open_streams; |
| 118 // Enables QUIC for proxies. | 121 // Enables QUIC for proxies. |
| 119 bool enable_quic_for_proxies; | 122 bool enable_quic_for_proxies; |
| 120 // Instruct QUIC to use consistent ephemeral ports when talking to | 123 // Instruct QUIC to use consistent ephemeral ports when talking to |
| 121 // the same server. | 124 // the same server. |
| 122 bool enable_quic_port_selection; | 125 bool enable_quic_port_selection; |
| 123 // Disables QUIC's 0-RTT behavior. | 126 // Disables QUIC's 0-RTT behavior. |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 | 298 |
| 296 NextProtoVector next_protos_; | 299 NextProtoVector next_protos_; |
| 297 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 300 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 298 | 301 |
| 299 Params params_; | 302 Params params_; |
| 300 }; | 303 }; |
| 301 | 304 |
| 302 } // namespace net | 305 } // namespace net |
| 303 | 306 |
| 304 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 307 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |