#ifndef SERVICES_NETWORK_PUBLIC_MOJOM_NETWORK_INTERFACE_CHANGE_LISTENER_MOJOM_BLINK_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_NETWORK_INTERFACE_CHANGE_LISTENER_MOJOM_BLINK_H_
#include <stdint.h>
#include <limits>
#include <optional>
#include <type_traits>
#include <utility>
#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "services/network/public/mojom/network_interface_change_listener.mojom-features.h"
#include "services/network/public/mojom/network_interface_change_listener.mojom-shared.h"
#include "services/network/public/mojom/network_interface_change_listener.mojom-blink-forward.h"
#include "services/network/public/mojom/ip_address.mojom-blink.h"
#include "mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h"
#include "mojo/public/cpp/bindings/lib/wtf_hash_util.h"
#include "third_party/blink/renderer/platform/wtf/hash_functions.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"
#include "third_party/blink/public/platform/web_common.h"
namespace network::mojom::blink {
class NetworkInterfaceChangeListenerProxy;
template <typename ImplRefTraits>
class NetworkInterfaceChangeListenerStub;
class NetworkInterfaceChangeListenerRequestValidator;
class BLINK_PLATFORM_EXPORT NetworkInterfaceChangeListener
: public NetworkInterfaceChangeListenerInterfaceBase { … };
class BLINK_PLATFORM_EXPORT NetworkInterfaceChangeListenerProxy
: public NetworkInterfaceChangeListener { … };
class BLINK_PLATFORM_EXPORT NetworkInterfaceChangeListenerStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<NetworkInterfaceChangeListener>>
class NetworkInterfaceChangeListenerStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
NetworkInterfaceChangeListenerStub() = default;
~NetworkInterfaceChangeListenerStub() override = default;
void set_sink(ImplPointerType sink) { … }
ImplPointerType& sink() { … }
bool Accept(mojo::Message* message) override { … }
bool AcceptWithResponder(
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override { … }
private:
ImplPointerType sink_;
};
class BLINK_PLATFORM_EXPORT NetworkInterfaceChangeListenerRequestValidator : public mojo::MessageReceiver { … };
class BLINK_PLATFORM_EXPORT IfAddrMsg { … };
template <typename T, IfAddrMsg::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, IfAddrMsg::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, IfAddrMsg::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, IfAddrMsg::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class BLINK_PLATFORM_EXPORT AddressMap { … };
template <typename T, AddressMap::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, AddressMap::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, AddressMap::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, AddressMap::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class BLINK_PLATFORM_EXPORT OnlineLinks { … };
template <typename T, OnlineLinks::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, OnlineLinks::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, OnlineLinks::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, OnlineLinks::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class BLINK_PLATFORM_EXPORT InitialAddressMap { … };
template <typename T, InitialAddressMap::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, InitialAddressMap::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, InitialAddressMap::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, InitialAddressMap::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class BLINK_PLATFORM_EXPORT NetworkInterfaceChangeParams { … };
template <typename T, NetworkInterfaceChangeParams::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, NetworkInterfaceChangeParams::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, NetworkInterfaceChangeParams::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, NetworkInterfaceChangeParams::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
IfAddrMsgPtr IfAddrMsg::Clone() const { … }
template <typename T, IfAddrMsg::EnableIfSame<T>*>
bool IfAddrMsg::Equals(const T& other_struct) const { … }
template <typename T, IfAddrMsg::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
AddressMapPtr AddressMap::Clone() const { … }
template <typename T, AddressMap::EnableIfSame<T>*>
bool AddressMap::Equals(const T& other_struct) const { … }
template <typename T, AddressMap::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
OnlineLinksPtr OnlineLinks::Clone() const { … }
template <typename T, OnlineLinks::EnableIfSame<T>*>
bool OnlineLinks::Equals(const T& other_struct) const { … }
template <typename T, OnlineLinks::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
InitialAddressMapPtr InitialAddressMap::Clone() const { … }
template <typename T, InitialAddressMap::EnableIfSame<T>*>
bool InitialAddressMap::Equals(const T& other_struct) const { … }
template <typename T, InitialAddressMap::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
NetworkInterfaceChangeParamsPtr NetworkInterfaceChangeParams::Clone() const { … }
template <typename T, NetworkInterfaceChangeParams::EnableIfSame<T>*>
bool NetworkInterfaceChangeParams::Equals(const T& other_struct) const { … }
template <typename T, NetworkInterfaceChangeParams::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::network::mojom::blink::IfAddrMsg::DataView,
::network::mojom::blink::IfAddrMsgPtr> { … };
template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::network::mojom::blink::AddressMap::DataView,
::network::mojom::blink::AddressMapPtr> { … };
template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::network::mojom::blink::OnlineLinks::DataView,
::network::mojom::blink::OnlineLinksPtr> { … };
template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::network::mojom::blink::InitialAddressMap::DataView,
::network::mojom::blink::InitialAddressMapPtr> { … };
template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::network::mojom::blink::NetworkInterfaceChangeParams::DataView,
::network::mojom::blink::NetworkInterfaceChangeParamsPtr> { … };
}
#endif