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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 166 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; | 166 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; |
| 167 // Versions of QUIC which may be used. | 167 // Versions of QUIC which may be used. |
| 168 QuicVersionVector quic_supported_versions; | 168 QuicVersionVector quic_supported_versions; |
| 169 int quic_max_recent_disabled_reasons; | 169 int quic_max_recent_disabled_reasons; |
| 170 int quic_threshold_public_resets_post_handshake; | 170 int quic_threshold_public_resets_post_handshake; |
| 171 int quic_threshold_timeouts_streams_open; | 171 int quic_threshold_timeouts_streams_open; |
| 172 // Set of QUIC tags to send in the handshake's connection options. | 172 // Set of QUIC tags to send in the handshake's connection options. |
| 173 QuicTagVector quic_connection_options; | 173 QuicTagVector quic_connection_options; |
| 174 // If true, all QUIC sessions are closed when any local IP address changes. | 174 // If true, all QUIC sessions are closed when any local IP address changes. |
| 175 bool quic_close_sessions_on_ip_change; | 175 bool quic_close_sessions_on_ip_change; |
| 176 // If true, active QUIC sessions may be migrated onto new IPs on network | |
|
Ryan Hamilton
2015/11/18 22:23:35
nit: onto new IPs when the network changes?
Jana
2015/11/21 02:21:22
Done.
| |
| 177 // changes. | |
| 178 bool quic_migrate_sessions_on_network_change; | |
| 176 ProxyDelegate* proxy_delegate; | 179 ProxyDelegate* proxy_delegate; |
| 177 }; | 180 }; |
| 178 | 181 |
| 179 enum SocketPoolType { | 182 enum SocketPoolType { |
| 180 NORMAL_SOCKET_POOL, | 183 NORMAL_SOCKET_POOL, |
| 181 WEBSOCKET_SOCKET_POOL, | 184 WEBSOCKET_SOCKET_POOL, |
| 182 NUM_SOCKET_POOL_TYPES | 185 NUM_SOCKET_POOL_TYPES |
| 183 }; | 186 }; |
| 184 | 187 |
| 185 explicit HttpNetworkSession(const Params& params); | 188 explicit HttpNetworkSession(const Params& params); |
| (...skipping 99 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 |