Chromium Code Reviews| 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 { |