#ifndef COMPONENTS_ATTRIBUTION_REPORTING_DEBUG_TYPES_H_
#define COMPONENTS_ATTRIBUTION_REPORTING_DEBUG_TYPES_H_
#include <string_view>
#include "base/component_export.h"
#include "base/containers/enum_set.h"
#include "base/types/expected.h"
#include "components/attribution_reporting/debug_types.mojom.h"
namespace attribution_reporting {
struct ParseError;
COMPONENT_EXPORT(ATTRIBUTION_REPORTING)
std::string_view SerializeDebugDataType(mojom::DebugDataType);
COMPONENT_EXPORT(ATTRIBUTION_REPORTING)
base::expected<mojom::DebugDataType, ParseError> ParseSourceDebugDataType(
std::string_view);
COMPONENT_EXPORT(ATTRIBUTION_REPORTING)
base::expected<mojom::DebugDataType, ParseError> ParseTriggerDebugDataType(
std::string_view);
DebugDataTypes;
COMPONENT_EXPORT(ATTRIBUTION_REPORTING)
DebugDataTypes SourceDebugDataTypes();
COMPONENT_EXPORT(ATTRIBUTION_REPORTING)
DebugDataTypes TriggerDebugDataTypes();
}
#endif