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

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

Issue 214383005: Browser side of ServiceWorker requestSyncEvents() function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaned up the testing code 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 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 */);

Powered by Google App Engine
This is Rietveld 408576698