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

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

Issue 1157823003: Refactoring timing info for ServiceWorker controlled requests [2/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « 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 42c2a8c8aecbebe175d53d3e34f1f6c56e7d1d11..e023b308fa98d192dbc375192f3a8ada6b4a3972 100644
--- a/content/public/common/resource_response_info.h
+++ b/content/public/common/resource_response_info.h
@@ -120,11 +120,11 @@ struct ResourceResponseInfo {
// The type of the response which was fetched by the ServiceWorker.
blink::WebServiceWorkerResponseType response_type_via_service_worker;
- // ServiceWorker Timing Information. These will be set if the response is
- // provided by the ServiceWorker, or kept empty.
- base::TimeTicks service_worker_fetch_start;
- base::TimeTicks service_worker_fetch_ready;
- base::TimeTicks service_worker_fetch_end;
+ // 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.
+ // TODO(ksakamoto): Move this to net::LoadTimingInfo.
+ base::TimeTicks service_worker_start_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