chromium/out/Default/gen/third_party/blink/public/mojom/webid/federated_auth_request.mojom-shared.h

// third_party/blink/public/mojom/webid/federated_auth_request.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_WEBID_FEDERATED_AUTH_REQUEST_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_WEBID_FEDERATED_AUTH_REQUEST_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/webid/federated_auth_request.mojom-shared-internal.h"
#include "third_party/blink/public/mojom/credentialmanagement/credential_manager.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"
#include "url/mojom/origin.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::mojom {
class IdentityProviderConfigDataView;

class IdentityProviderRequestOptionsDataView;

class IdentityCredentialDisconnectOptionsDataView;

class IdentityUserInfoDataView;

class IdentityProviderGetParametersDataView;

class TokenErrorDataView;



}  // blink::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::blink::mojom::IdentityProviderConfigDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::IdentityProviderRequestOptionsDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::IdentityCredentialDisconnectOptionsDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::IdentityUserInfoDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::IdentityProviderGetParametersDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::TokenErrorDataView> {};

}  // namespace internal
}  // namespace mojo


namespace blinkmojom  // blink::mojom

namespace std {

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

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

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

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

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

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

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

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::blink::mojom::RequestTokenStatus, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::RequestUserInfoStatus, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::DisconnectStatus, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::IdpSigninStatus, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::RpContext, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::RpMode, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::RegisterIdpStatus, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::IdentityProviderConfigDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::IdentityProviderRequestOptionsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::IdentityCredentialDisconnectOptionsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::IdentityUserInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::IdentityProviderGetParametersDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::TokenErrorDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace blink::mojom {

inline void IdentityProviderConfigDataView::GetConfigUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void IdentityProviderConfigDataView::GetTypeDataView(
    mojo::StringDataView* output) {}
inline void IdentityProviderConfigDataView::GetClientIdDataView(
    mojo::StringDataView* output) {}


inline void IdentityProviderRequestOptionsDataView::GetConfigDataView(
    IdentityProviderConfigDataView* output) {}
inline void IdentityProviderRequestOptionsDataView::GetNonceDataView(
    mojo::StringDataView* output) {}
inline void IdentityProviderRequestOptionsDataView::GetLoginHintDataView(
    mojo::StringDataView* output) {}
inline void IdentityProviderRequestOptionsDataView::GetDomainHintDataView(
    mojo::StringDataView* output) {}
inline void IdentityProviderRequestOptionsDataView::GetFieldsDataView(
    mojo::ArrayDataView<mojo::StringDataView>* output) {}
inline void IdentityProviderRequestOptionsDataView::GetParamsDataView(
    mojo::MapDataView<mojo::StringDataView, mojo::StringDataView>* output) {}


inline void IdentityCredentialDisconnectOptionsDataView::GetConfigDataView(
    IdentityProviderConfigDataView* output) {}
inline void IdentityCredentialDisconnectOptionsDataView::GetAccountHintDataView(
    mojo::StringDataView* output) {}


inline void IdentityUserInfoDataView::GetEmailDataView(
    mojo::StringDataView* output) {}
inline void IdentityUserInfoDataView::GetGivenNameDataView(
    mojo::StringDataView* output) {}
inline void IdentityUserInfoDataView::GetNameDataView(
    mojo::StringDataView* output) {}
inline void IdentityUserInfoDataView::GetPictureDataView(
    mojo::StringDataView* output) {}


inline void IdentityProviderGetParametersDataView::GetProvidersDataView(
    mojo::ArrayDataView<IdentityProviderRequestOptionsDataView>* output) {}


inline void TokenErrorDataView::GetCodeDataView(
    mojo::StringDataView* output) {}
inline void TokenErrorDataView::GetUrlDataView(
    mojo::StringDataView* output) {}



}  // blink::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::mojom::RequestTokenStatus> {};

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_WEBID_FEDERATED_AUTH_REQUEST_MOJOM_SHARED_H_