| Index: content/browser/service_worker/service_worker_context_core.cc
|
| diff --git a/content/browser/service_worker/service_worker_context_core.cc b/content/browser/service_worker/service_worker_context_core.cc
|
| index 933aa5f7ce7618d4acc53aeeb103e2ab1fb5c977..1943ee890a619f5cfa219a71659c37460dca0ac1 100644
|
| --- a/content/browser/service_worker/service_worker_context_core.cc
|
| +++ b/content/browser/service_worker/service_worker_context_core.cc
|
| @@ -205,6 +205,14 @@ void ServiceWorkerContextCore::UnregisterServiceWorker(
|
| callback));
|
| }
|
|
|
| +void ServiceWorkerContextCore::UpdateServiceWorker(
|
| + ServiceWorkerRegistration* registration) {
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| + if (storage()->IsDisabled())
|
| + return;
|
| + job_coordinator_->Update(registration);
|
| +}
|
| +
|
| void ServiceWorkerContextCore::RegistrationComplete(
|
| const GURL& pattern,
|
| const ServiceWorkerContextCore::RegistrationCallback& callback,
|
|
|