| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 SpdySessionPool::TimeFunc time_func; | 96 SpdySessionPool::TimeFunc time_func; |
| 97 // Whether to parse Alt-Svc headers. | 97 // Whether to parse Alt-Svc headers. |
| 98 bool parse_alternative_services; | 98 bool parse_alternative_services; |
| 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. | |
| 107 bool enable_brotli; | |
| 108 | |
| 109 // Enable setting of HTTP/2 dependencies based on priority. | 106 // Enable setting of HTTP/2 dependencies based on priority. |
| 110 bool enable_priority_dependencies; | 107 bool enable_priority_dependencies; |
| 111 | 108 |
| 112 // Enables QUIC support. | 109 // Enables QUIC support. |
| 113 bool enable_quic; | 110 bool enable_quic; |
| 114 // Disable QUIC if a connection times out with open streams. | 111 // Disable QUIC if a connection times out with open streams. |
| 115 bool disable_quic_on_timeout_with_open_streams; | 112 bool disable_quic_on_timeout_with_open_streams; |
| 116 // Enables QUIC for proxies. | 113 // Enables QUIC for proxies. |
| 117 bool enable_quic_for_proxies; | 114 bool enable_quic_for_proxies; |
| 118 // Instruct QUIC to use consistent ephemeral ports when talking to | 115 // Instruct QUIC to use consistent ephemeral ports when talking to |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 | 296 |
| 300 NextProtoVector next_protos_; | 297 NextProtoVector next_protos_; |
| 301 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 298 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 302 | 299 |
| 303 Params params_; | 300 Params params_; |
| 304 }; | 301 }; |
| 305 | 302 |
| 306 } // namespace net | 303 } // namespace net |
| 307 | 304 |
| 308 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 305 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |