#ifndef CHROME_BROWSER_UI_WEBUI_PRIVACY_SANDBOX_RELATED_WEBSITE_SETS_RELATED_WEBSITE_SETS_MOJOM_H_
#define CHROME_BROWSER_UI_WEBUI_PRIVACY_SANDBOX_RELATED_WEBSITE_SETS_RELATED_WEBSITE_SETS_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 "chrome/browser/ui/webui/privacy_sandbox/related_website_sets/related_website_sets.mojom-features.h"
#include "chrome/browser/ui/webui/privacy_sandbox/related_website_sets/related_website_sets.mojom-shared.h"
#include "chrome/browser/ui/webui/privacy_sandbox/related_website_sets/related_website_sets.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"
namespace related_website_sets::mojom {
class RelatedWebsiteSetsPageHandlerProxy;
template <typename ImplRefTraits>
class RelatedWebsiteSetsPageHandlerStub;
class RelatedWebsiteSetsPageHandlerRequestValidator;
class RelatedWebsiteSetsPageHandlerResponseValidator;
class RelatedWebsiteSetsPageHandler
: public RelatedWebsiteSetsPageHandlerInterfaceBase { … };
class RelatedWebsiteSetsPageHandlerProxy
: public RelatedWebsiteSetsPageHandler { … };
class RelatedWebsiteSetsPageHandlerStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<RelatedWebsiteSetsPageHandler>>
class RelatedWebsiteSetsPageHandlerStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
RelatedWebsiteSetsPageHandlerStub() = default;
~RelatedWebsiteSetsPageHandlerStub() 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 RelatedWebsiteSetsPageHandlerRequestValidator : public mojo::MessageReceiver { … };
class RelatedWebsiteSetsPageHandlerResponseValidator : public mojo::MessageReceiver { … };
class Member { … };
template <typename T, Member::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, Member::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, Member::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, Member::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class GetRelatedWebsiteSetsResponse { … };
class RelatedWebsiteSet { … };
template <typename T, RelatedWebsiteSet::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, RelatedWebsiteSet::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, RelatedWebsiteSet::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, RelatedWebsiteSet::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename UnionPtrType>
GetRelatedWebsiteSetsResponsePtr GetRelatedWebsiteSetsResponse::Clone() const { … }
template <typename T,
typename std::enable_if<std::is_same<
T, GetRelatedWebsiteSetsResponse>::value>::type*>
bool GetRelatedWebsiteSetsResponse::Equals(const T& other) const { … }
template <typename StructPtrType>
MemberPtr Member::Clone() const { … }
template <typename T, Member::EnableIfSame<T>*>
bool Member::Equals(const T& other_struct) const { … }
template <typename T, Member::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
RelatedWebsiteSetPtr RelatedWebsiteSet::Clone() const { … }
template <typename T, RelatedWebsiteSet::EnableIfSame<T>*>
bool RelatedWebsiteSet::Equals(const T& other_struct) const { … }
template <typename T, RelatedWebsiteSet::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct StructTraits<::related_website_sets::mojom::Member::DataView,
::related_website_sets::mojom::MemberPtr> { … };
template <>
struct StructTraits<::related_website_sets::mojom::RelatedWebsiteSet::DataView,
::related_website_sets::mojom::RelatedWebsiteSetPtr> { … };
template <>
struct UnionTraits<::related_website_sets::mojom::GetRelatedWebsiteSetsResponse::DataView,
::related_website_sets::mojom::GetRelatedWebsiteSetsResponsePtr> { … };
}
#endif