chromium/components/attribution_reporting/debug_types.cc

// Copyright 2022 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/debug_types.h"

#include <string_view>

#include "base/containers/enum_set.h"
#include "base/containers/fixed_flat_map.h"
#include "base/notreached.h"
#include "base/types/expected.h"
#include "components/attribution_reporting/debug_types.mojom.h"
#include "components/attribution_reporting/parsing_utils.h"

namespace attribution_reporting {

namespace {

DebugDataType;

#define SOURCE_DEBUG_DATA_TYPES

#define TRIGGER_DEBUG_DATA_TYPES

#define OTHER_DEBUG_DATA_TYPES

}  // namespace

std::string_view SerializeDebugDataType(DebugDataType data_type) {}

#define STR_TO_TYPE

base::expected<DebugDataType, ParseError> ParseSourceDebugDataType(
    std::string_view str) {}

base::expected<DebugDataType, ParseError> ParseTriggerDebugDataType(
    std::string_view str) {}

#undef STR_TO_TYPE

#define ENUM_NAME

DebugDataTypes SourceDebugDataTypes() {}

DebugDataTypes TriggerDebugDataTypes() {}

#undef ENUM_NAME

#undef OTHER_DEBUG_DATA_TYPES
#undef TRIGGER_DEBUG_DATA_TYPES
#undef SOURCE_DEBUG_DATA_TYPES

}  // namespace attribution_reporting