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

Unified Diff: Source/platform/network/ResourceResponse.h

Issue 938643002: Preserve original int64 time stamp in ResourceResponse. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 10 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
« no previous file with comments | « Source/platform/exported/WebURLResponse.cpp ('k') | Source/platform/network/ResourceResponse.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/ResourceResponse.h
diff --git a/Source/platform/network/ResourceResponse.h b/Source/platform/network/ResourceResponse.h
index 5ac1093d88c02041a854e387f6160c965ccd9544..f3cf2bb8ebba4f89097a725882ef12ac247e4b62 100644
--- a/Source/platform/network/ResourceResponse.h
+++ b/Source/platform/network/ResourceResponse.h
@@ -177,6 +177,7 @@ public:
double responseTime() const { return m_responseTime; }
void setResponseTime(double responseTime) { m_responseTime = responseTime; }
+ void setResponseTime(int64 responseTime) { m_originalResponseTime = responseTime; }
const AtomicString& remoteIPAddress() const { return m_remoteIPAddress; }
void setRemoteIPAddress(const AtomicString& value) { m_remoteIPAddress = value; }
@@ -281,6 +282,7 @@ private:
// The time at which the response headers were received. For cached
// responses, this time could be "far" in the past.
double m_responseTime;
+ int64 m_originalResponseTime;
// Remote IP address of the socket which fetched this resource.
AtomicString m_remoteIPAddress;
@@ -330,6 +332,7 @@ public:
WebServiceWorkerResponseType m_serviceWorkerResponseType;
KURL m_originalURLViaServiceWorker;
double m_responseTime;
+ int64 m_originalResponseTime;
String m_remoteIPAddress;
unsigned short m_remotePort;
String m_downloadedFilePath;
« no previous file with comments | « Source/platform/exported/WebURLResponse.cpp ('k') | Source/platform/network/ResourceResponse.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698