| 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 9f6d060e9a4c039647f33bd56c5b86330a3aeda1..5fbe07c2b5d3a28d0fb144ed67ed77e138393efb 100644
|
| --- a/content/browser/service_worker/service_worker_context_wrapper.h
|
| +++ b/content/browser/service_worker/service_worker_context_wrapper.h
|
| @@ -74,6 +74,10 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
|
| OVERRIDE;
|
| virtual void Terminate() OVERRIDE;
|
| virtual void GetAllOriginsInfo(const GetUsageInfoCallback& callback) OVERRIDE;
|
| +
|
| + // Callback is called on the IO thread.
|
| + virtual void DeleteForOrigin(const GURL& origin_url,
|
| + const ResultCallback& result);
|
| virtual void DeleteForOrigin(const GURL& origin_url) OVERRIDE;
|
|
|
| void AddObserver(ServiceWorkerContextObserver* observer);
|
| @@ -95,6 +99,8 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
|
| friend class base::RefCountedThreadSafe<ServiceWorkerContextWrapper>;
|
| friend class EmbeddedWorkerTestHelper;
|
| friend class ServiceWorkerProcessManager;
|
| + friend class MockServiceWorkerContextWrapper;
|
| +
|
| virtual ~ServiceWorkerContextWrapper();
|
|
|
| void InitInternal(
|
| @@ -110,9 +116,6 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
|
| 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_;
|
|
|