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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLRequest.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/WebURLRequest.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
index e221d4d50f125ccdcb70b7bd9b77bf4626eacdbd..e9c6ada4290db5911190b538bc60454317a47c39 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
@@ -392,8 +392,8 @@ double WebURLRequest::uiStartTime() const {
return m_resourceRequest->uiStartTime();
}
-void WebURLRequest::setUiStartTime(double time) {
- m_resourceRequest->setUIStartTime(time);
+void WebURLRequest::setUiStartTime(double timeSeconds) {
+ m_resourceRequest->setUIStartTime(timeSeconds);
}
bool WebURLRequest::isExternalRequest() const {
@@ -406,6 +406,10 @@ 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