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

Unified Diff: third_party/WebKit/Source/platform/network/ResourceRequest.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/network/ResourceRequest.cpp
diff --git a/third_party/WebKit/Source/platform/network/ResourceRequest.cpp b/third_party/WebKit/Source/platform/network/ResourceRequest.cpp
index 3e63db337cff78fbb3111d687e3e9e252b3b70dc..a47ec5a5d36e78f81e2b54c0d6f9545328ec1749 100644
--- a/third_party/WebKit/Source/platform/network/ResourceRequest.cpp
+++ b/third_party/WebKit/Source/platform/network/ResourceRequest.cpp
@@ -186,9 +186,9 @@ double ResourceRequest::timeoutInterval() const
return m_timeoutInterval;
}
-void ResourceRequest::setTimeoutInterval(double timeoutInterval)
+void ResourceRequest::setTimeoutInterval(double timoutIntervalSeconds)
{
- m_timeoutInterval = timeoutInterval;
+ m_timeoutInterval = timoutIntervalSeconds;
}
const KURL& ResourceRequest::firstPartyForCookies() const
@@ -380,6 +380,11 @@ void ResourceRequest::setExternalRequestStateFromRequestorAddressSpace(WebAddres
m_isExternalRequest = requestorSpace > targetSpace;
}
+void ResourceRequest::setNavigationStartTime(double navigationStart)
+{
+ m_navigationStart = navigationStart;
+}
+
bool ResourceRequest::isConditional() const
{
return (m_httpHeaderFields.contains(HTTPNames::If_Match)

Powered by Google App Engine
This is Rietveld 408576698