#include "third_party/blink/renderer/modules/ad_auction/validate_blink_interest_group.h"
#include "base/feature_list.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/mojom/interest_group/interest_group_types.mojom-blink.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
#include "third_party/boringssl/src/include/openssl/curve25519.h"
#include "url/url_constants.h"
namespace blink {
namespace {
const size_t kMaxAdRenderIdSize = …;
bool IsUrlAllowedForRenderUrls(const KURL& url) { … }
bool IsUrlAllowed(const KURL& url, const mojom::blink::InterestGroup& group) { … }
bool IsUrlAllowedForTrustedBiddingSignals(
const KURL& url,
const mojom::blink::InterestGroup& group,
String& error_out) { … }
size_t EstimateHashMapSize(const HashMap<String, double>& hash_map) { … }
}
size_t EstimateBlinkInterestGroupSize(
const mojom::blink::InterestGroup& group) { … }
bool ValidateBlinkInterestGroup(const mojom::blink::InterestGroup& group,
String& error_field_name,
String& error_field_value,
String& error) { … }
}