chromium/components/attribution_reporting/aggregatable_filtering_id_max_bytes.cc

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

#include "components/attribution_reporting/aggregatable_filtering_id_max_bytes.h"

#include <stddef.h>
#include <stdint.h>

#include <bit>
#include <optional>

#include "base/check.h"
#include "base/types/expected.h"
#include "base/types/expected_macros.h"
#include "base/values.h"
#include "components/attribution_reporting/constants.h"
#include "components/attribution_reporting/parsing_utils.h"
#include "components/attribution_reporting/trigger_registration_error.mojom.h"

namespace attribution_reporting {

namespace {

constexpr uint8_t kDefaultMaxBytes =;

bool IsMaxBytesValueValid(int max_bytes_value) {}

}  // namespace

AggregatableFilteringIdsMaxBytes::AggregatableFilteringIdsMaxBytes()
    :{}

AggregatableFilteringIdsMaxBytes::AggregatableFilteringIdsMaxBytes(int size)
    :{}

// static
std::optional<AggregatableFilteringIdsMaxBytes>
AggregatableFilteringIdsMaxBytes::Create(int size) {}

// static
base::expected<AggregatableFilteringIdsMaxBytes,
               mojom::TriggerRegistrationError>
AggregatableFilteringIdsMaxBytes::Parse(const base::Value::Dict& registration) {}

void AggregatableFilteringIdsMaxBytes::Serialize(
    base::Value::Dict& dict) const {}

bool AggregatableFilteringIdsMaxBytes::IsDefault() const {}

bool AggregatableFilteringIdsMaxBytes::CanEncompass(
    uint64_t filtering_id) const {}

}  // namespace attribution_reporting