#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_PERMISSIONS_POLICY_POLICY_HELPER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_PERMISSIONS_POLICY_POLICY_HELPER_H_
#include "third_party/blink/public/common/permissions_policy/permissions_policy.h"
#include "third_party/blink/public/mojom/devtools/console_message.mojom-blink.h"
#include "third_party/blink/public/mojom/permissions_policy/document_policy_feature.mojom-blink.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy_feature.mojom-blink-forward.h"
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/platform/wtf/hash_map.h"
#include "third_party/blink/renderer/platform/wtf/hash_set.h"
#include "third_party/blink/renderer/platform/wtf/hash_traits.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
namespace blink {
class PolicyParserMessageBuffer { … };
struct FeatureNameMapCacheKey { … };
FeatureNameMap;
FeatureNameMapCache;
DocumentPolicyFeatureSet;
class ExecutionContext;
class FeatureContext;
CORE_EXPORT const FeatureNameMap
GetDefaultFeatureNameMap(bool is_isolated_context);
const DocumentPolicyFeatureSet& GetAvailableDocumentPolicyFeatures();
CORE_EXPORT void ResetAvailableDocumentPolicyFeaturesForTest();
bool DisabledByOriginTrial(const String&, FeatureContext*);
bool DisabledByOriginTrial(mojom::blink::DocumentPolicyFeature,
FeatureContext*);
String PermissionsPolicyFeatureToProtocol(
mojom::blink::PermissionsPolicyFeature,
ExecutionContext*);
}
namespace WTF {
template <>
struct HashTraits<blink::FeatureNameMapCacheKey>
: SimpleClassHashTraits<blink::FeatureNameMapCacheKey> { … };
}
#endif