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 8494035e9fa9a47bc642b7f882fe26e3f48cc1a5..4eb6771dd3ef33da99b24890611f2981b82fc05e 100644 |
--- a/content/browser/service_worker/service_worker_context_wrapper.h |
+++ b/content/browser/service_worker/service_worker_context_wrapper.h |
@@ -85,6 +85,10 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper |
const net::CompletionCallback& callback) override; |
void GetAllOriginsInfo(const GetUsageInfoCallback& callback) override; |
void DeleteForOrigin(const GURL& origin_url) override; |
+ void CheckHasServiceWorker( |
+ const GURL& url, |
+ const GURL& other_url, |
+ const CheckHasServiceWorkerCallback& callback) override; |
// DeleteForOrigin with completion callback. Does not exit early, and returns |
// false if one or more of the deletions fail. |
@@ -129,6 +133,12 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper |
const GetUsageInfoCallback& callback, |
const std::vector<ServiceWorkerRegistrationInfo>& registrations); |
+ void DidFindRegistrationForCheckHasServiceWorker( |
+ const GURL& other_url, |
+ const CheckHasServiceWorkerCallback& callback, |
+ ServiceWorkerStatusCode status, |
+ const scoped_refptr<ServiceWorkerRegistration>& registration); |
+ |
const scoped_refptr<ObserverListThreadSafe<ServiceWorkerContextObserver> > |
observer_list_; |
const scoped_ptr<ServiceWorkerProcessManager> process_manager_; |