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

Unified Diff: content/common/service_worker/service_worker_messages.h

Issue 205033002: Browser side of new ServiceWorker 'sync' event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Kinuko comments Created 6 years, 9 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/common/service_worker/service_worker_messages.h
diff --git a/content/common/service_worker/service_worker_messages.h b/content/common/service_worker/service_worker_messages.h
index 0c64a55f74a35f95ca63e0212ad42e3329a07613..36424406d17c713950e1375bdd06395196427a9e 100644
--- a/content/common/service_worker/service_worker_messages.h
+++ b/content/common/service_worker/service_worker_messages.h
@@ -130,3 +130,8 @@ IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_Message,
std::vector<int> /* sent_message_port_ids */,
std::vector<int> /* new_routing_ids */)
+// Sent via EmbeddedWorker to dispatch sync event.
+IPC_MESSAGE_CONTROL0(ServiceWorkerMsg_SyncEvent)
+
+// Informs the browser that sync event handling has finished.
+IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_SyncEventFinished)

Powered by Google App Engine
This is Rietveld 408576698