| Index: net/quic/chromium/quic_stream_factory.h
|
| diff --git a/net/quic/chromium/quic_stream_factory.h b/net/quic/chromium/quic_stream_factory.h
|
| index 05d05d98ef872bc82984e000a2169dee2fef060d..e5f81d1295bb0010355f82ea6a26b571bbc2f0f4 100644
|
| --- a/net/quic/chromium/quic_stream_factory.h
|
| +++ b/net/quic/chromium/quic_stream_factory.h
|
| @@ -115,6 +115,7 @@ class NET_EXPORT_PRIVATE QuicStreamRequest {
|
| // |destination| will be resolved and resulting IPEndPoint used to open a
|
| // QuicConnection. This can be different than HostPortPair::FromURL(url).
|
| int Request(const HostPortPair& destination,
|
| + const QuicVersionVector& advertised_versions,
|
| PrivacyMode privacy_mode,
|
| int cert_verify_flags,
|
| const GURL& url,
|
| @@ -233,6 +234,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
|
| // OnRequestComplete asynchronously.
|
| int Create(const QuicServerId& server_id,
|
| const HostPortPair& destination,
|
| + const QuicVersionVector& advertised_versions,
|
| int cert_verify_flags,
|
| const GURL& url,
|
| QuicStringPiece method,
|
| @@ -401,6 +403,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
|
| bool HasActiveJob(const QuicServerId& server_id) const;
|
| bool HasActiveCertVerifierJob(const QuicServerId& server_id) const;
|
| int CreateSession(const QuicSessionKey& key,
|
| + const QuicVersion& quic_version,
|
| int cert_verify_flags,
|
| bool require_confirmation,
|
| const AddressList& address_list,
|
| @@ -414,6 +417,14 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
|
| void ConfigureInitialRttEstimate(const QuicServerId& server_id,
|
| QuicConfig* config);
|
|
|
| + // Returns the first mutually supported QUIC version in |supported_versions_|.
|
| + // If there is no mutually supported QUIC version, return the first entry in
|
| + // |supported_versions_|.
|
| + // |supproted_versions_| should be listed in the order of most preferred QUIC
|
| + // versions.
|
| + QuicVersion SelectQuicVersion(
|
| + const QuicVersionVector& advertised_versions) const;
|
| +
|
| // Returns |srtt| in micro seconds from ServerNetworkStats. Returns 0 if there
|
| // is no |http_server_properties_| or if |http_server_properties_| doesn't
|
| // have ServerNetworkStats for the given |server_id|.
|
|
|