chromium/out/Default/gen/components/page_image_service/mojom/page_image_service.mojom-shared.h

// components/page_image_service/mojom/page_image_service.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_PAGE_IMAGE_SERVICE_MOJOM_PAGE_IMAGE_SERVICE_MOJOM_SHARED_H_
#define COMPONENTS_PAGE_IMAGE_SERVICE_MOJOM_PAGE_IMAGE_SERVICE_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/page_image_service/mojom/page_image_service.mojom-shared-internal.h"
#include "url/mojom/url.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace page_image_service::mojom {
class OptionsDataView;

class ImageResultDataView;



}  // page_image_service::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::page_image_service::mojom::OptionsDataView> {};

template <>
struct MojomTypeTraits<::page_image_service::mojom::ImageResultDataView> {};

}  // namespace internal
}  // namespace mojo


namespace page_image_service::mojom {


enum class ClientId : int32_t {};

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

PageImageServiceHandlerPtrDataView;
PageImageServiceHandlerRequestDataView;
PageImageServiceHandlerAssociatedPtrInfoDataView;
PageImageServiceHandlerAssociatedRequestDataView;


class OptionsDataView {};


class ImageResultDataView {};


}  // page_image_service::mojom

namespace std {

template <>
struct hash<::page_image_service::mojom::ClientId>
    : public mojo::internal::EnumHashImpl<::page_image_service::mojom::ClientId> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::page_image_service::mojom::ClientId, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::page_image_service::mojom::OptionsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::page_image_service::mojom::ImageResultDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace page_image_service::mojom {



inline void ImageResultDataView::GetImageUrlDataView(
    ::url::mojom::UrlDataView* output) {}



}  // page_image_service::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::page_image_service::mojom::ClientId> {};

} // namespace perfetto

#endif  // COMPONENTS_PAGE_IMAGE_SERVICE_MOJOM_PAGE_IMAGE_SERVICE_MOJOM_SHARED_H_