| Index: content/browser/service_worker/service_worker_context_core.h
|
| diff --git a/content/browser/service_worker/service_worker_context_core.h b/content/browser/service_worker/service_worker_context_core.h
|
| index ed583c47d405531597e84db9a3bd8c2b3006ce06..87c69099daa9f0e262f0e98a5fba58388d32885b 100644
|
| --- a/content/browser/service_worker/service_worker_context_core.h
|
| +++ b/content/browser/service_worker/service_worker_context_core.h
|
| @@ -154,6 +154,11 @@ class CONTENT_EXPORT ServiceWorkerContextCore
|
| const RegistrationCallback& callback);
|
| void UnregisterServiceWorker(const GURL& pattern,
|
| const UnregistrationCallback& callback);
|
| + // Callback is called issued after all unregistrations occur. The Status
|
| + // is populated as SERVICE_WORKER_OK if all succeed, or SERVICE_WORKER_FAILED
|
| + // if any did not succeed.
|
| + void UnregisterServiceWorkers(const GURL& origin,
|
| + const UnregistrationCallback& callback);
|
| void UpdateServiceWorker(ServiceWorkerRegistration* registration);
|
|
|
| // This class maintains collections of live instances, this class
|
| @@ -203,6 +208,11 @@ class CONTENT_EXPORT ServiceWorkerContextCore
|
| const UnregistrationCallback& callback,
|
| ServiceWorkerStatusCode status);
|
|
|
| + void DidGetAllRegistrationsForUnregisterForOrigin(
|
| + const UnregistrationCallback& result,
|
| + const GURL& origin,
|
| + const std::vector<ServiceWorkerRegistrationInfo>& registrations);
|
| +
|
| base::WeakPtrFactory<ServiceWorkerContextCore> weak_factory_;
|
| // It's safe to store a raw pointer instead of a scoped_refptr to |wrapper_|
|
| // because the Wrapper::Shutdown call that hops threads to destroy |this| uses
|
|
|