chromium/out/Default/gen/services/device/public/mojom/fingerprint.mojom-shared.h

// services/device/public/mojom/fingerprint.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_DEVICE_PUBLIC_MOJOM_FINGERPRINT_MOJOM_SHARED_H_
#define SERVICES_DEVICE_PUBLIC_MOJOM_FINGERPRINT_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/device/public/mojom/fingerprint.mojom-shared-internal.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace device::mojom {
class FingerprintMessageDataView;


}  // device::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::device::mojom::FingerprintMessageDataView> {};

}  // namespace internal
}  // namespace mojo


namespace device::mojom {


enum class ScanResult : int32_t {};

 std::ostream& operator<<(std::ostream& os, ScanResult value);
inline bool IsKnownEnumValue(ScanResult value) {}


enum class FingerprintError : int32_t {};

 std::ostream& operator<<(std::ostream& os, FingerprintError value);
inline bool IsKnownEnumValue(FingerprintError value) {}


enum class BiometricType : int32_t {};

 std::ostream& operator<<(std::ostream& os, BiometricType value);
inline bool IsKnownEnumValue(BiometricType value) {}


enum class BiometricsManagerStatus : int32_t {};

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

FingerprintObserverPtrDataView;
FingerprintObserverRequestDataView;
FingerprintObserverAssociatedPtrInfoDataView;
FingerprintObserverAssociatedRequestDataView;
class FingerprintInterfaceBase {};

FingerprintPtrDataView;
FingerprintRequestDataView;
FingerprintAssociatedPtrInfoDataView;
FingerprintAssociatedRequestDataView;


class FingerprintMessageDataView {};



}  // device::mojom

namespace std {

template <>
struct hash<::device::mojom::ScanResult>
    : public mojo::internal::EnumHashImpl<::device::mojom::ScanResult> {};

template <>
struct hash<::device::mojom::FingerprintError>
    : public mojo::internal::EnumHashImpl<::device::mojom::FingerprintError> {};

template <>
struct hash<::device::mojom::BiometricType>
    : public mojo::internal::EnumHashImpl<::device::mojom::BiometricType> {};

template <>
struct hash<::device::mojom::BiometricsManagerStatus>
    : public mojo::internal::EnumHashImpl<::device::mojom::BiometricsManagerStatus> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::device::mojom::ScanResult, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::device::mojom::FingerprintError, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::device::mojom::BiometricType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::device::mojom::BiometricsManagerStatus, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::device::mojom::FingerprintMessageDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace device::mojom {



}  // device::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::device::mojom::ScanResult> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::device::mojom::FingerprintError> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::device::mojom::BiometricType> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::device::mojom::BiometricsManagerStatus> {};

} // namespace perfetto

#endif  // SERVICES_DEVICE_PUBLIC_MOJOM_FINGERPRINT_MOJOM_SHARED_H_