#include "components/metrics/structured/mojom/event_mojom_traits.h"
#include <map>
#include <optional>
#include <string>
#include "base/strings/string_number_conversions.h"
#include "base/time/time.h"
#include "base/values.h"
#include "components/metrics/structured/event.h"
#include "components/metrics/structured/mojom/event.mojom.h"
namespace mojo {
metrics::structured::mojom::MetricValueDataView::Tag
UnionTraits<metrics::structured::mojom::MetricValueDataView,
metrics::structured::Event::MetricValue>::
GetTag(const metrics::structured::Event::MetricValue& metric_value) { … }
bool UnionTraits<metrics::structured::mojom::MetricValueDataView,
metrics::structured::Event::MetricValue>::
Read(metrics::structured::mojom::MetricValueDataView metric,
metrics::structured::Event::MetricValue* out) { … }
std::optional<base::TimeDelta> StructTraits<
metrics::structured::mojom::EventDataView,
metrics::structured::Event>::system_uptime(const metrics::structured::Event&
event) { … }
bool StructTraits<metrics::structured::mojom::EventDataView,
metrics::structured::Event>::
Read(metrics::structured::mojom::EventDataView event,
metrics::structured::Event* out) { … }
}