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

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

Issue 2958753003: Revert "Create ServiceWorkerProviderHost before starting worker" (Closed)
Patch Set: Created 3 years, 6 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.mojom
diff --git a/content/common/service_worker/service_worker.mojom b/content/common/service_worker/service_worker.mojom
index b9834324e19301a12e65a63f59ce1e4535fede3f..7e8f5c8cd3ef4e4ba5d6b84b639a88d08e6d9d64 100644
--- a/content/common/service_worker/service_worker.mojom
+++ b/content/common/service_worker/service_worker.mojom
@@ -16,4 +16,12 @@ interface ServiceWorkerDispatcherHost {
// ServiceWorkerProviderHost will be tied to the
// mojom::ServiceWorkerProviderHost interface.
OnProviderCreated(ServiceWorkerProviderHostInfo provider_info);
+
+ // Informs the browser that a service worker is starting up. |provider_id|
+ // identifies the ServiceWorkerProviderHost hosting the service
+ // worker. |version_id| identifies the ServiceWorkerVersion and
+ // |embedded_worker_id| identifies the EmbeddedWorkerInstance.
+ OnSetHostedVersionId(int32 provider_id,
+ int64 version_id,
+ int32 embedded_worker_id);
};
« no previous file with comments | « content/common/service_worker/embedded_worker.mojom ('k') | content/common/service_worker/service_worker_provider.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698