Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Unified Diff: content/child/web_url_loader_impl.cc

Issue 2429063002: Implement nextHopProtocol in PerformanceResourceTiming and PerformanceNavigationTiming.
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..0f5bc85986452fb726cc7c57ac93f38335df47c0 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -1055,6 +1055,8 @@ void WebURLLoaderImpl::PopulateURLResponse(const GURL& url,
WebURLResponseExtraDataImpl* extra_data =
new WebURLResponseExtraDataImpl(info.alpn_negotiated_protocol);
response->setExtraData(extra_data);
+ response->setALPNNegotiatedProtocol(
panicker 2016/10/19 00:25:11 move this before setting of extra data (line 1052
sunjian 2016/10/21 00:19:50 Done.
+ WebString::fromUTF8(info.alpn_negotiated_protocol));
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(

Powered by Google App Engine
This is Rietveld 408576698