chromium/third_party/blink/public/mojom/frame/frame_policy.mojom

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module blink.mojom;

import "services/network/public/mojom/web_sandbox_flags.mojom";
import "third_party/blink/public/mojom/permissions_policy/permissions_policy.mojom";
import "third_party/blink/public/mojom/permissions_policy/document_policy_feature.mojom";
import "third_party/blink/public/mojom/permissions_policy/permissions_policy_feature.mojom";
import "third_party/blink/public/mojom/permissions_policy/policy_value.mojom";

// This struct holds frame policy value that needs to be passed from browser
// process to renderer process during navigation. It is used as a data
// member of CommitNavigationParams. For details, please refer to
// navigation_params.mojom.
struct FramePolicy {
  network.mojom.WebSandboxFlags sandbox_flags;
  array<blink.mojom.ParsedPermissionsPolicyDeclaration> container_policy;
  map<blink.mojom.DocumentPolicyFeature, blink.mojom.PolicyValue> required_document_policy;
};