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

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

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/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..f69ed20626806f231259e555858e0d7cad2980e4 100644
--- a/third_party/WebKit/Source/platform/network/ResourceRequest.h
+++ b/third_party/WebKit/Source/platform/network/ResourceRequest.h
@@ -89,6 +89,9 @@ public:
const KURL& url() const;
void setURL(const KURL& url);
+ const KURL& initialUrl() const;
+ void setInitialURL(const KURL&);
Nate Chapin 2016/09/08 18:41:13 Can we pull the initialURL off ResourceResponse, s
arthursonzogni 2016/09/09 12:45:33 That is certainly one reason why I liked having th
+
void removeCredentials();
WebCachePolicy getCachePolicy() const;
@@ -237,6 +240,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 +289,9 @@ private:
static double s_defaultTimeoutInterval;
RedirectStatus m_redirectStatus;
+
+ KURL m_initialUrl;
+ double m_navigationStart = 0;
};
struct CrossThreadResourceRequestData {

Powered by Google App Engine
This is Rietveld 408576698