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

Unified Diff: net/http/http_stream_factory_impl.h

Issue 2928763002: Move SpdySessionRequestMap to SpdySessionPool (Closed)
Patch Set: address comment Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory_impl.h
diff --git a/net/http/http_stream_factory_impl.h b/net/http/http_stream_factory_impl.h
index 7fb6e756b7017d5b7413059b3cf3b940d8c17db2..058d702a44029d903ead1e01e8f85eb4aa522e1c 100644
--- a/net/http/http_stream_factory_impl.h
+++ b/net/http/http_stream_factory_impl.h
@@ -28,7 +28,6 @@ namespace net {
class HttpNetworkSession;
class ProxyInfo;
-class SpdySession;
class NetLogWithSource;
class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
@@ -92,8 +91,6 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
friend class HttpStreamFactoryImplPeer;
- typedef std::set<Request*> RequestSet;
- typedef std::map<SpdySessionKey, RequestSet> SpdySessionRequestMap;
typedef std::set<std::unique_ptr<JobController>> JobControllerSet;
// |PreconnectingProxyServer| holds information of a connection to a single
@@ -133,18 +130,6 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
bool enable_alternative_services,
const NetLogWithSource& net_log);
- // Called when a SpdySession is ready. It will find appropriate Requests and
- // fulfill them. |direct| indicates whether or not |spdy_session| uses a
- // proxy.
- void OnNewSpdySessionReady(const base::WeakPtr<SpdySession>& spdy_session,
- bool direct,
- const SSLConfig& used_ssl_config,
- const ProxyInfo& used_proxy_info,
- bool was_alpn_negotiated,
- NextProto negotiated_protocol,
- bool using_spdy,
- NetLogSource source_dependency);
-
// Called when the Job detects that the endpoint indicated by the
// Alternate-Protocol does not work. Lets the factory update
// HttpAlternateProtocols with the failure and resets the SPDY session key.
@@ -193,8 +178,6 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
// preconnects should be skipped.
std::set<PreconnectingProxyServer> preconnecting_proxy_servers_;
- SpdySessionRequestMap spdy_session_request_map_;
-
const bool for_websockets_;
// The count of JobControllers that was most recently logged to histograms.
« no previous file with comments | « no previous file | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698