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

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

Issue 2932003002: Implement nextHopProtocol in PerformanceResourceTiming and PerformanceNavigationTiming. (Closed)
Patch Set: Make ConnectionInfoString() return AtomicString Created 3 years, 6 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 e51c68658443f8aa1f5f1e7d408851add3efb6d7..61cf41eee5043ee0d63e3e129d5dfb9922dd8121 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -372,6 +372,24 @@ void WebURLResponse::AppendRedirectResponse(const WebURLResponse& response) {
resource_response_->AppendRedirectResponse(response.ToResourceResponse());
}
+WebString WebURLResponse::AlpnNegotiatedProtocol() const {
+ return resource_response_->AlpnNegotiatedProtocol();
+}
+
+void WebURLResponse::SetAlpnNegotiatedProtocol(
+ const WebString& alpn_negotiated_protocol) {
+ resource_response_->SetAlpnNegotiatedProtocol(alpn_negotiated_protocol);
+}
+
+net::HttpResponseInfo::ConnectionInfo WebURLResponse::ConnectionInfo() const {
+ return resource_response_->ConnectionInfo();
+}
+
+void WebURLResponse::SetConnectionInfo(
+ net::HttpResponseInfo::ConnectionInfo connection_info) {
+ resource_response_->SetConnectionInfo(connection_info);
+}
+
WebURLResponse::WebURLResponse(ResourceResponse& r) : resource_response_(&r) {}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698