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

Unified Diff: content/common/service_worker/service_worker_event_dispatcher.mojom

Issue 2678733002: [ServiceWorker] Mojofy ActivateEvent of Service Worker (Closed)
Patch Set: Just rebase Created 3 years, 10 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_event_dispatcher.mojom
diff --git a/content/common/service_worker/service_worker_event_dispatcher.mojom b/content/common/service_worker/service_worker_event_dispatcher.mojom
index 2f0b2b6920b091ba3359fb100860557ae6365c35..ad8d7ebe8a823fd4eb10a86649000a37e7219ad5 100644
--- a/content/common/service_worker/service_worker_event_dispatcher.mojom
+++ b/content/common/service_worker/service_worker_event_dispatcher.mojom
@@ -39,6 +39,9 @@ struct ExtendableMessageEvent {
// Renderer-side interface bound to ServiceWorkerContextClient for dispatching
// events.
interface ServiceWorkerEventDispatcher {
+ DispatchActivateEvent()
+ => (blink.mojom.ServiceWorkerEventStatus status,
+ mojo.common.mojom.Time dispatch_event_time);
// |fetch_event_id| is used internally when sending the response back to the
// browser process.
DispatchFetchEvent(int32 fetch_event_id, ServiceWorkerFetchRequest request,
« no previous file with comments | « content/browser/service_worker/service_worker_registration.cc ('k') | content/common/service_worker/service_worker_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698