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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 std::set<HostPortPair> forced_spdy_exclusions; | 107 std::set<HostPortPair> forced_spdy_exclusions; |
108 // Process Alt-Svc headers. | 108 // Process Alt-Svc headers. |
109 bool use_alternative_services; | 109 bool use_alternative_services; |
110 // Only honor alternative service entries which have a higher probability | 110 // Only honor alternative service entries which have a higher probability |
111 // than this value. | 111 // than this value. |
112 double alternative_service_probability_threshold; | 112 double alternative_service_probability_threshold; |
113 | 113 |
114 // Enables NPN support. Note that ALPN is always enabled. | 114 // Enables NPN support. Note that ALPN is always enabled. |
115 bool enable_npn; | 115 bool enable_npn; |
116 | 116 |
| 117 // Enables Brotli Content-Encoding support. |
| 118 bool enable_brotli; |
| 119 |
117 // Enables QUIC support. | 120 // Enables QUIC support. |
118 bool enable_quic; | 121 bool enable_quic; |
119 // Enables QUIC for proxies. | 122 // Enables QUIC for proxies. |
120 bool enable_quic_for_proxies; | 123 bool enable_quic_for_proxies; |
121 // Instruct QUIC to use consistent ephemeral ports when talking to | 124 // Instruct QUIC to use consistent ephemeral ports when talking to |
122 // the same server. | 125 // the same server. |
123 bool enable_quic_port_selection; | 126 bool enable_quic_port_selection; |
124 // Disables QUIC's 0-RTT behavior. | 127 // Disables QUIC's 0-RTT behavior. |
125 bool quic_always_require_handshake_confirmation; | 128 bool quic_always_require_handshake_confirmation; |
126 // Disables QUIC connection pooling. | 129 // Disables QUIC connection pooling. |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 | 288 |
286 NextProtoVector next_protos_; | 289 NextProtoVector next_protos_; |
287 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 290 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
288 | 291 |
289 Params params_; | 292 Params params_; |
290 }; | 293 }; |
291 | 294 |
292 } // namespace net | 295 } // namespace net |
293 | 296 |
294 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 297 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |