| Index: content/browser/service_worker/service_worker_context_core.h
|
| diff --git a/content/browser/service_worker/service_worker_context_core.h b/content/browser/service_worker/service_worker_context_core.h
|
| index bb1fc8993cc8fca8c8472648306c06ccd72031bb..c837b46689afe8196daab3c02088d13068dc404a 100644
|
| --- a/content/browser/service_worker/service_worker_context_core.h
|
| +++ b/content/browser/service_worker/service_worker_context_core.h
|
| @@ -283,11 +283,11 @@ class CONTENT_EXPORT ServiceWorkerContextCore
|
|
|
| // Determines if there is a ServiceWorker registration that matches |url|, and
|
| // if |other_url| falls inside the scope of the same registration. See
|
| - // ServiceWorkerContext::CheckHasServiceWorker for more details.
|
| - void CheckHasServiceWorker(
|
| + // ServiceWorkerContext::CheckServiceWorkerStatus for more details.
|
| + void CheckServiceWorkerStatus(
|
| const GURL& url,
|
| const GURL& other_url,
|
| - const ServiceWorkerContext::CheckHasServiceWorkerCallback callback);
|
| + const ServiceWorkerContext::CheckServiceWorkerStatusCallback callback);
|
|
|
| void UpdateVersionFailureCount(int64_t version_id,
|
| ServiceWorkerStatusCode status);
|
| @@ -337,13 +337,13 @@ class CONTENT_EXPORT ServiceWorkerContextCore
|
| ServiceWorkerStatusCode status,
|
| const std::vector<ServiceWorkerRegistrationInfo>& registrations);
|
|
|
| - void DidFindRegistrationForCheckHasServiceWorker(
|
| + void DidFindRegistrationForCheckServiceWorkerStatus(
|
| const GURL& other_url,
|
| - const ServiceWorkerContext::CheckHasServiceWorkerCallback callback,
|
| + const ServiceWorkerContext::CheckServiceWorkerStatusCallback callback,
|
| ServiceWorkerStatusCode status,
|
| scoped_refptr<ServiceWorkerRegistration> registration);
|
| - void OnRegistrationFinishedForCheckHasServiceWorker(
|
| - const ServiceWorkerContext::CheckHasServiceWorkerCallback callback,
|
| + void OnRegistrationFinishedForCheckServiceWorkerStatus(
|
| + const ServiceWorkerContext::CheckServiceWorkerStatusCallback callback,
|
| scoped_refptr<ServiceWorkerRegistration> registration);
|
|
|
| // It's safe to store a raw pointer instead of a scoped_refptr to |wrapper_|
|
|
|