chromium/components/attribution_reporting/max_event_level_reports.cc

// Copyright 2023 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/max_event_level_reports.h"

#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/source_registration_error.mojom.h"
#include "components/attribution_reporting/source_type.mojom.h"

namespace attribution_reporting {

namespace {

SourceRegistrationError;
SourceType;

bool IsMaxEventLevelReportsValid(int i) {}

int DefaultMaxEventLevelReports(SourceType source_type) {}

}  // namespace

// static
base::expected<MaxEventLevelReports, SourceRegistrationError>
MaxEventLevelReports::Parse(const base::Value::Dict& dict,
                            SourceType source_type) {}

// static
MaxEventLevelReports MaxEventLevelReports::Max() {}

MaxEventLevelReports::MaxEventLevelReports(int max_event_level_reports)
    :{}

MaxEventLevelReports::MaxEventLevelReports(SourceType source_type)
    :{}

bool MaxEventLevelReports::SetIfValid(int max_event_level_reports) {}

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

}  // namespace attribution_reporting