Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(775)

Unified Diff: content/browser/service_worker/service_worker_unregister_job.h

Issue 477593007: ServiceWorker: Make '.ready' return a promise to be resolved with ServiceWorkerRegistration (2/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/service_worker/service_worker_unregister_job.h
diff --git a/content/browser/service_worker/service_worker_unregister_job.h b/content/browser/service_worker/service_worker_unregister_job.h
index 5e627ae1a4e3a986fcf3ae1607100523e8dacf80..70824ac3fe1d2d62b7208089c18e96f89e554c8c 100644
--- a/content/browser/service_worker/service_worker_unregister_job.h
+++ b/content/browser/service_worker/service_worker_unregister_job.h
@@ -51,6 +51,8 @@ class ServiceWorkerUnregisterJob : public ServiceWorkerRegisterJobBase {
void Complete(ServiceWorkerStatusCode status);
void CompleteInternal(ServiceWorkerStatusCode status);
void ResolvePromise(ServiceWorkerStatusCode status);
+ void UnassociateProviderHostsFromRegistration(
+ ServiceWorkerRegistration* registration);
base::WeakPtr<ServiceWorkerContextCore> context_;
const GURL pattern_;

Powered by Google App Engine
This is Rietveld 408576698