| Index: net/quic/chromium/quic_http_stream.cc
|
| diff --git a/net/quic/chromium/quic_http_stream.cc b/net/quic/chromium/quic_http_stream.cc
|
| index 4debbec04ae9181168f55064813d1167476bc7ee..62755b7adfc987e7f32478a7c3a89154f2dba9f2 100644
|
| --- a/net/quic/chromium/quic_http_stream.cc
|
| +++ b/net/quic/chromium/quic_http_stream.cc
|
| @@ -50,6 +50,7 @@ QuicHttpStream::QuicHttpStream(
|
| : MultiplexedHttpStream(MultiplexedSessionHandle(session)),
|
| next_state_(STATE_NONE),
|
| session_(session),
|
| + server_id_(session->server_id()),
|
| http_server_properties_(http_server_properties),
|
| quic_version_(session->GetQuicVersion()),
|
| session_error_(ERR_UNEXPECTED),
|
| @@ -422,6 +423,14 @@ bool QuicHttpStream::GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const {
|
| return true;
|
| }
|
|
|
| +bool QuicHttpStream::GetAlternativeService(
|
| + AlternativeService* alternative_service) const {
|
| + alternative_service->protocol = kProtoQUIC;
|
| + alternative_service->host = server_id_.host();
|
| + alternative_service->port = server_id_.port();
|
| + return true;
|
| +}
|
| +
|
| void QuicHttpStream::PopulateNetErrorDetails(NetErrorDetails* details) {
|
| details->connection_info = ConnectionInfoFromQuicVersion(quic_version_);
|
| if (was_handshake_confirmed_)
|
|
|