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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // Noe: Using this in the case of NPN for HTTP only results in the browser | 105 // Noe: Using this in the case of NPN for HTTP only results in the browser |
106 // trying SSL and then falling back to http. | 106 // trying SSL and then falling back to http. |
107 bool use_alternate_protocols; | 107 bool use_alternate_protocols; |
108 double alternate_protocol_probability_threshold; | 108 double alternate_protocol_probability_threshold; |
109 bool enable_websocket_over_spdy; | 109 bool enable_websocket_over_spdy; |
110 | 110 |
111 bool enable_quic; | 111 bool enable_quic; |
112 bool enable_quic_port_selection; | 112 bool enable_quic_port_selection; |
113 bool enable_quic_time_based_loss_detection; | 113 bool enable_quic_time_based_loss_detection; |
114 bool quic_always_require_handshake_confirmation; | 114 bool quic_always_require_handshake_confirmation; |
| 115 bool quic_disable_connection_pooling; |
115 HostPortPair origin_to_force_quic_on; | 116 HostPortPair origin_to_force_quic_on; |
116 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. | 117 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. |
117 QuicRandom* quic_random; | 118 QuicRandom* quic_random; |
118 size_t quic_max_packet_length; | 119 size_t quic_max_packet_length; |
119 std::string quic_user_agent_id; | 120 std::string quic_user_agent_id; |
120 bool enable_user_alternate_protocol_ports; | 121 bool enable_user_alternate_protocol_ports; |
121 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; | 122 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; |
122 QuicVersionVector quic_supported_versions; | 123 QuicVersionVector quic_supported_versions; |
123 QuicTagVector quic_connection_options; | 124 QuicTagVector quic_connection_options; |
124 }; | 125 }; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 | 239 |
239 std::vector<std::string> next_protos_; | 240 std::vector<std::string> next_protos_; |
240 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 241 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
241 | 242 |
242 Params params_; | 243 Params params_; |
243 }; | 244 }; |
244 | 245 |
245 } // namespace net | 246 } // namespace net |
246 | 247 |
247 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 248 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |