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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 183 // Set of QUIC tags to send in the handshake's connection options. | 183 // Set of QUIC tags to send in the handshake's connection options. |
| 184 QuicTagVector quic_connection_options; | 184 QuicTagVector quic_connection_options; |
| 185 // If true, all QUIC sessions are closed when any local IP address changes. | 185 // If true, all QUIC sessions are closed when any local IP address changes. |
| 186 bool quic_close_sessions_on_ip_change; | 186 bool quic_close_sessions_on_ip_change; |
| 187 // Specifes QUIC idle connection state lifetime. | 187 // Specifes QUIC idle connection state lifetime. |
| 188 int quic_idle_connection_timeout_seconds; | 188 int quic_idle_connection_timeout_seconds; |
| 189 // If true, disable preconnections if QUIC can do 0RTT. | 189 // If true, disable preconnections if QUIC can do 0RTT. |
| 190 bool quic_disable_preconnect_if_0rtt; | 190 bool quic_disable_preconnect_if_0rtt; |
| 191 // List of hosts for which QUIC is explicitly whitelisted. | 191 // List of hosts for which QUIC is explicitly whitelisted. |
| 192 std::unordered_set<std::string> quic_host_whitelist; | 192 std::unordered_set<std::string> quic_host_whitelist; |
| 193 // If true, active QUIC sessions may be migrated onto new IPs when network | 193 // If true, active QUIC sessions may be migrated onto a new network when |
| 194 // changes. | 194 // the platform indicates that the default network is changing. |
| 195 bool quic_migrate_sessions_on_network_change; | 195 bool quic_migrate_sessions_on_network_change; |
| 196 // If true, active QUIC sessions may be migrated onto a new network when | |
| 197 // the session experiences poor connectivity. | |
|
Ryan Hamilton
2016/02/02 04:19:59
There's a bit of singular/plural confusion here wi
Jana
2016/02/02 06:53:53
Done.
| |
| 198 bool quic_migrate_sessions_early; | |
| 196 ProxyDelegate* proxy_delegate; | 199 ProxyDelegate* proxy_delegate; |
| 197 // Enable support for Token Binding. | 200 // Enable support for Token Binding. |
| 198 bool enable_token_binding; | 201 bool enable_token_binding; |
| 199 }; | 202 }; |
| 200 | 203 |
| 201 enum SocketPoolType { | 204 enum SocketPoolType { |
| 202 NORMAL_SOCKET_POOL, | 205 NORMAL_SOCKET_POOL, |
| 203 WEBSOCKET_SOCKET_POOL, | 206 WEBSOCKET_SOCKET_POOL, |
| 204 NUM_SOCKET_POOL_TYPES | 207 NUM_SOCKET_POOL_TYPES |
| 205 }; | 208 }; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 307 | 310 |
| 308 NextProtoVector next_protos_; | 311 NextProtoVector next_protos_; |
| 309 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 312 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 310 | 313 |
| 311 Params params_; | 314 Params params_; |
| 312 }; | 315 }; |
| 313 | 316 |
| 314 } // namespace net | 317 } // namespace net |
| 315 | 318 |
| 316 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 319 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |