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

Unified Diff: content/public/common/resource_response_info.h

Issue 1146253004: Add workerReady timing for ServiceWorker controlled requests [2/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « content/public/common/resource_response.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_response_info.h
diff --git a/content/public/common/resource_response_info.h b/content/public/common/resource_response_info.h
index e023b308fa98d192dbc375192f3a8ada6b4a3972..861653917e7c5a837491206c28713662b2d17a5e 100644
--- a/content/public/common/resource_response_info.h
+++ b/content/public/common/resource_response_info.h
@@ -120,11 +120,15 @@ struct ResourceResponseInfo {
// The type of the response which was fetched by the ServiceWorker.
blink::WebServiceWorkerResponseType response_type_via_service_worker;
- // The time immediately before starting ServiceWorker, or if the worker is
- // already running, the time immediately before dispatching fetch event.
- // If the response is not provided by the ServiceWorker, it is kept empty.
+ // The time immediately before starting ServiceWorker. If the response is not
+ // provided by the ServiceWorker, kept empty.
// TODO(ksakamoto): Move this to net::LoadTimingInfo.
base::TimeTicks service_worker_start_time;
+
+ // The time immediately before dispatching fetch event in ServiceWorker.
+ // If the response is not provided by the ServiceWorker, kept empty.
+ // TODO(ksakamoto): Move this to net::LoadTimingInfo.
+ base::TimeTicks service_worker_ready_time;
};
} // namespace content
« no previous file with comments | « content/public/common/resource_response.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698