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

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

Issue 515583005: Add ServiceWorker timing information on the popup panel in DevTools's Network tab (1/2) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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: Source/platform/network/ResourceLoadTiming.h
diff --git a/Source/platform/network/ResourceLoadTiming.h b/Source/platform/network/ResourceLoadTiming.h
index 08df849710ebc99d8a4cd2ca76d808f8ab9b4453..0bed873d6e915daaa002f3c928e9b5ac62bd577f 100644
--- a/Source/platform/network/ResourceLoadTiming.h
+++ b/Source/platform/network/ResourceLoadTiming.h
@@ -51,6 +51,9 @@ public:
timing->dnsEnd = dnsEnd;
timing->connectStart = connectStart;
timing->connectEnd = connectEnd;
+ timing->fetchStart = fetchStart;
+ timing->launchServiceWorker = launchServiceWorker;
+ timing->fetchEnd = fetchEnd;
timing->sendStart = sendStart;
timing->sendEnd = sendEnd;
timing->receiveHeadersEnd = receiveHeadersEnd;
@@ -68,6 +71,9 @@ public:
&& dnsEnd == other.dnsEnd
&& connectStart == other.connectStart
&& connectEnd == other.connectEnd
+ && fetchStart == other.fetchStart
+ && launchServiceWorker == other.launchServiceWorker
+ && fetchEnd == other.fetchEnd
&& sendStart == other.sendStart
&& sendEnd == other.sendEnd
&& receiveHeadersEnd == other.receiveHeadersEnd
@@ -92,6 +98,9 @@ public:
double dnsEnd;
double connectStart;
double connectEnd;
+ double fetchStart;
+ double launchServiceWorker;
+ double fetchEnd;
double sendStart;
double sendEnd;
double receiveHeadersEnd;
@@ -109,6 +118,9 @@ private:
, dnsEnd(0)
, connectStart(0)
, connectEnd(0)
+ , fetchStart(0)
+ , launchServiceWorker(0)
+ , fetchEnd(0)
, sendStart(0)
, sendEnd(0)
, receiveHeadersEnd(0)

Powered by Google App Engine
This is Rietveld 408576698