#ifndef SERVICES_NETWORK_PUBLIC_MOJOM_P2P_MOJOM_SHARED_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_P2P_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/network/public/mojom/p2p.mojom-shared-internal.h"
#include "mojo/public/mojom/base/unguessable_token.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "mojo/public/mojom/base/read_only_buffer.mojom-shared.h"
#include "services/network/public/mojom/network_interface.mojom-shared.h"
#include "services/network/public/mojom/ip_address.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 "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "mojo/public/cpp/bindings/native_enum.h"
#include "mojo/public/cpp/bindings/lib/native_struct_serialization.h"
namespace network::mojom {
P2PHostAndIPEndPointDataView;
P2PPacketInfoDataView;
P2PPortRangeDataView;
P2PSendPacketMetricsDataView;
class P2PReceivedPacketDataView;
class P2PSendPacketDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::network::mojom::P2PReceivedPacketDataView> { … };
template <>
struct MojomTypeTraits<::network::mojom::P2PSendPacketDataView> { … };
}
}
namespace network::mojom {
P2PSocketType;
P2PSocketOption;
enum class EcnMarking : int32_t { … };
std::ostream& operator<<(std::ostream& os, EcnMarking value);
inline bool IsKnownEnumValue(EcnMarking value) { … }
class P2PNetworkNotificationClientInterfaceBase { … };
P2PNetworkNotificationClientPtrDataView;
P2PNetworkNotificationClientRequestDataView;
P2PNetworkNotificationClientAssociatedPtrInfoDataView;
P2PNetworkNotificationClientAssociatedRequestDataView;
class P2PSocketManagerInterfaceBase { … };
P2PSocketManagerPtrDataView;
P2PSocketManagerRequestDataView;
P2PSocketManagerAssociatedPtrInfoDataView;
P2PSocketManagerAssociatedRequestDataView;
class P2PSocketInterfaceBase { … };
P2PSocketPtrDataView;
P2PSocketRequestDataView;
P2PSocketAssociatedPtrInfoDataView;
P2PSocketAssociatedRequestDataView;
class P2PSocketClientInterfaceBase { … };
P2PSocketClientPtrDataView;
P2PSocketClientRequestDataView;
P2PSocketClientAssociatedPtrInfoDataView;
P2PSocketClientAssociatedRequestDataView;
class P2PReceivedPacketDataView { … };
class P2PSendPacketDataView { … };
}
namespace std {
template <>
struct hash<::network::mojom::EcnMarking>
: public mojo::internal::EnumHashImpl<::network::mojom::EcnMarking> { … };
}
namespace mojo {
namespace internal {
Serializer< ::network::mojom::EcnMarking, MaybeConstUserType>;
}
namespace internal {
Serializer< ::network::mojom::P2PReceivedPacketDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::network::mojom::P2PSendPacketDataView, MaybeConstUserType>;
}
}
namespace network::mojom {
inline void P2PReceivedPacketDataView::GetDataDataView(
::mojo_base::mojom::ReadOnlyBufferDataView* output) { … }
inline void P2PReceivedPacketDataView::GetSocketAddressDataView(
::network::mojom::IPEndPointDataView* output) { … }
inline void P2PReceivedPacketDataView::GetTimestampDataView(
::mojo_base::mojom::TimeTicksDataView* output) { … }
inline void P2PSendPacketDataView::GetDataDataView(
::mojo_base::mojom::ReadOnlyBufferDataView* output) { … }
inline void P2PSendPacketDataView::GetPacketInfoDataView(
P2PPacketInfoDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::network::mojom::EcnMarking> { … };
}
#endif