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

Unified Diff: content/child/service_worker/service_worker_message_filter.cc

Issue 317953004: Set the "waiting" Service Worker of Service Worker providers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bring patch to head. Created 6 years, 6 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_message_filter.cc
diff --git a/content/child/service_worker/service_worker_message_filter.cc b/content/child/service_worker/service_worker_message_filter.cc
index ad3f4fb18c4e6003451d6da005657c9270f7636e..71632f765d3a7afb1232c48fa7a43ef11bdab070 100644
--- a/content/child/service_worker/service_worker_message_filter.cc
+++ b/content/child/service_worker/service_worker_message_filter.cc
@@ -61,8 +61,10 @@ void ServiceWorkerMessageFilter::OnStaleMessageReceived(
IPC_BEGIN_MESSAGE_MAP(ServiceWorkerMessageFilter, msg)
IPC_MESSAGE_HANDLER(ServiceWorkerMsg_ServiceWorkerRegistered,
OnStaleRegistered)
+ IPC_MESSAGE_HANDLER(ServiceWorkerMsg_SetWaitingServiceWorker,
+ OnStaleSetServiceWorker)
IPC_MESSAGE_HANDLER(ServiceWorkerMsg_SetCurrentServiceWorker,
- OnStaleSetCurrentServiceWorker)
+ OnStaleSetServiceWorker)
IPC_END_MESSAGE_MAP()
}
@@ -73,7 +75,7 @@ void ServiceWorkerMessageFilter::OnStaleRegistered(
SendServiceWorkerObjectDestroyed(thread_safe_sender_, info.handle_id);
}
-void ServiceWorkerMessageFilter::OnStaleSetCurrentServiceWorker(
+void ServiceWorkerMessageFilter::OnStaleSetServiceWorker(
int thread_id,
int provider_id,
const ServiceWorkerObjectInfo& info) {

Powered by Google App Engine
This is Rietveld 408576698