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

Unified Diff: net/http/http_stream_factory_impl_job_controller.h

Issue 2964603002: JobController: do not create alternative job for those AlternativeServiceInfo (Closed)
Patch Set: 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
Index: net/http/http_stream_factory_impl_job_controller.h
diff --git a/net/http/http_stream_factory_impl_job_controller.h b/net/http/http_stream_factory_impl_job_controller.h
index 76a70e1aa7333e516c6b55f161925f6d3374f44d..e7b41816944ce9b8687d8ffbbcbc6c7691d280ea 100644
--- a/net/http/http_stream_factory_impl_job_controller.h
+++ b/net/http/http_stream_factory_impl_job_controller.h
@@ -265,6 +265,13 @@ class HttpStreamFactoryImpl::JobController
HttpStreamRequest::Delegate* delegate,
HttpStreamRequest::StreamType stream_type);
+ // Returns a QuicVersion that has been advertised in |advertised_versions|
+ // and supported by the net stack. If more than one QuicVersions are
Ryan Hamilton 2017/06/30 02:45:11 nit: can you remove "by the net stack" from this c
Zhongyi Shi 2017/06/30 21:08:43 Done.
+ // supported, the first matched in the supported versions will be returned.
+ // If no mutually supported version is found,
+ // QUIC_VERSION_UNSUPPORTED_VERSION will be returned.
+ QuicVersion SelectQuicVersion(const QuicVersionVector& advertised_versions);
+
// Remove session from the SpdySessionRequestMap.
void RemoveRequestFromSpdySessionRequestMap();

Powered by Google App Engine
This is Rietveld 408576698