#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "content/browser/attribution_reporting/attribution_internals.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/browser/attribution_reporting/attribution_internals.mojom-params-data.h"
#include "content/browser/attribution_reporting/attribution_internals.mojom-shared-message-ids.h"
#include "content/browser/attribution_reporting/attribution_internals.mojom-import-headers.h"
#include "content/browser/attribution_reporting/attribution_internals.mojom-test-utils.h"
namespace attribution_internals::mojom {
ReportID::ReportID()
: … { … }
ReportID::ReportID(
int64_t value_in)
: … { … }
ReportID::~ReportID() = default;
void ReportID::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool ReportID::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebUIReportEventLevelData::WebUIReportEventLevelData()
: … { … }
WebUIReportEventLevelData::WebUIReportEventLevelData(
int64_t priority_in,
bool attributed_truthfully_in)
: … { … }
WebUIReportEventLevelData::~WebUIReportEventLevelData() = default;
size_t WebUIReportEventLevelData::Hash(size_t seed) const { … }
void WebUIReportEventLevelData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool WebUIReportEventLevelData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AggregatableHistogramContribution::AggregatableHistogramContribution()
: … { … }
AggregatableHistogramContribution::AggregatableHistogramContribution(
const std::string& key_in,
uint32_t value_in)
: … { … }
AggregatableHistogramContribution::~AggregatableHistogramContribution() = default;
size_t AggregatableHistogramContribution::Hash(size_t seed) const { … }
void AggregatableHistogramContribution::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool AggregatableHistogramContribution::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebUIReportAggregatableAttributionData::WebUIReportAggregatableAttributionData()
: … { … }
WebUIReportAggregatableAttributionData::WebUIReportAggregatableAttributionData(
std::vector<AggregatableHistogramContributionPtr> contributions_in,
const std::string& aggregation_coordinator_in,
bool is_null_report_in)
: … { … }
WebUIReportAggregatableAttributionData::~WebUIReportAggregatableAttributionData() = default;
void WebUIReportAggregatableAttributionData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool WebUIReportAggregatableAttributionData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Empty::Empty() { … }
Empty::~Empty() = default;
size_t Empty::Hash(size_t seed) const { … }
void Empty::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool Empty::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebUIReport::WebUIReport()
: … { … }
WebUIReport::WebUIReport(
::content::AttributionReport::Id id_in,
const ::GURL& report_url_in,
double trigger_time_in,
double report_time_in,
const std::string& report_body_in,
ReportStatusPtr status_in,
WebUIReportDataPtr data_in)
: … { … }
WebUIReport::~WebUIReport() = default;
void WebUIReport::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool WebUIReport::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebUIDebugReport::WebUIDebugReport()
: … { … }
WebUIDebugReport::WebUIDebugReport(
const ::GURL& url_in,
double time_in,
const std::string& body_in,
NetworkStatusPtr status_in)
: … { … }
WebUIDebugReport::~WebUIDebugReport() = default;
void WebUIDebugReport::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool WebUIDebugReport::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebUIAggregatableDebugReport::WebUIAggregatableDebugReport()
: … { … }
WebUIAggregatableDebugReport::WebUIAggregatableDebugReport(
const ::GURL& url_in,
double time_in,
const std::string& body_in,
::attribution_reporting::mojom::ProcessAggregatableDebugReportResult process_result_in,
SendAggregatableDebugReportResultPtr send_result_in)
: … { … }
WebUIAggregatableDebugReport::~WebUIAggregatableDebugReport() = default;
void WebUIAggregatableDebugReport::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool WebUIAggregatableDebugReport::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebUISource::WebUISource()
: … { … }
WebUISource::WebUISource(
int64_t id_in,
uint64_t source_event_id_in,
const ::url::Origin& source_origin_in,
const ::attribution_reporting::DestinationSet& destinations_in,
const ::url::Origin& reporting_origin_in,
double source_time_in,
double expiry_time_in,
const std::string& trigger_specs_json_in,
double aggregatable_report_window_time_in,
::attribution_reporting::mojom::SourceType source_type_in,
int64_t priority_in,
std::optional<uint64_t> debug_key_in,
std::vector<uint64_t> dedup_keys_in,
const ::attribution_reporting::FilterData& filter_data_in,
const base::flat_map<std::string, std::string>& aggregation_keys_in,
int32_t remaining_aggregatable_attribution_budget_in,
std::vector<uint64_t> aggregatable_dedup_keys_in,
::attribution_reporting::mojom::TriggerDataMatching trigger_data_matching_in,
double event_level_epsilon_in,
bool debug_cookie_set_in,
int32_t remaining_aggregatable_debug_budget_in,
const std::string& aggregatable_debug_key_piece_in,
const std::string& attribution_scopes_data_json_in,
WebUISource::Attributability attributability_in)
: … { … }
WebUISource::~WebUISource() = default;
void WebUISource::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool WebUISource::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebUIRegistration::WebUIRegistration()
: … { … }
WebUIRegistration::WebUIRegistration(
double time_in,
const ::url::Origin& context_origin_in,
const ::url::Origin& reporting_origin_in,
const std::string& registration_json_in,
std::optional<uint64_t> cleared_debug_key_in)
: … { … }
WebUIRegistration::~WebUIRegistration() = default;
void WebUIRegistration::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool WebUIRegistration::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebUITrigger::WebUITrigger()
: … { … }
WebUITrigger::WebUITrigger(
WebUIRegistrationPtr registration_in,
::attribution_reporting::mojom::EventLevelResult event_level_result_in,
::attribution_reporting::mojom::AggregatableResult aggregatable_result_in)
: … { … }
WebUITrigger::~WebUITrigger() = default;
void WebUITrigger::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool WebUITrigger::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebUISourceRegistration::WebUISourceRegistration()
: … { … }
WebUISourceRegistration::WebUISourceRegistration(
WebUIRegistrationPtr registration_in,
::attribution_reporting::mojom::SourceType type_in,
::attribution_reporting::mojom::StoreSourceResult status_in)
: … { … }
WebUISourceRegistration::~WebUISourceRegistration() = default;
void WebUISourceRegistration::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool WebUISourceRegistration::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebUIOsRegistration::WebUIOsRegistration()
: … { … }
WebUIOsRegistration::WebUIOsRegistration(
double time_in,
const ::GURL& registration_url_in,
const ::url::Origin& top_level_origin_in,
bool is_debug_key_allowed_in,
bool debug_reporting_in,
::attribution_reporting::mojom::RegistrationType type_in,
::attribution_reporting::mojom::OsRegistrationResult result_in)
: … { … }
WebUIOsRegistration::~WebUIOsRegistration() = default;
void WebUIOsRegistration::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool WebUIOsRegistration::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebUIReportData::WebUIReportData() : … { … }
WebUIReportData::~WebUIReportData() { … }
void WebUIReportData::set_event_level_data(
WebUIReportEventLevelDataPtr event_level_data) { … }
void WebUIReportData::set_aggregatable_attribution_data(
WebUIReportAggregatableAttributionDataPtr aggregatable_attribution_data) { … }
void WebUIReportData::DestroyActive() { … }
bool WebUIReportData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
NetworkStatus::NetworkStatus() : … { … }
NetworkStatus::~NetworkStatus() { … }
void NetworkStatus::set_http_response_code(
int32_t http_response_code) { … }
void NetworkStatus::set_network_error(
const std::string& network_error) { … }
void NetworkStatus::DestroyActive() { … }
size_t NetworkStatus::Hash(size_t seed) const { … }
bool NetworkStatus::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ReportStatus::ReportStatus() : … { … }
ReportStatus::~ReportStatus() { … }
void ReportStatus::set_pending(
EmptyPtr pending) { … }
void ReportStatus::set_replaced_by_higher_priority_report(
const std::string& replaced_by_higher_priority_report) { … }
void ReportStatus::set_prohibited_by_browser_policy(
EmptyPtr prohibited_by_browser_policy) { … }
void ReportStatus::set_network_status(
NetworkStatusPtr network_status) { … }
void ReportStatus::set_failed_to_assemble(
EmptyPtr failed_to_assemble) { … }
void ReportStatus::DestroyActive() { … }
size_t ReportStatus::Hash(size_t seed) const { … }
bool ReportStatus::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SendAggregatableDebugReportResult::SendAggregatableDebugReportResult() : … { … }
SendAggregatableDebugReportResult::~SendAggregatableDebugReportResult() { … }
void SendAggregatableDebugReportResult::set_assembly_failed(
EmptyPtr assembly_failed) { … }
void SendAggregatableDebugReportResult::set_network_status(
NetworkStatusPtr network_status) { … }
void SendAggregatableDebugReportResult::DestroyActive() { … }
size_t SendAggregatableDebugReportResult::Hash(size_t seed) const { … }
bool SendAggregatableDebugReportResult::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
const char Observer::Name_[] = …;
Observer::IPCStableHashFunction Observer::MessageToMethodInfo_(mojo::Message& message) { … }
const char* Observer::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t Observer::OnSourcesChanged_Sym::IPCStableHash() { … }
uint32_t Observer::OnReportsChanged_Sym::IPCStableHash() { … }
uint32_t Observer::OnSourceHandled_Sym::IPCStableHash() { … }
uint32_t Observer::OnReportHandled_Sym::IPCStableHash() { … }
uint32_t Observer::OnDebugReportSent_Sym::IPCStableHash() { … }
uint32_t Observer::OnAggregatableDebugReportSent_Sym::IPCStableHash() { … }
uint32_t Observer::OnTriggerHandled_Sym::IPCStableHash() { … }
uint32_t Observer::OnOsRegistration_Sym::IPCStableHash() { … }
uint32_t Observer::OnDebugModeChanged_Sym::IPCStableHash() { … }
# endif
ObserverProxy::ObserverProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void ObserverProxy::OnSourcesChanged(
std::vector<WebUISourcePtr> in_sources) { … }
void ObserverProxy::OnReportsChanged(
std::vector<WebUIReportPtr> in_reports) { … }
void ObserverProxy::OnSourceHandled(
WebUISourceRegistrationPtr in_source) { … }
void ObserverProxy::OnReportHandled(
WebUIReportPtr in_report) { … }
void ObserverProxy::OnDebugReportSent(
WebUIDebugReportPtr in_report) { … }
void ObserverProxy::OnAggregatableDebugReportSent(
WebUIAggregatableDebugReportPtr in_report) { … }
void ObserverProxy::OnTriggerHandled(
WebUITriggerPtr in_trigger) { … }
void ObserverProxy::OnOsRegistration(
WebUIOsRegistrationPtr in_registration) { … }
void ObserverProxy::OnDebugModeChanged(
bool in_debug_mode) { … }
bool ObserverStubDispatch::Accept(
Observer* impl,
mojo::Message* message) { … }
bool ObserverStubDispatch::AcceptWithResponder(
Observer* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kObserverValidationInfo[] = …;
bool ObserverRequestValidator::Accept(mojo::Message* message) { … }
const char Handler::Name_[] = …;
Handler::IPCStableHashFunction Handler::MessageToMethodInfo_(mojo::Message& message) { … }
const char* Handler::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t Handler::IsAttributionReportingEnabled_Sym::IPCStableHash() { … }
uint32_t Handler::SendReport_Sym::IPCStableHash() { … }
uint32_t Handler::ClearStorage_Sym::IPCStableHash() { … }
# endif
class Handler_IsAttributionReportingEnabled_ForwardToCallback
: public mojo::MessageReceiver { … };
class Handler_SendReport_ForwardToCallback
: public mojo::MessageReceiver { … };
class Handler_ClearStorage_ForwardToCallback
: public mojo::MessageReceiver { … };
HandlerProxy::HandlerProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void HandlerProxy::IsAttributionReportingEnabled(
IsAttributionReportingEnabledCallback callback) { … }
void HandlerProxy::SendReport(
::content::AttributionReport::Id in_id, SendReportCallback callback) { … }
void HandlerProxy::ClearStorage(
ClearStorageCallback callback) { … }
class Handler_IsAttributionReportingEnabled_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool Handler_IsAttributionReportingEnabled_ForwardToCallback::Accept(
mojo::Message* message) { … }
void Handler_IsAttributionReportingEnabled_ProxyToResponder::Run(
bool in_enabled, ::network::mojom::AttributionSupport in_attribution_support) { … }
class Handler_SendReport_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool Handler_SendReport_ForwardToCallback::Accept(
mojo::Message* message) { … }
void Handler_SendReport_ProxyToResponder::Run(
) { … }
class Handler_ClearStorage_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool Handler_ClearStorage_ForwardToCallback::Accept(
mojo::Message* message) { … }
void Handler_ClearStorage_ProxyToResponder::Run(
) { … }
bool HandlerStubDispatch::Accept(
Handler* impl,
mojo::Message* message) { … }
bool HandlerStubDispatch::AcceptWithResponder(
Handler* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kHandlerValidationInfo[] = …;
bool HandlerRequestValidator::Accept(mojo::Message* message) { … }
bool HandlerResponseValidator::Accept(mojo::Message* message) { … }
const char Factory::Name_[] = …;
Factory::IPCStableHashFunction Factory::MessageToMethodInfo_(mojo::Message& message) { … }
const char* Factory::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t Factory::Create_Sym::IPCStableHash() { … }
# endif
FactoryProxy::FactoryProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void FactoryProxy::Create(
::mojo::PendingRemote<Observer> in_observer, ::mojo::PendingReceiver<Handler> in_handler) { … }
bool FactoryStubDispatch::Accept(
Factory* impl,
mojo::Message* message) { … }
bool FactoryStubDispatch::AcceptWithResponder(
Factory* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kFactoryValidationInfo[] = …;
bool FactoryRequestValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
bool StructTraits<::attribution_internals::mojom::ReportID::DataView, ::attribution_internals::mojom::ReportIDPtr>::Read(
::attribution_internals::mojom::ReportID::DataView input,
::attribution_internals::mojom::ReportIDPtr* output) { … }
bool StructTraits<::attribution_internals::mojom::WebUIReportEventLevelData::DataView, ::attribution_internals::mojom::WebUIReportEventLevelDataPtr>::Read(
::attribution_internals::mojom::WebUIReportEventLevelData::DataView input,
::attribution_internals::mojom::WebUIReportEventLevelDataPtr* output) { … }
bool StructTraits<::attribution_internals::mojom::AggregatableHistogramContribution::DataView, ::attribution_internals::mojom::AggregatableHistogramContributionPtr>::Read(
::attribution_internals::mojom::AggregatableHistogramContribution::DataView input,
::attribution_internals::mojom::AggregatableHistogramContributionPtr* output) { … }
bool StructTraits<::attribution_internals::mojom::WebUIReportAggregatableAttributionData::DataView, ::attribution_internals::mojom::WebUIReportAggregatableAttributionDataPtr>::Read(
::attribution_internals::mojom::WebUIReportAggregatableAttributionData::DataView input,
::attribution_internals::mojom::WebUIReportAggregatableAttributionDataPtr* output) { … }
bool StructTraits<::attribution_internals::mojom::Empty::DataView, ::attribution_internals::mojom::EmptyPtr>::Read(
::attribution_internals::mojom::Empty::DataView input,
::attribution_internals::mojom::EmptyPtr* output) { … }
bool StructTraits<::attribution_internals::mojom::WebUIReport::DataView, ::attribution_internals::mojom::WebUIReportPtr>::Read(
::attribution_internals::mojom::WebUIReport::DataView input,
::attribution_internals::mojom::WebUIReportPtr* output) { … }
bool StructTraits<::attribution_internals::mojom::WebUIDebugReport::DataView, ::attribution_internals::mojom::WebUIDebugReportPtr>::Read(
::attribution_internals::mojom::WebUIDebugReport::DataView input,
::attribution_internals::mojom::WebUIDebugReportPtr* output) { … }
bool StructTraits<::attribution_internals::mojom::WebUIAggregatableDebugReport::DataView, ::attribution_internals::mojom::WebUIAggregatableDebugReportPtr>::Read(
::attribution_internals::mojom::WebUIAggregatableDebugReport::DataView input,
::attribution_internals::mojom::WebUIAggregatableDebugReportPtr* output) { … }
bool StructTraits<::attribution_internals::mojom::WebUISource::DataView, ::attribution_internals::mojom::WebUISourcePtr>::Read(
::attribution_internals::mojom::WebUISource::DataView input,
::attribution_internals::mojom::WebUISourcePtr* output) { … }
bool StructTraits<::attribution_internals::mojom::WebUIRegistration::DataView, ::attribution_internals::mojom::WebUIRegistrationPtr>::Read(
::attribution_internals::mojom::WebUIRegistration::DataView input,
::attribution_internals::mojom::WebUIRegistrationPtr* output) { … }
bool StructTraits<::attribution_internals::mojom::WebUITrigger::DataView, ::attribution_internals::mojom::WebUITriggerPtr>::Read(
::attribution_internals::mojom::WebUITrigger::DataView input,
::attribution_internals::mojom::WebUITriggerPtr* output) { … }
bool StructTraits<::attribution_internals::mojom::WebUISourceRegistration::DataView, ::attribution_internals::mojom::WebUISourceRegistrationPtr>::Read(
::attribution_internals::mojom::WebUISourceRegistration::DataView input,
::attribution_internals::mojom::WebUISourceRegistrationPtr* output) { … }
bool StructTraits<::attribution_internals::mojom::WebUIOsRegistration::DataView, ::attribution_internals::mojom::WebUIOsRegistrationPtr>::Read(
::attribution_internals::mojom::WebUIOsRegistration::DataView input,
::attribution_internals::mojom::WebUIOsRegistrationPtr* output) { … }
bool UnionTraits<::attribution_internals::mojom::WebUIReportData::DataView, ::attribution_internals::mojom::WebUIReportDataPtr>::Read(
::attribution_internals::mojom::WebUIReportData::DataView input,
::attribution_internals::mojom::WebUIReportDataPtr* output) { … }
bool UnionTraits<::attribution_internals::mojom::NetworkStatus::DataView, ::attribution_internals::mojom::NetworkStatusPtr>::Read(
::attribution_internals::mojom::NetworkStatus::DataView input,
::attribution_internals::mojom::NetworkStatusPtr* output) { … }
bool UnionTraits<::attribution_internals::mojom::ReportStatus::DataView, ::attribution_internals::mojom::ReportStatusPtr>::Read(
::attribution_internals::mojom::ReportStatus::DataView input,
::attribution_internals::mojom::ReportStatusPtr* output) { … }
bool UnionTraits<::attribution_internals::mojom::SendAggregatableDebugReportResult::DataView, ::attribution_internals::mojom::SendAggregatableDebugReportResultPtr>::Read(
::attribution_internals::mojom::SendAggregatableDebugReportResult::DataView input,
::attribution_internals::mojom::SendAggregatableDebugReportResultPtr* output) { … }
}
namespace attribution_internals::mojom {
void ObserverInterceptorForTesting::OnSourcesChanged(std::vector<WebUISourcePtr> sources) { … }
void ObserverInterceptorForTesting::OnReportsChanged(std::vector<WebUIReportPtr> reports) { … }
void ObserverInterceptorForTesting::OnSourceHandled(WebUISourceRegistrationPtr source) { … }
void ObserverInterceptorForTesting::OnReportHandled(WebUIReportPtr report) { … }
void ObserverInterceptorForTesting::OnDebugReportSent(WebUIDebugReportPtr report) { … }
void ObserverInterceptorForTesting::OnAggregatableDebugReportSent(WebUIAggregatableDebugReportPtr report) { … }
void ObserverInterceptorForTesting::OnTriggerHandled(WebUITriggerPtr trigger) { … }
void ObserverInterceptorForTesting::OnOsRegistration(WebUIOsRegistrationPtr registration) { … }
void ObserverInterceptorForTesting::OnDebugModeChanged(bool debug_mode) { … }
ObserverAsyncWaiter::ObserverAsyncWaiter(
Observer* proxy) : … { … }
ObserverAsyncWaiter::~ObserverAsyncWaiter() = default;
void HandlerInterceptorForTesting::IsAttributionReportingEnabled(IsAttributionReportingEnabledCallback callback) { … }
void HandlerInterceptorForTesting::SendReport(::content::AttributionReport::Id id, SendReportCallback callback) { … }
void HandlerInterceptorForTesting::ClearStorage(ClearStorageCallback callback) { … }
HandlerAsyncWaiter::HandlerAsyncWaiter(
Handler* proxy) : … { … }
HandlerAsyncWaiter::~HandlerAsyncWaiter() = default;
void HandlerAsyncWaiter::IsAttributionReportingEnabled(
bool* out_enabled, ::network::mojom::AttributionSupport* out_attribution_support) { … }
void HandlerAsyncWaiter::SendReport(
::content::AttributionReport::Id id) { … }
void HandlerAsyncWaiter::ClearStorage(
) { … }
void FactoryInterceptorForTesting::Create(::mojo::PendingRemote<Observer> observer, ::mojo::PendingReceiver<Handler> handler) { … }
FactoryAsyncWaiter::FactoryAsyncWaiter(
Factory* proxy) : … { … }
FactoryAsyncWaiter::~FactoryAsyncWaiter() = default;
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif