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

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

Issue 2316573002: PlzNavigate: Support ResourceTiming API (Closed)
Patch Set: Rebase 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 8c9255f93b166d8f14d454bb2ebdb1c280b277e7..a82fc6094fbecb5fa83bf3e3df7df88bfb3f3757 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -425,6 +425,14 @@ void WebURLResponse::setRemotePort(unsigned short remotePort) {
m_resourceResponse->setRemotePort(remotePort);
}
+long long WebURLResponse::encodedDataLength() const {
+ return m_resourceResponse->encodedDataLength();
+}
+
+void WebURLResponse::addToEncodedDataLength(long long length) {
+ m_resourceResponse->addToEncodedDataLength(length);
+}
+
long long WebURLResponse::encodedBodyLength() const {
return m_resourceResponse->encodedBodyLength();
}
@@ -452,6 +460,10 @@ void WebURLResponse::setExtraData(WebURLResponse::ExtraData* extraData) {
m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData));
}
+void WebURLResponse::appendRedirectResponse(const WebURLResponse& response) {
+ m_resourceResponse->appendRedirectResponse(response.toResourceResponse());
+}
+
WebURLResponse::WebURLResponse(ResourceResponse& r) : m_resourceResponse(&r) {}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698