Chromium Code Reviews| 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 // Controls whether or not SPDY is used without NPN. | 106 // Controls whether or not SPDY is used without NPN. |
| 107 bool force_spdy_always; | 107 bool force_spdy_always; |
| 108 // URLs to exclude from forced SPDY. | 108 // URLs to exclude from forced SPDY. |
| 109 std::set<HostPortPair> forced_spdy_exclusions; | 109 std::set<HostPortPair> forced_spdy_exclusions; |
| 110 // Noe: Using this in the case of NPN for HTTP only results in the browser | 110 // Noe: Using this in the case of NPN for HTTP only results in the browser |
| 111 // trying SSL and then falling back to http. | 111 // trying SSL and then falling back to http. |
| 112 bool use_alternate_protocols; | 112 bool use_alternate_protocols; |
| 113 double alternate_protocol_probability_threshold; | 113 double alternate_protocol_probability_threshold; |
| 114 | 114 |
| 115 bool enable_quic; | 115 bool enable_quic; |
| 116 bool enable_quic_for_proxies; | |
| 117 bool enable_quic_for_data_reduction_proxy; | |
|
Ryan Hamilton
2015/02/13 20:47:20
Where is this parameter being used? I didn't see i
mmenke
2015/02/13 20:57:24
+1. This is also a layering violation. We should
tbansal1
2015/02/13 21:26:37
Removed it, it was used in unit tests. Now, testin
| |
| 116 bool enable_quic_port_selection; | 118 bool enable_quic_port_selection; |
| 117 bool quic_always_require_handshake_confirmation; | 119 bool quic_always_require_handshake_confirmation; |
| 118 bool quic_disable_connection_pooling; | 120 bool quic_disable_connection_pooling; |
| 119 int quic_load_server_info_timeout_ms; | 121 int quic_load_server_info_timeout_ms; |
| 120 float quic_load_server_info_timeout_srtt_multiplier; | 122 float quic_load_server_info_timeout_srtt_multiplier; |
| 121 bool quic_enable_truncated_connection_ids; | 123 bool quic_enable_truncated_connection_ids; |
| 122 bool quic_enable_connection_racing; | 124 bool quic_enable_connection_racing; |
| 123 HostPortPair origin_to_force_quic_on; | 125 HostPortPair origin_to_force_quic_on; |
| 124 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. | 126 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. |
| 125 QuicRandom* quic_random; | 127 QuicRandom* quic_random; |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 248 | 250 |
| 249 NextProtoVector next_protos_; | 251 NextProtoVector next_protos_; |
| 250 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 252 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 251 | 253 |
| 252 Params params_; | 254 Params params_; |
| 253 }; | 255 }; |
| 254 | 256 |
| 255 } // namespace net | 257 } // namespace net |
| 256 | 258 |
| 257 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 259 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |