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

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

Issue 2958133002: Change QuicStreamRequest::Request() to take a preferred QuicVersion so that (Closed)
Patch Set: Add QuicStreamFactoryTest Created 3 years, 5 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
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_JOB_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // for this SpdySessionKey, since we may need to wait for NPN to complete 141 // for this SpdySessionKey, since we may need to wait for NPN to complete
142 // before knowing if SPDY is available. 142 // before knowing if SPDY is available.
143 virtual void SetSpdySessionKey(Job* job, 143 virtual void SetSpdySessionKey(Job* job,
144 const SpdySessionKey& spdy_session_key) = 0; 144 const SpdySessionKey& spdy_session_key) = 0;
145 145
146 // Remove session from the SpdySessionRequestMap. 146 // Remove session from the SpdySessionRequestMap.
147 virtual void RemoveRequestFromSpdySessionRequestMapForJob(Job* job) = 0; 147 virtual void RemoveRequestFromSpdySessionRequestMapForJob(Job* job) = 0;
148 148
149 virtual const NetLogWithSource* GetNetLog() const = 0; 149 virtual const NetLogWithSource* GetNetLog() const = 0;
150 150
151 virtual const QuicVersionVector& GetAdvertisedQuicVersions() const = 0;
Ryan Hamilton 2017/06/28 18:53:14 nit: Comment.
Zhongyi Shi 2017/07/05 23:08:59 This method has been removed.
152
151 virtual WebSocketHandshakeStreamBase::CreateHelper* 153 virtual WebSocketHandshakeStreamBase::CreateHelper*
152 websocket_handshake_stream_create_helper() = 0; 154 websocket_handshake_stream_create_helper() = 0;
153 155
154 virtual void MaybeSetWaitTimeForMainJob(const base::TimeDelta& delay) = 0; 156 virtual void MaybeSetWaitTimeForMainJob(const base::TimeDelta& delay) = 0;
155 157
156 virtual bool for_websockets() = 0; 158 virtual bool for_websockets() = 0;
157 }; 159 };
158 160
159 // Job is owned by |delegate|, hence |delegate| is valid for the lifetime of 161 // Job is owned by |delegate|, hence |delegate| is valid for the lifetime of
160 // the Job. 162 // the Job.
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 HostPortPair destination, 553 HostPortPair destination,
552 GURL origin_url, 554 GURL origin_url,
553 const ProxyServer& alternative_proxy_server, 555 const ProxyServer& alternative_proxy_server,
554 bool enable_ip_based_pooling, 556 bool enable_ip_based_pooling,
555 NetLog* net_log); 557 NetLog* net_log);
556 }; 558 };
557 559
558 } // namespace net 560 } // namespace net
559 561
560 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 562 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698