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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ProxyDelegate* proxy_delegate; | 176 ProxyDelegate* proxy_delegate; |
| 177 // Enable support for Token Binding. |
| 178 bool enable_token_binding; |
177 }; | 179 }; |
178 | 180 |
179 enum SocketPoolType { | 181 enum SocketPoolType { |
180 NORMAL_SOCKET_POOL, | 182 NORMAL_SOCKET_POOL, |
181 WEBSOCKET_SOCKET_POOL, | 183 WEBSOCKET_SOCKET_POOL, |
182 NUM_SOCKET_POOL_TYPES | 184 NUM_SOCKET_POOL_TYPES |
183 }; | 185 }; |
184 | 186 |
185 explicit HttpNetworkSession(const Params& params); | 187 explicit HttpNetworkSession(const Params& params); |
186 ~HttpNetworkSession(); | 188 ~HttpNetworkSession(); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 | 287 |
286 NextProtoVector next_protos_; | 288 NextProtoVector next_protos_; |
287 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 289 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
288 | 290 |
289 Params params_; | 291 Params params_; |
290 }; | 292 }; |
291 | 293 |
292 } // namespace net | 294 } // namespace net |
293 | 295 |
294 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 296 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |