chromium/third_party/blink/public/common/frame/frame_ad_evidence.h

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

#ifndef THIRD_PARTY_BLINK_PUBLIC_COMMON_FRAME_FRAME_AD_EVIDENCE_H_
#define THIRD_PARTY_BLINK_PUBLIC_COMMON_FRAME_FRAME_AD_EVIDENCE_H_

#include "base/check_op.h"
#include "third_party/blink/public/common/common_export.h"
#include "third_party/blink/public/mojom/ad_tagging/ad_evidence.mojom-shared.h"

namespace blink {

// Returns the stricter of the two load policies, as determined by the order
// of the blink::mojom::FilterListResult enum. Should mirror
// `LoadPolicy::MoreRestrictiveLoadPolicy()`.
mojom::FilterListResult MoreRestrictiveFilterListEvidence(
    mojom::FilterListResult a,
    mojom::FilterListResult b);

// Enumeration of evidence for or against a frame being an ad.
class BLINK_COMMON_EXPORT FrameAdEvidence {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_PUBLIC_COMMON_FRAME_FRAME_AD_EVIDENCE_H_