| 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..959c55d687f48699ae34ae08fbb66912245e2bba 100644
|
| --- a/content/common/service_worker/service_worker_provider.mojom
|
| +++ b/content/common/service_worker/service_worker_provider.mojom
|
| @@ -6,6 +6,24 @@ module content.mojom;
|
|
|
| import "content/common/service_worker/service_worker_provider_interfaces.mojom";
|
| import "content/common/service_worker/service_worker_types.mojom";
|
| +import "content/common/url_loader_factory.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.
|
| +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;
|
| + associated URLLoaderFactory? script_loader_factory_ptr_info;
|
| +};
|
|
|
| // A container object carried from the renderer to the browser process.
|
| // This contains the parameters to specify the provider on the browser side.
|
| @@ -18,4 +36,4 @@ struct ServiceWorkerProviderHostInfo {
|
| bool is_parent_frame_secure;
|
| associated ServiceWorkerProviderHost& host_request;
|
| associated ServiceWorkerProvider client_ptr_info;
|
| -};
|
| +};
|
|
|