| 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 3b5126aea04bd0e021f38aba6e4f2318b8745f87..b6bce1038fb0dd886ea61f0a12cf88b29dcc0cb7 100644
|
| --- a/content/child/web_url_loader_impl.cc
|
| +++ b/content/child/web_url_loader_impl.cc
|
| @@ -1077,17 +1077,20 @@ void WebURLLoaderImpl::PopulateURLResponse(const GURL& url,
|
| response->setDidServiceWorkerNavigationPreload(
|
| info.did_service_worker_navigation_preload);
|
| response->setEncodedDataLength(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_previews_state(info.previews_state);
|
| extra_data->set_effective_connection_type(info.effective_connection_type);
|
|
|
|
|