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

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

Issue 2779763004: Create ServiceWorkerProviderHost before starting worker (Closed)
Patch Set: Rebased Created 3 years, 7 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_provider.mojom
diff --git a/content/common/service_worker/service_worker_provider.mojom b/content/common/service_worker/service_worker_provider.mojom
index 6c897f83d6e4092f35c1d3d36b231f2501975b95..8a57889d099fae04ca062efdd81972567994c25c 100644
--- a/content/common/service_worker/service_worker_provider.mojom
+++ b/content/common/service_worker/service_worker_provider.mojom
@@ -7,6 +7,22 @@ module content.mojom;
import "content/common/service_worker/service_worker_provider_interfaces.mojom";
import "content/common/service_worker/service_worker_types.mojom";
+// A container object carried from the browser to the renderer process.
+// This contains the params for the constructor of ServiceWorkerNetworkProvider.
+// This is passed on launching a worker's context.
+struct ServiceWorkerProviderClientInfo {
+ int32 provider_id;
+ ServiceWorkerProviderType type;
+ bool is_parent_frame_secure;
+ // |registration| and |attributes| are information about the registration
+ // currently to be launched.
+ ServiceWorkerRegistrationObjectInfo registration;
+ ServiceWorkerVersionAttributes attributes;
+
+ associated ServiceWorkerProviderHost host_ptr_info;
+ associated ServiceWorkerProvider& client_request;
+};
+
// A container object carried from the renderer to the browser process.
// This contains the params for the constructor of
// content::ServiceWorkerProviderHost.

Powered by Google App Engine
This is Rietveld 408576698