// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_METRICS_STRUCTURED_PROJECT_VALIDATOR_H_ #define COMPONENTS_METRICS_STRUCTURED_PROJECT_VALIDATOR_H_ #include <cstdint> #include <optional> #include <string> #include <string_view> #include "components/metrics/structured/enums.h" #include "components/metrics/structured/event_validator.h" #include "third_party/metrics_proto/structured_data.pb.h" namespace metrics::structured { EventType; // Interface to be implemented by codegen for every project to validate // messages received by the structured metric service. class ProjectValidator { … }; } // namespace metrics::structured #endif // COMPONENTS_METRICS_STRUCTURED_PROJECT_VALIDATOR_H_