summaryrefslogtreecommitdiff
path: root/chromium/net/base/load_timing_info.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-12 14:27:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-13 09:35:20 +0000
commitc30a6232df03e1efbd9f3b226777b07e087a1122 (patch)
treee992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/net/base/load_timing_info.h
parent7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff)
downloadqtwebengine-chromium-85-based.tar.gz
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/net/base/load_timing_info.h')
-rw-r--r--chromium/net/base/load_timing_info.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/chromium/net/base/load_timing_info.h b/chromium/net/base/load_timing_info.h
index e3ff12e34da..6952fc557ce 100644
--- a/chromium/net/base/load_timing_info.h
+++ b/chromium/net/base/load_timing_info.h
@@ -27,7 +27,6 @@ namespace net {
// The general order for events is:
// request_start
// service_worker_start_time
-// service_worker_ready_time
// proxy_start
// proxy_end
// dns_start
@@ -38,6 +37,10 @@ namespace net {
// connect_end
// send_start
// send_end
+// service_worker_ready_time
+// service_worker_fetch_start
+// service_worker_respond_with_settled
+// first_early_hints_time
// receive_headers_start
// receive_headers_end
//
@@ -149,7 +152,16 @@ struct NET_EXPORT LoadTimingInfo {
// if this is greater than |request_start|.
base::TimeTicks service_worker_ready_time;
- // The time spent determing which proxy to use. Null when there is no PAC.
+ // The time when serviceworker fetch event was popped off the event queue
+ // and fetch event handler started running.
+ // If the response is not provided by the ServiceWorker, kept empty.
+ base::TimeTicks service_worker_fetch_start;
+
+ // The time when serviceworker's fetch event's respondWith promise was
+ // settled. If the response is not provided by the ServiceWorker, kept empty.
+ base::TimeTicks service_worker_respond_with_settled;
+
+ // The time spent determining which proxy to use. Null when there is no PAC.
base::TimeTicks proxy_resolve_start;
base::TimeTicks proxy_resolve_end;
@@ -167,6 +179,9 @@ struct NET_EXPORT LoadTimingInfo {
base::TimeTicks receive_headers_start;
base::TimeTicks receive_headers_end;
+ // The time that the first 103 Early Hints response is received.
+ base::TimeTicks first_early_hints_time;
+
// In case the resource was proactively pushed by the server, these are
// the times that push started and ended. Note that push_end will be null
// if the request is still being transmitted, i.e. the underlying h2 stream