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..46b76e7b6a6b351b4de0fe3d066965cfc2c79675 100644 |
--- a/content/browser/service_worker/service_worker_context_wrapper.h |
+++ b/content/browser/service_worker/service_worker_context_wrapper.h |
@@ -74,6 +74,8 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper |
OVERRIDE; |
virtual void Terminate() OVERRIDE; |
virtual void GetAllOriginsInfo(const GetUsageInfoCallback& callback) OVERRIDE; |
+ // Callback is called on the IO thread. |
+ void DeleteForOrigin(const GURL& origin_url, const ResultCallback& done); |
jsbell
2014/10/08 19:26:41
`done` is a bit unusual - it should probably be a
dmurph
2014/10/11 00:02:26
Done.
|
virtual void DeleteForOrigin(const GURL& origin_url) OVERRIDE; |
void AddObserver(ServiceWorkerContextObserver* observer); |
@@ -112,6 +114,7 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper |
const std::vector<ServiceWorkerRegistrationInfo>& registrations); |
void DidGetAllRegistrationsForDeleteForOrigin( |
const GURL& origin, |
+ const ResultCallback& done, |
jsbell
2014/10/08 19:26:41
nit: callbacks usually come first or last... is th
dmurph
2014/10/11 00:02:26
Done.
|
const std::vector<ServiceWorkerRegistrationInfo>& registrations); |
const scoped_refptr<ObserverListThreadSafe<ServiceWorkerContextObserver> > |