#ifndef COMPONENTS_METRICS_PUBLIC_MOJOM_CALL_STACK_PROFILE_COLLECTOR_MOJOM_SHARED_H_
#define COMPONENTS_METRICS_PUBLIC_MOJOM_CALL_STACK_PROFILE_COLLECTOR_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 "components/metrics/public/mojom/call_stack_profile_collector.mojom-shared-internal.h"
#include "mojo/public/mojom/base/byte_string.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
namespace metrics::mojom {
class SampledProfileDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::metrics::mojom::SampledProfileDataView> { … };
}
}
namespace metrics::mojom {
enum class ProfileType : int32_t { … };
std::ostream& operator<<(std::ostream& os, ProfileType value);
inline bool IsKnownEnumValue(ProfileType value) { … }
class CallStackProfileCollectorInterfaceBase { … };
CallStackProfileCollectorPtrDataView;
CallStackProfileCollectorRequestDataView;
CallStackProfileCollectorAssociatedPtrInfoDataView;
CallStackProfileCollectorAssociatedRequestDataView;
class SampledProfileDataView { … };
}
namespace std {
template <>
struct hash<::metrics::mojom::ProfileType>
: public mojo::internal::EnumHashImpl<::metrics::mojom::ProfileType> { … };
}
namespace mojo {
namespace internal {
Serializer< ::metrics::mojom::ProfileType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::metrics::mojom::SampledProfileDataView, MaybeConstUserType>;
}
}
namespace metrics::mojom {
inline void SampledProfileDataView::GetContentsDataView(
::mojo_base::mojom::ByteStringDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::metrics::mojom::ProfileType> { … };
}
#endif