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

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

Issue 188663002: Revert of HttpServerProperties - Implement MRU for AlternateProtocolMap. Persist (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « net/http/http_server_properties_impl_unittest.cc ('k') | net/http/http_stream_factory_impl.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_STREAM_FACTORY_IMPL_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 const HttpRequestInfo& info, 83 const HttpRequestInfo& info,
84 RequestPriority priority, 84 RequestPriority priority,
85 const SSLConfig& server_ssl_config, 85 const SSLConfig& server_ssl_config,
86 const SSLConfig& proxy_ssl_config, 86 const SSLConfig& proxy_ssl_config,
87 HttpStreamRequest::Delegate* delegate, 87 HttpStreamRequest::Delegate* delegate,
88 WebSocketHandshakeStreamBase::CreateHelper* create_helper, 88 WebSocketHandshakeStreamBase::CreateHelper* create_helper,
89 const BoundNetLog& net_log); 89 const BoundNetLog& net_log);
90 90
91 PortAlternateProtocolPair GetAlternateProtocolRequestFor( 91 PortAlternateProtocolPair GetAlternateProtocolRequestFor(
92 const GURL& original_url, 92 const GURL& original_url,
93 GURL* alternate_url); 93 GURL* alternate_url) const;
94 94
95 // Detaches |job| from |request|. 95 // Detaches |job| from |request|.
96 void OrphanJob(Job* job, const Request* request); 96 void OrphanJob(Job* job, const Request* request);
97 97
98 // Called when a SpdySession is ready. It will find appropriate Requests and 98 // Called when a SpdySession is ready. It will find appropriate Requests and
99 // fulfill them. |direct| indicates whether or not |spdy_session| uses a 99 // fulfill them. |direct| indicates whether or not |spdy_session| uses a
100 // proxy. 100 // proxy.
101 void OnNewSpdySessionReady(const base::WeakPtr<SpdySession>& spdy_session, 101 void OnNewSpdySessionReady(const base::WeakPtr<SpdySession>& spdy_session,
102 bool direct, 102 bool direct,
103 const SSLConfig& used_ssl_config, 103 const SSLConfig& used_ssl_config,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // deleted when the factory is destroyed. 150 // deleted when the factory is destroyed.
151 std::set<const Job*> preconnect_job_set_; 151 std::set<const Job*> preconnect_job_set_;
152 152
153 const bool for_websockets_; 153 const bool for_websockets_;
154 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); 154 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl);
155 }; 155 };
156 156
157 } // namespace net 157 } // namespace net
158 158
159 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 159 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « net/http/http_server_properties_impl_unittest.cc ('k') | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698