#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "content/services/auction_worklet/public/mojom/private_aggregation_request.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 "content/services/auction_worklet/public/mojom/private_aggregation_request.mojom-params-data.h"
#include "content/services/auction_worklet/public/mojom/private_aggregation_request.mojom-shared-message-ids.h"
#include "content/services/auction_worklet/public/mojom/private_aggregation_request.mojom-import-headers.h"
#include "content/services/auction_worklet/public/mojom/private_aggregation_request.mojom-test-utils.h"
namespace auction_worklet::mojom {
BucketOffset::BucketOffset()
: … { … }
BucketOffset::BucketOffset(
const ::absl::uint128& value_in,
bool is_negative_in)
: … { … }
BucketOffset::~BucketOffset() = default;
void BucketOffset::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool BucketOffset::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SignalBucket::SignalBucket()
: … { … }
SignalBucket::SignalBucket(
BaseValue base_value_in,
double scale_in,
BucketOffsetPtr offset_in)
: … { … }
SignalBucket::~SignalBucket() = default;
void SignalBucket::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool SignalBucket::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SignalValue::SignalValue()
: … { … }
SignalValue::SignalValue(
BaseValue base_value_in,
double scale_in,
int32_t offset_in)
: … { … }
SignalValue::~SignalValue() = default;
size_t SignalValue::Hash(size_t seed) const { … }
void SignalValue::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool SignalValue::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AggregatableReportForEventContribution::AggregatableReportForEventContribution()
: … { … }
AggregatableReportForEventContribution::AggregatableReportForEventContribution(
ForEventSignalBucketPtr bucket_in,
ForEventSignalValuePtr value_in,
std::optional<uint64_t> filtering_id_in,
EventTypePtr event_type_in)
: … { … }
AggregatableReportForEventContribution::~AggregatableReportForEventContribution() = default;
void AggregatableReportForEventContribution::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool AggregatableReportForEventContribution::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PrivateAggregationRequest::PrivateAggregationRequest()
: … { … }
PrivateAggregationRequest::PrivateAggregationRequest(
AggregatableReportContributionPtr contribution_in,
::blink::mojom::AggregationServiceMode aggregation_mode_in,
::blink::mojom::DebugModeDetailsPtr debug_mode_details_in)
: … { … }
PrivateAggregationRequest::~PrivateAggregationRequest() = default;
void PrivateAggregationRequest::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool PrivateAggregationRequest::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ForEventSignalBucket::ForEventSignalBucket() : … { … }
ForEventSignalBucket::~ForEventSignalBucket() { … }
void ForEventSignalBucket::set_id_bucket(
const ::absl::uint128& id_bucket) { … }
void ForEventSignalBucket::set_signal_bucket(
SignalBucketPtr signal_bucket) { … }
void ForEventSignalBucket::DestroyActive() { … }
bool ForEventSignalBucket::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ForEventSignalValue::ForEventSignalValue() : … { … }
ForEventSignalValue::~ForEventSignalValue() { … }
void ForEventSignalValue::set_int_value(
int32_t int_value) { … }
void ForEventSignalValue::set_signal_value(
SignalValuePtr signal_value) { … }
void ForEventSignalValue::DestroyActive() { … }
size_t ForEventSignalValue::Hash(size_t seed) const { … }
bool ForEventSignalValue::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
EventType::EventType() : … { … }
EventType::~EventType() { … }
void EventType::set_reserved(
ReservedEventType reserved) { … }
void EventType::set_non_reserved(
const std::string& non_reserved) { … }
void EventType::DestroyActive() { … }
size_t EventType::Hash(size_t seed) const { … }
bool EventType::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AggregatableReportContribution::AggregatableReportContribution() : … { … }
AggregatableReportContribution::~AggregatableReportContribution() { … }
void AggregatableReportContribution::set_histogram_contribution(
::blink::mojom::AggregatableReportHistogramContributionPtr histogram_contribution) { … }
void AggregatableReportContribution::set_for_event_contribution(
AggregatableReportForEventContributionPtr for_event_contribution) { … }
void AggregatableReportContribution::DestroyActive() { … }
bool AggregatableReportContribution::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
}
namespace mojo {
bool StructTraits<::auction_worklet::mojom::BucketOffset::DataView, ::auction_worklet::mojom::BucketOffsetPtr>::Read(
::auction_worklet::mojom::BucketOffset::DataView input,
::auction_worklet::mojom::BucketOffsetPtr* output) { … }
bool StructTraits<::auction_worklet::mojom::SignalBucket::DataView, ::auction_worklet::mojom::SignalBucketPtr>::Read(
::auction_worklet::mojom::SignalBucket::DataView input,
::auction_worklet::mojom::SignalBucketPtr* output) { … }
bool StructTraits<::auction_worklet::mojom::SignalValue::DataView, ::auction_worklet::mojom::SignalValuePtr>::Read(
::auction_worklet::mojom::SignalValue::DataView input,
::auction_worklet::mojom::SignalValuePtr* output) { … }
bool StructTraits<::auction_worklet::mojom::AggregatableReportForEventContribution::DataView, ::auction_worklet::mojom::AggregatableReportForEventContributionPtr>::Read(
::auction_worklet::mojom::AggregatableReportForEventContribution::DataView input,
::auction_worklet::mojom::AggregatableReportForEventContributionPtr* output) { … }
bool StructTraits<::auction_worklet::mojom::PrivateAggregationRequest::DataView, ::auction_worklet::mojom::PrivateAggregationRequestPtr>::Read(
::auction_worklet::mojom::PrivateAggregationRequest::DataView input,
::auction_worklet::mojom::PrivateAggregationRequestPtr* output) { … }
bool UnionTraits<::auction_worklet::mojom::ForEventSignalBucket::DataView, ::auction_worklet::mojom::ForEventSignalBucketPtr>::Read(
::auction_worklet::mojom::ForEventSignalBucket::DataView input,
::auction_worklet::mojom::ForEventSignalBucketPtr* output) { … }
bool UnionTraits<::auction_worklet::mojom::ForEventSignalValue::DataView, ::auction_worklet::mojom::ForEventSignalValuePtr>::Read(
::auction_worklet::mojom::ForEventSignalValue::DataView input,
::auction_worklet::mojom::ForEventSignalValuePtr* output) { … }
bool UnionTraits<::auction_worklet::mojom::EventType::DataView, ::auction_worklet::mojom::EventTypePtr>::Read(
::auction_worklet::mojom::EventType::DataView input,
::auction_worklet::mojom::EventTypePtr* output) { … }
bool UnionTraits<::auction_worklet::mojom::AggregatableReportContribution::DataView, ::auction_worklet::mojom::AggregatableReportContributionPtr>::Read(
::auction_worklet::mojom::AggregatableReportContribution::DataView input,
::auction_worklet::mojom::AggregatableReportContributionPtr* output) { … }
}
namespace auction_worklet::mojom {
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif