1// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5module blink.mojom;
6
7import "services/network/public/mojom/content_security_policy.mojom";
8import "services/network/public/mojom/ip_address_space.mojom";
9import "third_party/blink/public/mojom/loader/fetch_client_settings_object.mojom";
10import "third_party/blink/public/mojom/worker/worker_options.mojom";
11import "url/mojom/url.mojom";
12
13// Meta data that is necessary to create a new shared worker context. This
14// structure gets populated when a new SharedWorker object is created in the
15// parent context (e.g. Document), and passed onto the destination child
16// process where the shared worker runs.
17struct SharedWorkerInfo {
18  url.mojom.Url url;
19  WorkerOptions options;
20  string content_security_policy;
21  network.mojom.ContentSecurityPolicyType content_security_policy_type;
22  network.mojom.IPAddressSpace creation_address_space;
23  FetchClientSettingsObject outside_fetch_client_settings_object;
24};
25