#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_SUBAPPS_SUB_APPS_SERVICE_MOJOM_BLINK_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_SUBAPPS_SUB_APPS_SERVICE_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 "third_party/blink/public/mojom/subapps/sub_apps_service.mojom-features.h"
#include "third_party/blink/public/mojom/subapps/sub_apps_service.mojom-shared.h"
#include "third_party/blink/public/mojom/subapps/sub_apps_service.mojom-blink-forward.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/renderer/platform/platform_export.h"
namespace blink::mojom::blink {
class SubAppsServiceProxy;
template <typename ImplRefTraits>
class SubAppsServiceStub;
class SubAppsServiceRequestValidator;
class SubAppsServiceResponseValidator;
class PLATFORM_EXPORT SubAppsService
: public SubAppsServiceInterfaceBase { … };
class PLATFORM_EXPORT SubAppsServiceProxy
: public SubAppsService { … };
class PLATFORM_EXPORT SubAppsServiceStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<SubAppsService>>
class SubAppsServiceStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
SubAppsServiceStub() = default;
~SubAppsServiceStub() 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 PLATFORM_EXPORT SubAppsServiceRequestValidator : public mojo::MessageReceiver { … };
class PLATFORM_EXPORT SubAppsServiceResponseValidator : public mojo::MessageReceiver { … };
class PLATFORM_EXPORT SubAppsServiceAddParameters { … };
template <typename T, SubAppsServiceAddParameters::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, SubAppsServiceAddParameters::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, SubAppsServiceAddParameters::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, SubAppsServiceAddParameters::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PLATFORM_EXPORT SubAppsServiceAddResult { … };
template <typename T, SubAppsServiceAddResult::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, SubAppsServiceAddResult::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, SubAppsServiceAddResult::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, SubAppsServiceAddResult::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PLATFORM_EXPORT SubAppsServiceListResultEntry { … };
template <typename T, SubAppsServiceListResultEntry::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, SubAppsServiceListResultEntry::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, SubAppsServiceListResultEntry::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, SubAppsServiceListResultEntry::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PLATFORM_EXPORT SubAppsServiceRemoveResult { … };
template <typename T, SubAppsServiceRemoveResult::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, SubAppsServiceRemoveResult::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, SubAppsServiceRemoveResult::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, SubAppsServiceRemoveResult::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PLATFORM_EXPORT SubAppsServiceListResult { … };
template <typename T, SubAppsServiceListResult::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, SubAppsServiceListResult::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, SubAppsServiceListResult::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, SubAppsServiceListResult::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
SubAppsServiceAddParametersPtr SubAppsServiceAddParameters::Clone() const { … }
template <typename T, SubAppsServiceAddParameters::EnableIfSame<T>*>
bool SubAppsServiceAddParameters::Equals(const T& other_struct) const { … }
template <typename T, SubAppsServiceAddParameters::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
SubAppsServiceAddResultPtr SubAppsServiceAddResult::Clone() const { … }
template <typename T, SubAppsServiceAddResult::EnableIfSame<T>*>
bool SubAppsServiceAddResult::Equals(const T& other_struct) const { … }
template <typename T, SubAppsServiceAddResult::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
SubAppsServiceListResultPtr SubAppsServiceListResult::Clone() const { … }
template <typename T, SubAppsServiceListResult::EnableIfSame<T>*>
bool SubAppsServiceListResult::Equals(const T& other_struct) const { … }
template <typename T, SubAppsServiceListResult::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
SubAppsServiceListResultEntryPtr SubAppsServiceListResultEntry::Clone() const { … }
template <typename T, SubAppsServiceListResultEntry::EnableIfSame<T>*>
bool SubAppsServiceListResultEntry::Equals(const T& other_struct) const { … }
template <typename T, SubAppsServiceListResultEntry::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
SubAppsServiceRemoveResultPtr SubAppsServiceRemoveResult::Clone() const { … }
template <typename T, SubAppsServiceRemoveResult::EnableIfSame<T>*>
bool SubAppsServiceRemoveResult::Equals(const T& other_struct) const { … }
template <typename T, SubAppsServiceRemoveResult::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::SubAppsServiceAddParameters::DataView,
::blink::mojom::blink::SubAppsServiceAddParametersPtr> { … };
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::SubAppsServiceAddResult::DataView,
::blink::mojom::blink::SubAppsServiceAddResultPtr> { … };
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::SubAppsServiceListResult::DataView,
::blink::mojom::blink::SubAppsServiceListResultPtr> { … };
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::SubAppsServiceListResultEntry::DataView,
::blink::mojom::blink::SubAppsServiceListResultEntryPtr> { … };
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::SubAppsServiceRemoveResult::DataView,
::blink::mojom::blink::SubAppsServiceRemoveResultPtr> { … };
}
#endif