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

Unified Diff: net/http/http_stream_factory_impl_job.h

Issue 2958133002: Change QuicStreamRequest::Request() to take a preferred QuicVersion so that (Closed)
Patch Set: Re #26 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_server_properties.h ('k') | net/http/http_stream_factory_impl_job.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_job.h
diff --git a/net/http/http_stream_factory_impl_job.h b/net/http/http_stream_factory_impl_job.h
index dbfa4d13a46d7da9965b91fde1e4ff0e40d353c7..e47b78913810620b5d667ccdc39c1dec5614b536 100644
--- a/net/http/http_stream_factory_impl_job.h
+++ b/net/http/http_stream_factory_impl_job.h
@@ -190,6 +190,7 @@ class HttpStreamFactoryImpl::Job {
HostPortPair destination,
GURL origin_url,
NextProto alternative_protocol,
+ QuicVersion quic_version,
const ProxyServer& alternative_proxy_server,
bool enable_ip_based_pooling,
NetLog* net_log);
@@ -445,6 +446,10 @@ class HttpStreamFactoryImpl::Job {
// True if Job uses QUIC.
const bool using_quic_;
+ // QuicVersion that should be used to connect to the QUIC server if Job uses
+ // QUIC.
+ QuicVersion quic_version_;
+
// True if Alternative Service protocol field requires that HTTP/2 is used.
// In this case, Job fails if it cannot pool to an existing SpdySession and
// the server does not negotiate HTTP/2 on a new socket.
@@ -536,6 +541,7 @@ class HttpStreamFactoryImpl::JobFactory {
HostPortPair destination,
GURL origin_url,
NextProto alternative_protocol,
+ QuicVersion quic_version,
bool enable_ip_based_pooling,
NetLog* net_log);
« no previous file with comments | « net/http/http_server_properties.h ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698