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 4016e4266254d6403c1afc96329018930ed3b932..66c0ee1d29b05b6c3fe3b1441de9ebb840d5d9bc 100644 |
--- a/content/common/service_worker/service_worker_provider.mojom |
+++ b/content/common/service_worker/service_worker_provider.mojom |
@@ -7,6 +7,20 @@ 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 service worker. |
falken
2017/06/19 07:50:40
"for the constructor of ServiceWorkerNetworkProvid
shimazu
2017/06/19 10:41:25
Done.
|
+struct ServiceWorkerProviderInfoForStartWorker { |
+ int32 provider_id; |
+ // |registration| and |attributes| are information about the service worker's |
+ // registration used to populate ServiceWorkerGlobalScope#registration. |
+ 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 parameters to specify the provider on the browser side. |
// See also comments in |