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

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

Issue 2316573002: PlzNavigate: Support ResourceTiming API (Closed)
Patch Set: Nit + rebase + build fix 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..c56316ad638156da634aa41c1f24a2cd5629ef1a 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
@@ -452,9 +452,9 @@ double WebURLRequest::uiStartTime() const
return m_resourceRequest->uiStartTime();
}
-void WebURLRequest::setUiStartTime(double time)
+void WebURLRequest::setUiStartTime(double timeSeconds)
{
- m_resourceRequest->setUIStartTime(time);
+ m_resourceRequest->setUIStartTime(timeSeconds);
}
bool WebURLRequest::isExternalRequest() const
@@ -469,6 +469,11 @@ WebURLRequest::LoadingIPCType WebURLRequest::getLoadingIPCType() const
return WebURLRequest::LoadingIPCType::ChromeIPC;
}
+void WebURLRequest::setNavigationStartTime(double navigationStartSeconds)
+{
+ m_resourceRequest->setNavigationStartTime(navigationStartSeconds);
+}
+
WebURLRequest::InputToLoadPerfMetricReportPolicy WebURLRequest::inputPerfMetricReportPolicy() const
{
return static_cast<WebURLRequest::InputToLoadPerfMetricReportPolicy>(

Powered by Google App Engine
This is Rietveld 408576698