| Index: content/child/web_url_loader_impl.cc
|
| diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
|
| index e19bf5fc051e969decc0b37214975d882662f0a3..42eb9bc39fe168668a788480011c10dff523bb29 100644
|
| --- a/content/child/web_url_loader_impl.cc
|
| +++ b/content/child/web_url_loader_impl.cc
|
| @@ -1049,17 +1049,20 @@ void WebURLLoaderImpl::PopulateURLResponse(const GURL& url,
|
| [](const std::string& h) { return blink::WebString::fromLatin1(h); });
|
| response->setCorsExposedHeaderNames(cors_exposed_header_names);
|
| response->addToEncodedDataLength(info.encoded_data_length);
|
| + response->setALPNNegotiatedProtocol(
|
| + WebString::fromUTF8(info.alpn_negotiated_protocol));
|
| + response->setConnectionInfo(WebString::fromUTF8(
|
| + net::HttpResponseInfo::ConnectionInfoToString(info.connection_info)));
|
|
|
| SetSecurityStyleAndDetails(url, info, response, report_security_info);
|
|
|
| - WebURLResponseExtraDataImpl* extra_data =
|
| - new WebURLResponseExtraDataImpl(info.alpn_negotiated_protocol);
|
| + WebURLResponseExtraDataImpl* extra_data = new WebURLResponseExtraDataImpl();
|
| response->setExtraData(extra_data);
|
| +
|
| extra_data->set_was_fetched_via_spdy(info.was_fetched_via_spdy);
|
| extra_data->set_was_alpn_negotiated(info.was_alpn_negotiated);
|
| extra_data->set_was_alternate_protocol_available(
|
| info.was_alternate_protocol_available);
|
| - extra_data->set_connection_info(info.connection_info);
|
| extra_data->set_is_using_lofi(info.is_using_lofi);
|
| extra_data->set_effective_connection_type(info.effective_connection_type);
|
|
|
|
|