| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 // Whether to enable Alt-Svc entries with hostname different than that of | 99 // Whether to enable Alt-Svc entries with hostname different than that of |
| 100 // the origin. | 100 // the origin. |
| 101 bool enable_alternative_service_with_different_host; | 101 bool enable_alternative_service_with_different_host; |
| 102 | 102 |
| 103 // Enables NPN support. Note that ALPN is always enabled. | 103 // Enables NPN support. Note that ALPN is always enabled. |
| 104 bool enable_npn; | 104 bool enable_npn; |
| 105 | 105 |
| 106 // Enables Brotli Content-Encoding support. | 106 // Enables Brotli Content-Encoding support. |
| 107 bool enable_brotli; | 107 bool enable_brotli; |
| 108 | 108 |
| 109 // Enable setting of HTTP/2 dependencies based on priority. |
| 110 bool enable_priority_dependencies; |
| 111 |
| 109 // Enables QUIC support. | 112 // Enables QUIC support. |
| 110 bool enable_quic; | 113 bool enable_quic; |
| 111 // Disable QUIC if a connection times out with open streams. | 114 // Disable QUIC if a connection times out with open streams. |
| 112 bool disable_quic_on_timeout_with_open_streams; | 115 bool disable_quic_on_timeout_with_open_streams; |
| 113 // Enables QUIC for proxies. | 116 // Enables QUIC for proxies. |
| 114 bool enable_quic_for_proxies; | 117 bool enable_quic_for_proxies; |
| 115 // Instruct QUIC to use consistent ephemeral ports when talking to | 118 // Instruct QUIC to use consistent ephemeral ports when talking to |
| 116 // the same server. | 119 // the same server. |
| 117 bool enable_quic_port_selection; | 120 bool enable_quic_port_selection; |
| 118 // Disables QUIC's 0-RTT behavior. | 121 // Disables QUIC's 0-RTT behavior. |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 | 292 |
| 290 NextProtoVector next_protos_; | 293 NextProtoVector next_protos_; |
| 291 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 294 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 292 | 295 |
| 293 Params params_; | 296 Params params_; |
| 294 }; | 297 }; |
| 295 | 298 |
| 296 } // namespace net | 299 } // namespace net |
| 297 | 300 |
| 298 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 301 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |