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(); |