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

Side by Side Diff: net/http/http_stream_factory.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 | « net/http/http_network_transaction_unittest.cc ('k') | net/http/http_stream_factory_impl.h » ('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_STREAM_FACTORY_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 virtual HttpStreamRequest* RequestBidirectionalStreamImpl( 237 virtual HttpStreamRequest* RequestBidirectionalStreamImpl(
238 const HttpRequestInfo& info, 238 const HttpRequestInfo& info,
239 RequestPriority priority, 239 RequestPriority priority,
240 const SSLConfig& server_ssl_config, 240 const SSLConfig& server_ssl_config,
241 const SSLConfig& proxy_ssl_config, 241 const SSLConfig& proxy_ssl_config,
242 HttpStreamRequest::Delegate* delegate, 242 HttpStreamRequest::Delegate* delegate,
243 const BoundNetLog& net_log) = 0; 243 const BoundNetLog& net_log) = 0;
244 244
245 // Requests that enough connections for |num_streams| be opened. 245 // Requests that enough connections for |num_streams| be opened.
246 virtual void PreconnectStreams(int num_streams, 246 virtual void PreconnectStreams(int num_streams,
247 const HttpRequestInfo& info, 247 const HttpRequestInfo& info) = 0;
248 const SSLConfig& server_ssl_config,
249 const SSLConfig& proxy_ssl_config) = 0;
250 248
251 virtual const HostMappingRules* GetHostMappingRules() const = 0; 249 virtual const HostMappingRules* GetHostMappingRules() const = 0;
252 250
253 // Static settings 251 // Static settings
254 252
255 // Reset all static settings to initialized values. Used to init test suite. 253 // Reset all static settings to initialized values. Used to init test suite.
256 static void ResetStaticSettingsToInit(); 254 static void ResetStaticSettingsToInit();
257 255
258 // Turns spdy on or off. 256 // Turns spdy on or off.
259 // TODO(mmenke): Figure out if this can be made a property of the 257 // TODO(mmenke): Figure out if this can be made a property of the
(...skipping 22 matching lines...) Expand all
282 static bool spdy_enabled_; 280 static bool spdy_enabled_;
283 281
284 HostPortPair RewriteHost(HostPortPair host_port_pair); 282 HostPortPair RewriteHost(HostPortPair host_port_pair);
285 283
286 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory); 284 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory);
287 }; 285 };
288 286
289 } // namespace net 287 } // namespace net
290 288
291 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_ 289 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_
OLDNEW
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/http/http_stream_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698