chromium/out/Default/gen/components/lens/lens_metadata.mojom-shared.h

// components/lens/lens_metadata.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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;



}  // lens::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::lens::mojom::LatencyLogDataView> {};

}  // namespace internal
}  // namespace mojo


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 {};


}  // lens::mojom

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 std

namespace mojo {


namespace internal {

Serializer< ::lens::mojom::ImageFormat, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::lens::mojom::Phase, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::lens::mojom::LatencyLogDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


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) {}



}  // lens::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

namespace perfetto {

template <>
struct  TraceFormatTraits<::lens::mojom::ImageFormat> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::lens::mojom::Phase> {};

} // namespace perfetto

#endif  // COMPONENTS_LENS_LENS_METADATA_MOJOM_SHARED_H_