#include "components/metrics/structured/event_validator.h"
#include <cstdint>
#include <string_view>
namespace metrics::structured {
EventValidator::EventValidator(uint64_t event_hash, bool force_record)
: … { … }
EventValidator::~EventValidator() = default;
uint64_t EventValidator::event_hash() const { … }
bool EventValidator::can_force_record() const { … }
std::optional<EventValidator::MetricMetadata> EventValidator::GetMetricMetadata(
const std::string& metric_name) const { … }
std::optional<std::string_view> EventValidator::GetMetricName(
uint64_t metric_name_hash) const { … }
}