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

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

Issue 1270513002: Service Worker: Make ServiceWorkerRegistration.update() return a promise. (Chromium 2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass a raw ptr to callback's onError instead of a scoped_ptr. Created 5 years, 5 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_job_coordinator.h
diff --git a/content/browser/service_worker/service_worker_job_coordinator.h b/content/browser/service_worker/service_worker_job_coordinator.h
index af1a8d8cce624cebe389507cea4a995d0f4880a6..f82a788f4f00bb06297eb417d8b3883a8ceaec8b 100644
--- a/content/browser/service_worker/service_worker_job_coordinator.h
+++ b/content/browser/service_worker/service_worker_job_coordinator.h
@@ -38,6 +38,11 @@ class CONTENT_EXPORT ServiceWorkerJobCoordinator {
void Update(ServiceWorkerRegistration* registration, bool force_bypass_cache);
+ void Update(ServiceWorkerRegistration* registration,
+ bool force_bypass_cache,
+ ServiceWorkerProviderHost* provider_host,
+ const ServiceWorkerRegisterJob::RegistrationCallback& callback);
+
// Calls ServiceWorkerRegisterJobBase::Abort() on all jobs and removes them.
void AbortAll();

Powered by Google App Engine
This is Rietveld 408576698