#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "chrome/browser/ui/webui/privacy_sandbox/related_website_sets/related_website_sets.mojom.h"
#include <math.h>
#include <stdint.h>
#include <utility>
#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "chrome/browser/ui/webui/privacy_sandbox/related_website_sets/related_website_sets.mojom-params-data.h"
#include "chrome/browser/ui/webui/privacy_sandbox/related_website_sets/related_website_sets.mojom-shared-message-ids.h"
#include "chrome/browser/ui/webui/privacy_sandbox/related_website_sets/related_website_sets.mojom-import-headers.h"
#include "chrome/browser/ui/webui/privacy_sandbox/related_website_sets/related_website_sets.mojom-test-utils.h"
namespace related_website_sets::mojom {
Member::Member()
: … { … }
Member::Member(
const std::string& site_in,
SiteType type_in)
: … { … }
Member::~Member() = default;
size_t Member::Hash(size_t seed) const { … }
void Member::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool Member::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RelatedWebsiteSet::RelatedWebsiteSet()
: … { … }
RelatedWebsiteSet::RelatedWebsiteSet(
const std::string& primary_site_in,
std::vector<MemberPtr> member_sites_in,
bool managed_by_enterprise_in)
: … { … }
RelatedWebsiteSet::~RelatedWebsiteSet() = default;
void RelatedWebsiteSet::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool RelatedWebsiteSet::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GetRelatedWebsiteSetsResponse::GetRelatedWebsiteSetsResponse() : … { … }
GetRelatedWebsiteSetsResponse::~GetRelatedWebsiteSetsResponse() { … }
void GetRelatedWebsiteSetsResponse::set_related_website_sets(
std::vector<RelatedWebsiteSetPtr> related_website_sets) { … }
void GetRelatedWebsiteSetsResponse::set_error_message(
const std::string& error_message) { … }
void GetRelatedWebsiteSetsResponse::DestroyActive() { … }
bool GetRelatedWebsiteSetsResponse::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
const char RelatedWebsiteSetsPageHandler::Name_[] = …;
RelatedWebsiteSetsPageHandler::IPCStableHashFunction RelatedWebsiteSetsPageHandler::MessageToMethodInfo_(mojo::Message& message) { … }
const char* RelatedWebsiteSetsPageHandler::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t RelatedWebsiteSetsPageHandler::GetRelatedWebsiteSets_Sym::IPCStableHash() { … }
# endif
class RelatedWebsiteSetsPageHandler_GetRelatedWebsiteSets_ForwardToCallback
: public mojo::MessageReceiver { … };
RelatedWebsiteSetsPageHandlerProxy::RelatedWebsiteSetsPageHandlerProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void RelatedWebsiteSetsPageHandlerProxy::GetRelatedWebsiteSets(
GetRelatedWebsiteSetsCallback callback) { … }
class RelatedWebsiteSetsPageHandler_GetRelatedWebsiteSets_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool RelatedWebsiteSetsPageHandler_GetRelatedWebsiteSets_ForwardToCallback::Accept(
mojo::Message* message) { … }
void RelatedWebsiteSetsPageHandler_GetRelatedWebsiteSets_ProxyToResponder::Run(
GetRelatedWebsiteSetsResponsePtr in_related_website_sets_info) { … }
bool RelatedWebsiteSetsPageHandlerStubDispatch::Accept(
RelatedWebsiteSetsPageHandler* impl,
mojo::Message* message) { … }
bool RelatedWebsiteSetsPageHandlerStubDispatch::AcceptWithResponder(
RelatedWebsiteSetsPageHandler* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kRelatedWebsiteSetsPageHandlerValidationInfo[] = …;
bool RelatedWebsiteSetsPageHandlerRequestValidator::Accept(mojo::Message* message) { … }
bool RelatedWebsiteSetsPageHandlerResponseValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
bool StructTraits<::related_website_sets::mojom::Member::DataView, ::related_website_sets::mojom::MemberPtr>::Read(
::related_website_sets::mojom::Member::DataView input,
::related_website_sets::mojom::MemberPtr* output) { … }
bool StructTraits<::related_website_sets::mojom::RelatedWebsiteSet::DataView, ::related_website_sets::mojom::RelatedWebsiteSetPtr>::Read(
::related_website_sets::mojom::RelatedWebsiteSet::DataView input,
::related_website_sets::mojom::RelatedWebsiteSetPtr* output) { … }
bool UnionTraits<::related_website_sets::mojom::GetRelatedWebsiteSetsResponse::DataView, ::related_website_sets::mojom::GetRelatedWebsiteSetsResponsePtr>::Read(
::related_website_sets::mojom::GetRelatedWebsiteSetsResponse::DataView input,
::related_website_sets::mojom::GetRelatedWebsiteSetsResponsePtr* output) { … }
}
namespace related_website_sets::mojom {
void RelatedWebsiteSetsPageHandlerInterceptorForTesting::GetRelatedWebsiteSets(GetRelatedWebsiteSetsCallback callback) { … }
RelatedWebsiteSetsPageHandlerAsyncWaiter::RelatedWebsiteSetsPageHandlerAsyncWaiter(
RelatedWebsiteSetsPageHandler* proxy) : … { … }
RelatedWebsiteSetsPageHandlerAsyncWaiter::~RelatedWebsiteSetsPageHandlerAsyncWaiter() = default;
void RelatedWebsiteSetsPageHandlerAsyncWaiter::GetRelatedWebsiteSets(
GetRelatedWebsiteSetsResponsePtr* out_related_website_sets_info) { … }
GetRelatedWebsiteSetsResponsePtr RelatedWebsiteSetsPageHandlerAsyncWaiter::GetRelatedWebsiteSets(
) { … }
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif