#ifndef COMPONENTS_LENS_LENS_METADATA_MOJOM_SHARED_H_
#define COMPONENTS_LENS_LENS_METADATA_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/lens/lens_metadata.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
namespace lens::mojom {
class LatencyLogDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::lens::mojom::LatencyLogDataView> { … };
}
}
namespace lens::mojom {
enum class ImageFormat : int32_t { … };
std::ostream& operator<<(std::ostream& os, ImageFormat value);
inline bool IsKnownEnumValue(ImageFormat value) { … }
enum class Phase : int32_t { … };
std::ostream& operator<<(std::ostream& os, Phase value);
inline bool IsKnownEnumValue(Phase value) { … }
class LatencyLogDataView { … };
}
namespace std {
template <>
struct hash<::lens::mojom::ImageFormat>
: public mojo::internal::EnumHashImpl<::lens::mojom::ImageFormat> { … };
template <>
struct hash<::lens::mojom::Phase>
: public mojo::internal::EnumHashImpl<::lens::mojom::Phase> { … };
}
namespace mojo {
namespace internal {
Serializer< ::lens::mojom::ImageFormat, MaybeConstUserType>;
}
namespace internal {
Serializer< ::lens::mojom::Phase, MaybeConstUserType>;
}
namespace internal {
Serializer< ::lens::mojom::LatencyLogDataView, MaybeConstUserType>;
}
}
namespace lens::mojom {
inline void LatencyLogDataView::GetOriginalSizeDataView(
::gfx::mojom::SizeDataView* output) { … }
inline void LatencyLogDataView::GetDownscaledSizeDataView(
::gfx::mojom::SizeDataView* output) { … }
inline void LatencyLogDataView::GetTimeDataView(
::mojo_base::mojom::TimeDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::lens::mojom::ImageFormat> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::lens::mojom::Phase> { … };
}
#endif