#ifndef SERVICES_TRACING_PUBLIC_MOJOM_TRACE_CONFIG_MOJOM_TRAITS_H_
#define SERVICES_TRACING_PUBLIC_MOJOM_TRACE_CONFIG_MOJOM_TRAITS_H_
#include <string>
#include <vector>
#include "base/token.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "services/tracing/public/mojom/perfetto_service.mojom-shared.h"
#include "third_party/perfetto/include/perfetto/tracing/core/trace_config.h"
namespace mojo {
template <>
struct EnumTraits<tracing::mojom::BufferFillPolicy,
perfetto::TraceConfig::BufferConfig::FillPolicy> { … };
template <>
class StructTraits<tracing::mojom::BufferConfigDataView,
perfetto::TraceConfig::BufferConfig> { … };
template <>
class StructTraits<tracing::mojom::DataSourceDataView,
perfetto::TraceConfig::DataSource> { … };
template <>
class StructTraits<tracing::mojom::PerfettoBuiltinDataSourceDataView,
perfetto::TraceConfig::BuiltinDataSource> { … };
template <>
class StructTraits<tracing::mojom::IncrementalStateConfigDataView,
perfetto::TraceConfig::IncrementalStateConfig> { … };
template <>
class StructTraits<tracing::mojom::TraceConfigDataView, perfetto::TraceConfig> { … };
}
#endif