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 31adb79b65c3f1d2aa3b96f05cf94d64c76ea787..e1e944363239851ad8e04bd6cece4c648ddd8b92 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -140,3 +140,7 @@ IPC_MESSAGE_CONTROL0(ServiceWorkerMsg_SyncEvent) |
// Informs the browser that sync event handling has finished. |
IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_SyncEventFinished) |
+ |
+// Informs the browser that the ServiceWorker would like to receive sync events. |
+IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_RequestSyncEvents, |
+ bool /* requested */); |