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

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

Issue 2316573002: PlzNavigate: Support ResourceTiming API (Closed)
Patch Set: Move redirect response inside the final response. 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..e726c18004d94473a847b1de6a98bd5edd5fe363 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::setInitialURL(const WebURL& url)
+{
+ m_resourceRequest->setInitialURL(url);
+}
+
+void WebURLRequest::setNavigationStartTime(double navigationStart)
+{
+ m_resourceRequest->setNavigationStartTime(navigationStart);
+}
+
WebURLRequest::InputToLoadPerfMetricReportPolicy WebURLRequest::inputPerfMetricReportPolicy() const
{
return static_cast<WebURLRequest::InputToLoadPerfMetricReportPolicy>(

Powered by Google App Engine
This is Rietveld 408576698