Index: content/browser/service_worker/service_worker_context_wrapper.h |
diff --git a/content/browser/service_worker/service_worker_context_wrapper.h b/content/browser/service_worker/service_worker_context_wrapper.h |
index 4ec775c38669e894bd0235b85b49f7b334124e55..1fb17cc11660e4837f5f800175bed79b3b6445d2 100644 |
--- a/content/browser/service_worker/service_worker_context_wrapper.h |
+++ b/content/browser/service_worker/service_worker_context_wrapper.h |
@@ -69,17 +69,12 @@ |
const GURL& pattern, |
const GURL& script_url, |
const ResultCallback& continuation) override; |
- virtual void UnregisterServiceWorker( |
- const GURL& pattern, |
- const ResultCallback& continuation) override; |
+ virtual void UnregisterServiceWorker(const GURL& pattern, |
+ const ResultCallback& continuation) |
+ override; |
virtual void Terminate() override; |
virtual void GetAllOriginsInfo(const GetUsageInfoCallback& callback) override; |
virtual void DeleteForOrigin(const GURL& origin_url) override; |
- |
- // DeleteForOrigin with completion callback. Does not exit early, and returns |
- // false if one or more of the deletions fail. |
- virtual void DeleteForOrigin(const GURL& origin_url, |
- const ResultCallback& done); |
void AddObserver(ServiceWorkerContextObserver* observer); |
void RemoveObserver(ServiceWorkerContextObserver* observer); |
@@ -100,7 +95,6 @@ |
friend class base::RefCountedThreadSafe<ServiceWorkerContextWrapper>; |
friend class EmbeddedWorkerTestHelper; |
friend class ServiceWorkerProcessManager; |
- |
virtual ~ServiceWorkerContextWrapper(); |
void InitInternal( |
@@ -116,6 +110,9 @@ |
void DidGetAllRegistrationsForGetAllOrigins( |
const GetUsageInfoCallback& callback, |
const std::vector<ServiceWorkerRegistrationInfo>& registrations); |
+ void DidGetAllRegistrationsForDeleteForOrigin( |
+ const GURL& origin, |
+ const std::vector<ServiceWorkerRegistrationInfo>& registrations); |
const scoped_refptr<ObserverListThreadSafe<ServiceWorkerContextObserver> > |
observer_list_; |