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

Unified Diff: public/platform/WebURLLoadTiming.h

Issue 15265004: Fix ResourceLoadTiming resolution lose issue. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add inline help function to satisfy inspector Created 7 years, 7 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/core/platform/network/ResourceLoadTiming.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebURLLoadTiming.h
diff --git a/public/platform/WebURLLoadTiming.h b/public/platform/WebURLLoadTiming.h
index 839276bfba0c0003eb26464502107f6ec4fe3279..fc185a5f8548460e3550e198be3e80cc84136675 100644
--- a/public/platform/WebURLLoadTiming.h
+++ b/public/platform/WebURLLoadTiming.h
@@ -60,6 +60,40 @@ public:
WEBKIT_EXPORT double requestTime() const;
WEBKIT_EXPORT void setRequestTime(double);
+#ifdef ENABLE_DOUBLE_RESOURCE_LOAD_TIMING
+ WEBKIT_EXPORT double proxyStart() const;
+ WEBKIT_EXPORT void setProxyStart(double);
+
+ WEBKIT_EXPORT double proxyEnd() const;
+ WEBKIT_EXPORT void setProxyEnd(double);
+
+ WEBKIT_EXPORT double dnsStart() const;
+ WEBKIT_EXPORT void setDNSStart(double);
+
+ WEBKIT_EXPORT double dnsEnd() const;
+ WEBKIT_EXPORT void setDNSEnd(double);
+
+ WEBKIT_EXPORT double connectStart() const;
+ WEBKIT_EXPORT void setConnectStart(double);
+
+ WEBKIT_EXPORT double connectEnd() const;
+ WEBKIT_EXPORT void setConnectEnd(double);
+
+ WEBKIT_EXPORT double sendStart() const;
+ WEBKIT_EXPORT void setSendStart(double);
+
+ WEBKIT_EXPORT double sendEnd() const;
+ WEBKIT_EXPORT void setSendEnd(double);
+
+ WEBKIT_EXPORT double receiveHeadersEnd() const;
+ WEBKIT_EXPORT void setReceiveHeadersEnd(double);
+
+ WEBKIT_EXPORT double sslStart() const;
+ WEBKIT_EXPORT void setSSLStart(double);
+
+ WEBKIT_EXPORT double sslEnd() const;
+ WEBKIT_EXPORT void setSSLEnd(double);
+#else
WEBKIT_EXPORT int proxyStart() const;
WEBKIT_EXPORT void setProxyStart(int);
@@ -92,6 +126,7 @@ public:
WEBKIT_EXPORT int sslEnd() const;
WEBKIT_EXPORT void setSSLEnd(int);
+#endif
#if WEBKIT_IMPLEMENTATION
WebURLLoadTiming(const WTF::PassRefPtr<WebCore::ResourceLoadTiming>&);
« no previous file with comments | « Source/core/platform/network/ResourceLoadTiming.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698