#ifndef SERVICES_NETWORK_PUBLIC_MOJOM_URL_LOADER_NETWORK_SERVICE_OBSERVER_MOJOM_BLINK_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_URL_LOADER_NETWORK_SERVICE_OBSERVER_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/url_loader_network_service_observer.mojom-features.h"
#include "services/network/public/mojom/url_loader_network_service_observer.mojom-shared.h"
#include "services/network/public/mojom/url_loader_network_service_observer.mojom-blink-forward.h"
#include "mojo/public/mojom/base/string16.mojom-blink.h"
#include "mojo/public/mojom/base/time.mojom-blink.h"
#include "mojo/public/mojom/base/unguessable_token.mojom-blink.h"
#include "services/network/public/mojom/cookie_partition_key.mojom-blink-forward.h"
#include "services/network/public/mojom/ip_address.mojom-blink.h"
#include "services/network/public/mojom/ip_address_space.mojom-blink-forward.h"
#include "services/network/public/mojom/network_param.mojom-blink.h"
#include "services/network/public/mojom/optional_bool.mojom-blink-forward.h"
#include "url/mojom/origin.mojom-blink.h"
#include "url/mojom/url.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 ClientCertificateResponderProxy;
template <typename ImplRefTraits>
class ClientCertificateResponderStub;
class ClientCertificateResponderRequestValidator;
class BLINK_PLATFORM_EXPORT ClientCertificateResponder
: public ClientCertificateResponderInterfaceBase { … };
class SSLPrivateKeyProxy;
template <typename ImplRefTraits>
class SSLPrivateKeyStub;
class SSLPrivateKeyRequestValidator;
class SSLPrivateKeyResponseValidator;
class BLINK_PLATFORM_EXPORT SSLPrivateKey
: public SSLPrivateKeyInterfaceBase { … };
class AuthChallengeResponderProxy;
template <typename ImplRefTraits>
class AuthChallengeResponderStub;
class AuthChallengeResponderRequestValidator;
class BLINK_PLATFORM_EXPORT AuthChallengeResponder
: public AuthChallengeResponderInterfaceBase { … };
class URLLoaderNetworkServiceObserverProxy;
template <typename ImplRefTraits>
class URLLoaderNetworkServiceObserverStub;
class URLLoaderNetworkServiceObserverRequestValidator;
class URLLoaderNetworkServiceObserverResponseValidator;
class BLINK_PLATFORM_EXPORT URLLoaderNetworkServiceObserver
: public URLLoaderNetworkServiceObserverInterfaceBase { … };
class BLINK_PLATFORM_EXPORT ClientCertificateResponderProxy
: public ClientCertificateResponder { … };
class BLINK_PLATFORM_EXPORT SSLPrivateKeyProxy
: public SSLPrivateKey { … };
class BLINK_PLATFORM_EXPORT AuthChallengeResponderProxy
: public AuthChallengeResponder { … };
class BLINK_PLATFORM_EXPORT URLLoaderNetworkServiceObserverProxy
: public URLLoaderNetworkServiceObserver { … };
class BLINK_PLATFORM_EXPORT ClientCertificateResponderStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<ClientCertificateResponder>>
class ClientCertificateResponderStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
ClientCertificateResponderStub() = default;
~ClientCertificateResponderStub() 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 SSLPrivateKeyStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<SSLPrivateKey>>
class SSLPrivateKeyStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
SSLPrivateKeyStub() = default;
~SSLPrivateKeyStub() 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 AuthChallengeResponderStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<AuthChallengeResponder>>
class AuthChallengeResponderStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
AuthChallengeResponderStub() = default;
~AuthChallengeResponderStub() 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 URLLoaderNetworkServiceObserverStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<URLLoaderNetworkServiceObserver>>
class URLLoaderNetworkServiceObserverStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
URLLoaderNetworkServiceObserverStub() = default;
~URLLoaderNetworkServiceObserverStub() 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 ClientCertificateResponderRequestValidator : public mojo::MessageReceiver { … };
class BLINK_PLATFORM_EXPORT SSLPrivateKeyRequestValidator : public mojo::MessageReceiver { … };
class BLINK_PLATFORM_EXPORT AuthChallengeResponderRequestValidator : public mojo::MessageReceiver { … };
class BLINK_PLATFORM_EXPORT URLLoaderNetworkServiceObserverRequestValidator : public mojo::MessageReceiver { … };
class BLINK_PLATFORM_EXPORT SSLPrivateKeyResponseValidator : public mojo::MessageReceiver { … };
class BLINK_PLATFORM_EXPORT URLLoaderNetworkServiceObserverResponseValidator : public mojo::MessageReceiver { … };
class BLINK_PLATFORM_EXPORT SharedStorageOperation { … };
template <typename T, SharedStorageOperation::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, SharedStorageOperation::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, SharedStorageOperation::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, SharedStorageOperation::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class BLINK_PLATFORM_EXPORT LoadInfo { … };
template <typename T, LoadInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, LoadInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, LoadInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, LoadInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
LoadInfoPtr LoadInfo::Clone() const { … }
template <typename T, LoadInfo::EnableIfSame<T>*>
bool LoadInfo::Equals(const T& other_struct) const { … }
template <typename T, LoadInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
SharedStorageOperationPtr SharedStorageOperation::Clone() const { … }
template <typename T, SharedStorageOperation::EnableIfSame<T>*>
bool SharedStorageOperation::Equals(const T& other_struct) const { … }
template <typename T, SharedStorageOperation::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::network::mojom::blink::LoadInfo::DataView,
::network::mojom::blink::LoadInfoPtr> { … };
template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::network::mojom::blink::SharedStorageOperation::DataView,
::network::mojom::blink::SharedStorageOperationPtr> { … };
}
#endif