#include "components/metrics/structured/project_validator.h"
#include <cstdint>
#include <string_view>
#include "components/metrics/structured/enums.h"
#include "project_validator.h"
namespace metrics::structured {
ProjectValidator::ProjectValidator(uint64_t project_hash,
IdType id_type,
IdScope id_scope,
EventType event_type,
int key_rotation_period)
: … { … }
ProjectValidator::~ProjectValidator() = default;
const EventValidator* ProjectValidator::GetEventValidator(
std::string_view event_name) const { … }
std::optional<std::string_view> ProjectValidator::GetEventName(
uint64_t event_name_hash) const { … }
}