#ifndef CONTENT_BROWSER_TRACING_TRACE_REPORT_TRACE_REPORT_MOJOM_SHARED_H_
#define CONTENT_BROWSER_TRACING_TRACE_REPORT_TRACE_REPORT_MOJOM_SHARED_H_
#include <stdint.h>
#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "content/browser/tracing/trace_report/trace_report.mojom-shared-internal.h"
#include "mojo/public/mojom/base/big_buffer.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "mojo/public/mojom/base/token.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
namespace trace_report::mojom {
class ClientTraceReportDataView;
class ScenarioDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::trace_report::mojom::ClientTraceReportDataView> { … };
template <>
struct MojomTypeTraits<::trace_report::mojom::ScenarioDataView> { … };
}
}
namespace trace_report::mojom {
enum class ReportUploadState : int32_t { … };
std::ostream& operator<<(std::ostream& os, ReportUploadState value);
inline bool IsKnownEnumValue(ReportUploadState value) { … }
enum class SkipUploadReason : int32_t { … };
std::ostream& operator<<(std::ostream& os, SkipUploadReason value);
inline bool IsKnownEnumValue(SkipUploadReason value) { … }
class TraceReportHandlerFactoryInterfaceBase { … };
TraceReportHandlerFactoryPtrDataView;
TraceReportHandlerFactoryRequestDataView;
TraceReportHandlerFactoryAssociatedPtrInfoDataView;
TraceReportHandlerFactoryAssociatedRequestDataView;
class PageHandlerInterfaceBase { … };
PageHandlerPtrDataView;
PageHandlerRequestDataView;
PageHandlerAssociatedPtrInfoDataView;
PageHandlerAssociatedRequestDataView;
class PageInterfaceBase { … };
PagePtrDataView;
PageRequestDataView;
PageAssociatedPtrInfoDataView;
PageAssociatedRequestDataView;
class ClientTraceReportDataView { … };
class ScenarioDataView { … };
}
namespace std {
template <>
struct hash<::trace_report::mojom::ReportUploadState>
: public mojo::internal::EnumHashImpl<::trace_report::mojom::ReportUploadState> { … };
template <>
struct hash<::trace_report::mojom::SkipUploadReason>
: public mojo::internal::EnumHashImpl<::trace_report::mojom::SkipUploadReason> { … };
}
namespace mojo {
namespace internal {
Serializer< ::trace_report::mojom::ReportUploadState, MaybeConstUserType>;
}
namespace internal {
Serializer< ::trace_report::mojom::SkipUploadReason, MaybeConstUserType>;
}
namespace internal {
Serializer< ::trace_report::mojom::ClientTraceReportDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::trace_report::mojom::ScenarioDataView, MaybeConstUserType>;
}
}
namespace trace_report::mojom {
inline void ClientTraceReportDataView::GetUuidDataView(
::mojo_base::mojom::TokenDataView* output) { … }
inline void ClientTraceReportDataView::GetCreationTimeDataView(
::mojo_base::mojom::TimeDataView* output) { … }
inline void ClientTraceReportDataView::GetScenarioNameDataView(
mojo::StringDataView* output) { … }
inline void ClientTraceReportDataView::GetUploadRuleNameDataView(
mojo::StringDataView* output) { … }
inline void ClientTraceReportDataView::GetUploadTimeDataView(
::mojo_base::mojom::TimeDataView* output) { … }
inline void ScenarioDataView::GetHashDataView(
mojo::StringDataView* output) { … }
inline void ScenarioDataView::GetScenarioNameDataView(
mojo::StringDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::trace_report::mojom::ReportUploadState> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::trace_report::mojom::SkipUploadReason> { … };
}
#endif