Chromium Code Reviews| Index: content/child/web_url_loader_impl.cc |
| diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc |
| index ba560b65593dff68bbdce1f7e24b8028acd8cb12..9c5dbc4810bdc30ab4610498626094e09e5e38fa 100644 |
| --- a/content/child/web_url_loader_impl.cc |
| +++ b/content/child/web_url_loader_impl.cc |
| @@ -767,6 +767,13 @@ void WebURLLoaderImpl::PopulateURLResponse(const GURL& url, |
| if (!info.load_timing.receive_headers_end.is_null()) { |
| WebURLLoadTiming timing; |
| PopulateURLLoadTiming(info.load_timing, &timing); |
| + const TimeTicks kNullTicks; |
| + timing.setServiceWorkerFetchStart( |
| + (info.service_worker_fetch_start - kNullTicks).InSecondsF()); |
| + timing.setServiceWorkerFetchReady( |
| + (info.service_worker_fetch_ready - kNullTicks).InSecondsF()); |
| + timing.setServiceWorkerFetchEnd( |
| + (info.service_worker_fetch_end - kNullTicks).InSecondsF()); |
|
mmenke
2014/09/04 14:53:51
+2 indent (x3)
shimazu
2014/09/05 04:18:48
Done.
|
| response->setLoadTiming(timing); |
| } |