chromium/out/Default/gen/services/network/public/mojom/restricted_udp_socket.mojom-shared.h

// services/network/public/mojom/restricted_udp_socket.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 SERVICES_NETWORK_PUBLIC_MOJOM_RESTRICTED_UDP_SOCKET_MOJOM_SHARED_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_RESTRICTED_UDP_SOCKET_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/restricted_udp_socket.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/network_param.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"






namespace network::mojom {
class RestrictedUDPSocketParamsDataView;



}  // network::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::network::mojom::RestrictedUDPSocketParamsDataView> {};

}  // namespace internal
}  // namespace mojo


namespace network::mojom {


enum class RestrictedUDPSocketMode : int32_t {};

 std::ostream& operator<<(std::ostream& os, RestrictedUDPSocketMode value);
inline bool IsKnownEnumValue(RestrictedUDPSocketMode value) {}
// Interface base classes. They are used for type safety check.
class RestrictedUDPSocketInterfaceBase {};

RestrictedUDPSocketPtrDataView;
RestrictedUDPSocketRequestDataView;
RestrictedUDPSocketAssociatedPtrInfoDataView;
RestrictedUDPSocketAssociatedRequestDataView;


class RestrictedUDPSocketParamsDataView {};


}  // network::mojom

namespace std {

template <>
struct hash<::network::mojom::RestrictedUDPSocketMode>
    : public mojo::internal::EnumHashImpl<::network::mojom::RestrictedUDPSocketMode> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::network::mojom::RestrictedUDPSocketMode, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::network::mojom::RestrictedUDPSocketParamsDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace network::mojom {

inline void RestrictedUDPSocketParamsDataView::GetSocketOptionsDataView(
    ::network::mojom::UDPSocketOptionsDataView* output) {}



}  // network::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::network::mojom::RestrictedUDPSocketMode> {};

} // namespace perfetto

#endif  // SERVICES_NETWORK_PUBLIC_MOJOM_RESTRICTED_UDP_SOCKET_MOJOM_SHARED_H_