Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Side by Side Diff: net/http/http_network_session.h

Issue 1378613004: Set Token-Binding HTTP header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tb-tls-ext-new
Patch Set: Remove sequence numbers from mock reads Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // Specifes QUIC idle connection state lifetime. 184 // Specifes QUIC idle connection state lifetime.
185 int quic_idle_connection_timeout_seconds; 185 int quic_idle_connection_timeout_seconds;
186 // If true, disable preconnections if QUIC can do 0RTT. 186 // If true, disable preconnections if QUIC can do 0RTT.
187 bool quic_disable_preconnect_if_0rtt; 187 bool quic_disable_preconnect_if_0rtt;
188 // List of hosts for which QUIC is explicitly whitelisted. 188 // List of hosts for which QUIC is explicitly whitelisted.
189 std::unordered_set<std::string> quic_host_whitelist; 189 std::unordered_set<std::string> quic_host_whitelist;
190 // If true, active QUIC sessions may be migrated onto new IPs when network 190 // If true, active QUIC sessions may be migrated onto new IPs when network
191 // changes. 191 // changes.
192 bool quic_migrate_sessions_on_network_change; 192 bool quic_migrate_sessions_on_network_change;
193 ProxyDelegate* proxy_delegate; 193 ProxyDelegate* proxy_delegate;
194 // Enable support for Token Binding.
195 bool enable_token_binding;
194 }; 196 };
195 197
196 enum SocketPoolType { 198 enum SocketPoolType {
197 NORMAL_SOCKET_POOL, 199 NORMAL_SOCKET_POOL,
198 WEBSOCKET_SOCKET_POOL, 200 WEBSOCKET_SOCKET_POOL,
199 NUM_SOCKET_POOL_TYPES 201 NUM_SOCKET_POOL_TYPES
200 }; 202 };
201 203
202 explicit HttpNetworkSession(const Params& params); 204 explicit HttpNetworkSession(const Params& params);
203 ~HttpNetworkSession(); 205 ~HttpNetworkSession();
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 304
303 NextProtoVector next_protos_; 305 NextProtoVector next_protos_;
304 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 306 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
305 307
306 Params params_; 308 Params params_;
307 }; 309 };
308 310
309 } // namespace net 311 } // namespace net
310 312
311 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 313 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698