| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 std::set<HostPortPair> forced_spdy_exclusions; | 106 std::set<HostPortPair> forced_spdy_exclusions; |
| 107 // Process Alt-Svc headers. | 107 // Process Alt-Svc headers. |
| 108 bool use_alternative_services; | 108 bool use_alternative_services; |
| 109 // Only honor alternative service entries which have a higher probability | 109 // Only honor alternative service entries which have a higher probability |
| 110 // than this value. | 110 // than this value. |
| 111 double alternative_service_probability_threshold; | 111 double alternative_service_probability_threshold; |
| 112 | 112 |
| 113 // Enables NPN support. Note that ALPN is always enabled. | 113 // Enables NPN support. Note that ALPN is always enabled. |
| 114 bool enable_npn; | 114 bool enable_npn; |
| 115 | 115 |
| 116 // Enables Brotli Content-Encoding support. |
| 117 bool enable_brotli; |
| 118 |
| 116 // Enables QUIC support. | 119 // Enables QUIC support. |
| 117 bool enable_quic; | 120 bool enable_quic; |
| 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. |
| 124 bool quic_always_require_handshake_confirmation; | 127 bool quic_always_require_handshake_confirmation; |
| 125 // Disables QUIC connection pooling. | 128 // Disables QUIC connection pooling. |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 | 289 |
| 287 NextProtoVector next_protos_; | 290 NextProtoVector next_protos_; |
| 288 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 291 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 289 | 292 |
| 290 Params params_; | 293 Params params_; |
| 291 }; | 294 }; |
| 292 | 295 |
| 293 } // namespace net | 296 } // namespace net |
| 294 | 297 |
| 295 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 298 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |