| // Copyright 2017 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| module content.mojom; |
| |
| import "third_party/WebKit/common/net/ip_address_space.mojom"; |
| import "third_party/WebKit/public/platform/content_security_policy.mojom"; |
| import "url/mojo/url.mojom"; |
| |
| // Meta data that is necessary to create a new shared worker context. This |
| // structure gets populated when a new SharedWorker object is created in the |
| // parent context (e.g. Document), and passed onto the destination child |
| // process where the shared worker runs. |
| struct SharedWorkerInfo { |
| url.mojom.Url url; |
| string name; |
| string content_security_policy; |
| blink.mojom.ContentSecurityPolicyType content_security_policy_type; |
| blink.mojom.IPAddressSpace creation_address_space; |
| }; |