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

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: Always initialize local variable to fix windows compile issue 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
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 f4779534d2c4f0597853dcaa2027436cd0c4589e..71bd77afa8717381fb24a8daa7483aba31e37918 100644
--- a/net/http/http_stream_factory_impl_job_controller.h
+++ b/net/http/http_stream_factory_impl_job_controller.h
@@ -277,6 +277,13 @@ class HttpStreamFactoryImpl::JobController
HttpStreamRequest::Delegate* delegate,
HttpStreamRequest::StreamType stream_type);
+ // Returns a QuicVersion that has been advertised in |advertised_versions|
+ // and is supported. If more than one QuicVersions are 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();
« no previous file with comments | « components/grpc_support/test/get_stream_engine.cc ('k') | net/http/http_stream_factory_impl_job_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698