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

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

Issue 1011013002: Make GetAlternateProtocolRequestFor return AlternativeService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: nit. Created 5 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
« no previous file with comments | « no previous file | 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 HttpStreamRequest* RequestStreamInternal( 69 HttpStreamRequest* RequestStreamInternal(
70 const HttpRequestInfo& info, 70 const HttpRequestInfo& info,
71 RequestPriority priority, 71 RequestPriority priority,
72 const SSLConfig& server_ssl_config, 72 const SSLConfig& server_ssl_config,
73 const SSLConfig& proxy_ssl_config, 73 const SSLConfig& proxy_ssl_config,
74 HttpStreamRequest::Delegate* delegate, 74 HttpStreamRequest::Delegate* delegate,
75 WebSocketHandshakeStreamBase::CreateHelper* create_helper, 75 WebSocketHandshakeStreamBase::CreateHelper* create_helper,
76 const BoundNetLog& net_log); 76 const BoundNetLog& net_log);
77 77
78 AlternateProtocolInfo GetAlternateProtocolRequestFor( 78 AlternativeService GetAlternativeServiceRequestFor(const GURL& original_url,
79 const GURL& original_url, 79 GURL* alternate_url);
80 GURL* alternate_url);
81 80
82 // Detaches |job| from |request|. 81 // Detaches |job| from |request|.
83 void OrphanJob(Job* job, const Request* request); 82 void OrphanJob(Job* job, const Request* request);
84 83
85 // Called when a SpdySession is ready. It will find appropriate Requests and 84 // Called when a SpdySession is ready. It will find appropriate Requests and
86 // fulfill them. |direct| indicates whether or not |spdy_session| uses a 85 // fulfill them. |direct| indicates whether or not |spdy_session| uses a
87 // proxy. 86 // proxy.
88 void OnNewSpdySessionReady(const base::WeakPtr<SpdySession>& spdy_session, 87 void OnNewSpdySessionReady(const base::WeakPtr<SpdySession>& spdy_session,
89 bool direct, 88 bool direct,
90 const SSLConfig& used_ssl_config, 89 const SSLConfig& used_ssl_config,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // deleted when the factory is destroyed. 128 // deleted when the factory is destroyed.
130 std::set<const Job*> preconnect_job_set_; 129 std::set<const Job*> preconnect_job_set_;
131 130
132 const bool for_websockets_; 131 const bool for_websockets_;
133 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); 132 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl);
134 }; 133 };
135 134
136 } // namespace net 135 } // namespace net
137 136
138 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 137 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
OLDNEW
« 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