#ifndef COMPONENTS_DATA_SHARING_PUBLIC_PROTOCOL_GROUP_DATA_MOJOM_SHARED_H_
#define COMPONENTS_DATA_SHARING_PUBLIC_PROTOCOL_GROUP_DATA_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/data_sharing/public/protocol/group_data.mojom-shared-internal.h"
#include "url/mojom/url.mojom-shared.h"
namespace data_sharing::mojom {
class GroupMemberDataView;
class GroupDataDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::data_sharing::mojom::GroupMemberDataView> { … };
template <>
struct MojomTypeTraits<::data_sharing::mojom::GroupDataDataView> { … };
}
}
namespace data_sharing::mojom {
enum class MemberRole : int32_t { … };
std::ostream& operator<<(std::ostream& os, MemberRole value);
inline bool IsKnownEnumValue(MemberRole value) { … }
class GroupMemberDataView { … };
class GroupDataDataView { … };
}
namespace std {
template <>
struct hash<::data_sharing::mojom::MemberRole>
: public mojo::internal::EnumHashImpl<::data_sharing::mojom::MemberRole> { … };
}
namespace mojo {
namespace internal {
Serializer< ::data_sharing::mojom::MemberRole, MaybeConstUserType>;
}
namespace internal {
Serializer< ::data_sharing::mojom::GroupMemberDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::data_sharing::mojom::GroupDataDataView, MaybeConstUserType>;
}
}
namespace data_sharing::mojom {
inline void GroupMemberDataView::GetGaiaIdDataView(
mojo::StringDataView* output) { … }
inline void GroupMemberDataView::GetDisplayNameDataView(
mojo::StringDataView* output) { … }
inline void GroupMemberDataView::GetEmailDataView(
mojo::StringDataView* output) { … }
inline void GroupMemberDataView::GetAvatarUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void GroupDataDataView::GetGroupIdDataView(
mojo::StringDataView* output) { … }
inline void GroupDataDataView::GetDisplayNameDataView(
mojo::StringDataView* output) { … }
inline void GroupDataDataView::GetMembersDataView(
mojo::ArrayDataView<GroupMemberDataView>* output) { … }
inline void GroupDataDataView::GetAccessTokenDataView(
mojo::StringDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::data_sharing::mojom::MemberRole> { … };
}
#endif