chromium/out/Default/gen/services/data_decoder/public/mojom/image_decoder.mojom-shared.h

// services/data_decoder/public/mojom/image_decoder.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 SERVICES_DATA_DECODER_PUBLIC_MOJOM_IMAGE_DECODER_MOJOM_SHARED_H_
#define SERVICES_DATA_DECODER_PUBLIC_MOJOM_IMAGE_DECODER_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 "services/data_decoder/public/mojom/image_decoder.mojom-shared-internal.h"
#include "mojo/public/mojom/base/big_buffer.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "skia/public/mojom/bitmap.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace data_decoder::mojom {
class AnimationFrameDataView;



}  // data_decoder::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::data_decoder::mojom::AnimationFrameDataView> {};

}  // namespace internal
}  // namespace mojo


namespace data_decoder::mojom {


enum class ImageCodec : int32_t {};

 std::ostream& operator<<(std::ostream& os, ImageCodec value);
inline bool IsKnownEnumValue(ImageCodec value) {}
// Interface base classes. They are used for type safety check.
class ImageDecoderInterfaceBase {};

ImageDecoderPtrDataView;
ImageDecoderRequestDataView;
ImageDecoderAssociatedPtrInfoDataView;
ImageDecoderAssociatedRequestDataView;


class AnimationFrameDataView {};


}  // data_decoder::mojom

namespace std {

template <>
struct hash<::data_decoder::mojom::ImageCodec>
    : public mojo::internal::EnumHashImpl<::data_decoder::mojom::ImageCodec> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::data_decoder::mojom::ImageCodec, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::data_decoder::mojom::AnimationFrameDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace data_decoder::mojom {

inline void AnimationFrameDataView::GetBitmapDataView(
    ::skia::mojom::InlineBitmapDataView* output) {}
inline void AnimationFrameDataView::GetDurationDataView(
    ::mojo_base::mojom::TimeDeltaDataView* output) {}



}  // data_decoder::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::data_decoder::mojom::ImageCodec> {};

} // namespace perfetto

#endif  // SERVICES_DATA_DECODER_PUBLIC_MOJOM_IMAGE_DECODER_MOJOM_SHARED_H_