blob: 1047f8b076519eec1ce3c80b52cccdc4c9e8e8a9 [file] [log] [blame]
// 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 blink.mojom;
import "url/mojom/origin.mojom";
import "third_party/blink/public/mojom/feature_policy/feature_policy_feature.mojom";
// This struct holds feature policy allowlist data that needs to be replicated
// between a RenderFrame and any of its associated RenderFrameProxies. A list of
// these form a ParsedFeaturePolicy.
// NOTE: These types are used for replication frame state between processes.
struct ParsedFeaturePolicyDeclaration {
FeaturePolicyFeature feature;
array<url.mojom.Origin> allowed_origins;
bool matches_all_origins;
bool matches_opaque_src;
};