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

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: 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 135761f9a21049f9ef480de9ae1c2b22a618a28f..1a71d6a833953f91429faa85bb8422ddbc96f60e 100644
--- a/content/common/service_worker/service_worker_messages.h
+++ b/content/common/service_worker/service_worker_messages.h
@@ -78,6 +78,10 @@ IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent,
IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_FetchEvent,
content::ServiceWorkerFetchRequest)
+// Sent via EmbeddedWorker to dispatch sync event.
+IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent,
+ int /* active_version_embedded_worker_id */)
kinuko 2014/03/24 05:10:08 I don't really know what information this SyncEven
jkarlin 2014/03/25 18:28:17 Done.
+
// Informs the browser of a new ServiceWorkerProvider in the child process,
// |provider_id| is unique within its child process.
IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_ProviderCreated,
@@ -107,3 +111,6 @@ IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_InstallEventFinished)
IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_FetchEventFinished,
content::ServiceWorkerFetchEventResult,
content::ServiceWorkerResponse)
+
+// Informs the browser that sync event handling has finished.
+IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_SyncEventFinished)

Powered by Google App Engine
This is Rietveld 408576698