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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp

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: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
index 37cb7efd45267e787428643bc033e131c43a66e5..e02537dcb61f3b0ed407d356a5404234caaec56d 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -460,6 +460,15 @@ void WebURLResponse::setExtraData(WebURLResponse::ExtraData* extraData) {
m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData));
}
+WebString WebURLResponse::alpnNegotiatedProtocol() const {
+ return m_resourceResponse->alpnNegotiatedProtocol();
+}
+
+void WebURLResponse::setALPNNegotiatedProtocol(
+ const WebString& alpnNegotiatedProtocol) {
+ m_resourceResponse->setALPNNegotiatedProtocol(alpnNegotiatedProtocol);
+}
+
void WebURLResponse::appendRedirectResponse(const WebURLResponse& response) {
m_resourceResponse->appendRedirectResponse(response.toResourceResponse());
}

Powered by Google App Engine
This is Rietveld 408576698