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

Unified Diff: third_party/WebKit/Source/platform/network/ResourceRequest.h

Issue 2316573002: PlzNavigate: Support ResourceTiming API (Closed)
Patch Set: nit: ResourceResponseInfo->ResourceResponseInfos 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.h
diff --git a/third_party/WebKit/Source/platform/network/ResourceRequest.h b/third_party/WebKit/Source/platform/network/ResourceRequest.h
index a43f60754a60f58a79bbd1ccf70706b6f0bdfd83..95182447027339eeac592e4019aafe908f107ea2 100644
--- a/third_party/WebKit/Source/platform/network/ResourceRequest.h
+++ b/third_party/WebKit/Source/platform/network/ResourceRequest.h
@@ -237,6 +237,9 @@ public:
void setRedirectStatus(RedirectStatus status) { m_redirectStatus = status; }
RedirectStatus redirectStatus() const { return m_redirectStatus; }
+ void setNavigationStartTime(double);
+ double navigationStartTime() const { return m_navigationStart; }
+
private:
void initialize(const KURL&);
@@ -283,6 +286,8 @@ private:
static double s_defaultTimeoutInterval;
RedirectStatus m_redirectStatus;
+
+ double m_navigationStart = 0;
};
struct CrossThreadResourceRequestData {

Powered by Google App Engine
This is Rietveld 408576698