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

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

Issue 1850043002: Check whether to enable token binding in preconnect.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: HttpNetworkSession::GetSSLConfig populates both server and proxy configs Created 4 years, 8 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
« no previous file with comments | « chrome/browser/net/preconnect.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 const Params& params() const { return params_; } 260 const Params& params() const { return params_; }
261 261
262 bool IsProtocolEnabled(AlternateProtocol protocol) const; 262 bool IsProtocolEnabled(AlternateProtocol protocol) const;
263 263
264 // Populates |*alpn_protos| with protocols to be used with ALPN. 264 // Populates |*alpn_protos| with protocols to be used with ALPN.
265 void GetAlpnProtos(NextProtoVector* alpn_protos) const; 265 void GetAlpnProtos(NextProtoVector* alpn_protos) const;
266 266
267 // Populates |*npn_protos| with protocols to be used with NPN. 267 // Populates |*npn_protos| with protocols to be used with NPN.
268 void GetNpnProtos(NextProtoVector* npn_protos) const; 268 void GetNpnProtos(NextProtoVector* npn_protos) const;
269 269
270 // Populates |server_config| and |proxy_config| based on this session and
271 // |request|.
272 void GetSSLConfig(const HttpRequestInfo& request,
273 SSLConfig* server_config,
274 SSLConfig* proxy_config) const;
275
270 private: 276 private:
271 friend class HttpNetworkSessionPeer; 277 friend class HttpNetworkSessionPeer;
272 278
273 ClientSocketPoolManager* GetSocketPoolManager(SocketPoolType pool_type); 279 ClientSocketPoolManager* GetSocketPoolManager(SocketPoolType pool_type);
274 280
275 NetLog* const net_log_; 281 NetLog* const net_log_;
276 const base::WeakPtr<HttpServerProperties> http_server_properties_; 282 const base::WeakPtr<HttpServerProperties> http_server_properties_;
277 CertVerifier* const cert_verifier_; 283 CertVerifier* const cert_verifier_;
278 HttpAuthHandlerFactory* const http_auth_handler_factory_; 284 HttpAuthHandlerFactory* const http_auth_handler_factory_;
279 285
(...skipping 13 matching lines...) Expand all
293 299
294 NextProtoVector next_protos_; 300 NextProtoVector next_protos_;
295 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 301 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
296 302
297 Params params_; 303 Params params_;
298 }; 304 };
299 305
300 } // namespace net 306 } // namespace net
301 307
302 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 308 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/preconnect.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698