#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_DIRECT_SOCKETS_DIRECT_SOCKETS_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_DIRECT_SOCKETS_DIRECT_SOCKETS_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/direct_sockets/direct_sockets.mojom-shared-internal.h"
#include "mojo/public/mojom/base/read_only_buffer.mojom-shared.h"
#include "services/network/public/mojom/host_resolver.mojom-shared.h"
#include "services/network/public/mojom/ip_endpoint.mojom-shared.h"
#include "services/network/public/mojom/mutable_network_traffic_annotation_tag.mojom-shared.h"
#include "services/network/public/mojom/network_param.mojom-shared.h"
#include "services/network/public/mojom/restricted_udp_socket.mojom-shared.h"
#include "services/network/public/mojom/tcp_socket.mojom-shared.h"
#include "services/network/public/mojom/udp_socket.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 DirectTCPSocketOptionsDataView;
class DirectConnectedUDPSocketOptionsDataView;
class DirectBoundUDPSocketOptionsDataView;
class DirectTCPServerSocketOptionsDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::blink::mojom::DirectTCPSocketOptionsDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::DirectConnectedUDPSocketOptionsDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::DirectBoundUDPSocketOptionsDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::DirectTCPServerSocketOptionsDataView> { … };
}
}
namespace blink::mojom {
class DirectSocketsServiceInterfaceBase { … };
DirectSocketsServicePtrDataView;
DirectSocketsServiceRequestDataView;
DirectSocketsServiceAssociatedPtrInfoDataView;
DirectSocketsServiceAssociatedRequestDataView;
class DirectTCPSocketOptionsDataView { … };
class DirectConnectedUDPSocketOptionsDataView { … };
class DirectBoundUDPSocketOptionsDataView { … };
class DirectTCPServerSocketOptionsDataView { … };
}
namespace std {
}
namespace mojo {
namespace internal {
Serializer< ::blink::mojom::DirectTCPSocketOptionsDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::DirectConnectedUDPSocketOptionsDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::DirectBoundUDPSocketOptionsDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::DirectTCPServerSocketOptionsDataView, MaybeConstUserType>;
}
}
namespace blink::mojom {
inline void DirectTCPSocketOptionsDataView::GetRemoteAddrDataView(
::network::mojom::HostPortPairDataView* output) { … }
inline void DirectTCPSocketOptionsDataView::GetKeepAliveOptionsDataView(
::network::mojom::TCPKeepAliveOptionsDataView* output) { … }
inline void DirectConnectedUDPSocketOptionsDataView::GetRemoteAddrDataView(
::network::mojom::HostPortPairDataView* output) { … }
inline void DirectBoundUDPSocketOptionsDataView::GetLocalAddrDataView(
::network::mojom::IPEndPointDataView* output) { … }
inline void DirectTCPServerSocketOptionsDataView::GetLocalAddrDataView(
::network::mojom::IPEndPointDataView* output) { … }
}
#endif