chromium/out/Default/gen/third_party/blink/public/mojom/webauthn/virtual_authenticator.mojom-shared.h

// third_party/blink/public/mojom/webauthn/virtual_authenticator.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 THIRD_PARTY_BLINK_PUBLIC_MOJOM_WEBAUTHN_VIRTUAL_AUTHENTICATOR_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_WEBAUTHN_VIRTUAL_AUTHENTICATOR_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 "third_party/blink/public/mojom/webauthn/virtual_authenticator.mojom-shared-internal.h"
#include "third_party/blink/public/mojom/webauthn/authenticator.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"


#include "base/component_export.h"




namespace blink::test::mojom {
class VirtualAuthenticatorOptionsDataView;

class RegisteredKeyDataView;



}  // blink::test::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::blink::test::mojom::VirtualAuthenticatorOptionsDataView> {};

template <>
struct MojomTypeTraits<::blink::test::mojom::RegisteredKeyDataView> {};

}  // namespace internal
}  // namespace mojo


namespace blink::testmojom  // blink::test::mojom

namespace std {

template <>
struct hash<::blink::test::mojom::ClientToAuthenticatorProtocol>
    : public mojo::internal::EnumHashImpl<::blink::test::mojom::ClientToAuthenticatorProtocol> {};

template <>
struct hash<::blink::test::mojom::Ctap2Version>
    : public mojo::internal::EnumHashImpl<::blink::test::mojom::Ctap2Version> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::blink::test::mojom::ClientToAuthenticatorProtocol, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::test::mojom::Ctap2Version, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::test::mojom::VirtualAuthenticatorOptionsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::test::mojom::RegisteredKeyDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace blink::test::mojom {



inline void RegisteredKeyDataView::GetKeyHandleDataView(
    mojo::ArrayDataView<uint8_t>* output) {}
inline void RegisteredKeyDataView::GetRpIdDataView(
    mojo::StringDataView* output) {}
inline void RegisteredKeyDataView::GetPrivateKeyDataView(
    mojo::ArrayDataView<uint8_t>* output) {}



}  // blink::test::mojom

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

namespace perfetto {

template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::test::mojom::ClientToAuthenticatorProtocol> {};

} // namespace perfetto

namespace perfetto {

template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::test::mojom::Ctap2Version> {};

} // namespace perfetto

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_WEBAUTHN_VIRTUAL_AUTHENTICATOR_MOJOM_SHARED_H_