Chromium Code Reviews| 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 1fb17cc11660e4837f5f800175bed79b3b6445d2..f80609ffedb8e84a9388de9ca8d7ca8a6f4c3173 100644 |
| --- a/content/browser/service_worker/service_worker_context_wrapper.h |
| +++ b/content/browser/service_worker/service_worker_context_wrapper.h |
| @@ -69,11 +69,13 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper |
| 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, |
| + const ResultCallback& done); |
|
michaeln
2014/10/15 22:21:36
since this method isn't in the public ServiceWorke
dmurph
2014/10/16 01:41:57
Done.
|
| virtual void DeleteForOrigin(const GURL& origin_url) override; |
| void AddObserver(ServiceWorkerContextObserver* observer); |
| @@ -95,6 +97,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 +114,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_; |