chromium/out/Default/gen/services/webnn/public/mojom/webnn_error.mojom-shared.h

// services/webnn/public/mojom/webnn_error.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_WEBNN_PUBLIC_MOJOM_WEBNN_ERROR_MOJOM_SHARED_H_
#define SERVICES_WEBNN_PUBLIC_MOJOM_WEBNN_ERROR_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/webnn/public/mojom/webnn_error.mojom-shared-internal.h"



#include "base/component_export.h"




namespace webnn::mojom {
class ErrorDataView;



}  // webnn::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::webnn::mojom::ErrorDataView> {};

}  // namespace internal
}  // namespace mojo


namespace webnnmojom  // webnn::mojom

namespace std {

template <>
struct hash<::webnn::mojom::Error_Code>
    : public mojo::internal::EnumHashImpl<::webnn::mojom::Error_Code> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::webnn::mojom::Error_Code, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::webnn::mojom::ErrorDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace webnn::mojom {

inline void ErrorDataView::GetMessageDataView(
    mojo::StringDataView* output) {}



}  // webnn::mojom

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

namespace perfetto {

template <>
struct COMPONENT_EXPORT(WEBNN_MOJOM_SHARED) TraceFormatTraits<::webnn::mojom::Error_Code> {};

} // namespace perfetto

#endif  // SERVICES_WEBNN_PUBLIC_MOJOM_WEBNN_ERROR_MOJOM_SHARED_H_