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

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

Issue 2316573002: PlzNavigate: Support ResourceTiming API (Closed)
Patch Set: Support resourceLoadInfo (encodedDataLength) Created 4 years, 3 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/WebURLRequest.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
index 51d2d20d81d5c4fa13c926828105a18d49b27e83..899d6613e577b60ac6104cf7e4950f1155b81de1 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
@@ -469,6 +469,16 @@ WebURLRequest::LoadingIPCType WebURLRequest::getLoadingIPCType() const
return WebURLRequest::LoadingIPCType::ChromeIPC;
}
+void WebURLRequest::appendPreviousResponse(const WebURLResponse& response)
+{
+ m_resourceRequest->appendPreviousResponse(response);
+}
+
+void WebURLRequest::setPreviousNavigationStart(double navigationStart)
+{
+ m_resourceRequest->setPreviousNavigationStart(navigationStart);
+}
+
WebURLRequest::InputToLoadPerfMetricReportPolicy WebURLRequest::inputPerfMetricReportPolicy() const
{
return static_cast<WebURLRequest::InputToLoadPerfMetricReportPolicy>(

Powered by Google App Engine
This is Rietveld 408576698