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

Unified Diff: content/child/service_worker/service_worker_dispatcher.h

Issue 354643003: ServiceWorker: Support navigator.serviceWorker.active (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/child/service_worker/service_worker_dispatcher.h
diff --git a/content/child/service_worker/service_worker_dispatcher.h b/content/child/service_worker/service_worker_dispatcher.h
index d36d8b4e2597ee300b9eacab53651bdaab30296f..573e68e5ba89f82ea973097d76ea2de5fcc3125c 100644
--- a/content/child/service_worker/service_worker_dispatcher.h
+++ b/content/child/service_worker/service_worker_dispatcher.h
@@ -126,6 +126,9 @@ class ServiceWorkerDispatcher : public WorkerTaskRunner::Observer {
void OnSetWaitingServiceWorker(int thread_id,
int provider_id,
const ServiceWorkerObjectInfo& info);
+ void OnSetActiveServiceWorker(int thread_id,
+ int provider_id,
+ const ServiceWorkerObjectInfo& info);
void OnSetControllerServiceWorker(int thread_id,
int provider_id,
const ServiceWorkerObjectInfo& info);

Powered by Google App Engine
This is Rietveld 408576698