#ifndef COMPONENTS_METRICS_STRUCTURED_MOJOM_EVENT_MOJOM_TRAITS_H_
#define COMPONENTS_METRICS_STRUCTURED_MOJOM_EVENT_MOJOM_TRAITS_H_
#include <memory>
#include <optional>
#include "base/strings/string_number_conversions.h"
#include "components/metrics/structured/event.h"
#include "components/metrics/structured/mojom/event.mojom.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"
namespace mojo {
template <>
struct UnionTraits<metrics::structured::mojom::MetricValueDataView,
metrics::structured::Event::MetricValue> { … };
template <>
class StructTraits<metrics::structured::mojom::EventDataView,
metrics::structured::Event> { … };
}
#endif