#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_SUBAPPS_SUB_APPS_SERVICE_MOJOM_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_SUBAPPS_SUB_APPS_SERVICE_MOJOM_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-forward.h"
#include <string>
#include <vector>
#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/common/common_export.h"
namespace blink::mojom {
class SubAppsServiceProxy;
template <typename ImplRefTraits>
class SubAppsServiceStub;
class SubAppsServiceRequestValidator;
class SubAppsServiceResponseValidator;
class BLINK_COMMON_EXPORT SubAppsService
: public SubAppsServiceInterfaceBase { … };
class BLINK_COMMON_EXPORT SubAppsServiceProxy
: public SubAppsService { … };
class BLINK_COMMON_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 BLINK_COMMON_EXPORT SubAppsServiceRequestValidator : public mojo::MessageReceiver { … };
class BLINK_COMMON_EXPORT SubAppsServiceResponseValidator : public mojo::MessageReceiver { … };
class BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_EXPORT StructTraits<::blink::mojom::SubAppsServiceAddParameters::DataView,
::blink::mojom::SubAppsServiceAddParametersPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::SubAppsServiceAddResult::DataView,
::blink::mojom::SubAppsServiceAddResultPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::SubAppsServiceListResult::DataView,
::blink::mojom::SubAppsServiceListResultPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::SubAppsServiceListResultEntry::DataView,
::blink::mojom::SubAppsServiceListResultEntryPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::SubAppsServiceRemoveResult::DataView,
::blink::mojom::SubAppsServiceRemoveResultPtr> { … };
}
#endif