| Index: content/child/service_worker/service_worker_dispatcher.cc
|
| diff --git a/content/child/service_worker/service_worker_dispatcher.cc b/content/child/service_worker/service_worker_dispatcher.cc
|
| index c951f79376f3ba5a7e13307f73c4f6cb392b1733..d2ad86a7b94deb13abb636d28f648148cc1d5eb0 100644
|
| --- a/content/child/service_worker/service_worker_dispatcher.cc
|
| +++ b/content/child/service_worker/service_worker_dispatcher.cc
|
| @@ -124,6 +124,7 @@ void ServiceWorkerDispatcher::RegisterServiceWorker(
|
| int provider_id,
|
| const GURL& pattern,
|
| const GURL& script_url,
|
| + blink::WebServiceWorkerUpdateViaCache update_via_cache,
|
| std::unique_ptr<WebServiceWorkerRegistrationCallbacks> callbacks) {
|
| DCHECK(callbacks);
|
|
|
| @@ -138,7 +139,7 @@ void ServiceWorkerDispatcher::RegisterServiceWorker(
|
| }
|
|
|
| int request_id = pending_registration_callbacks_.Add(std::move(callbacks));
|
| - ServiceWorkerRegistrationOptions options(pattern);
|
| + ServiceWorkerRegistrationOptions options(pattern, update_via_cache);
|
|
|
| TRACE_EVENT_ASYNC_BEGIN2("ServiceWorker",
|
| "ServiceWorkerDispatcher::RegisterServiceWorker",
|
| @@ -189,6 +190,7 @@ void ServiceWorkerDispatcher::GetRegistration(
|
|
|
| int request_id =
|
| pending_get_registration_callbacks_.Add(std::move(callbacks));
|
| +
|
| TRACE_EVENT_ASYNC_BEGIN1("ServiceWorker",
|
| "ServiceWorkerDispatcher::GetRegistration",
|
| request_id,
|
|
|