chromium/out/Default/gen/components/site_engagement/core/mojom/site_engagement_details.mojom.cc

// components/site_engagement/core/mojom/site_engagement_details.mojom.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif

#include "components/site_engagement/core/mojom/site_engagement_details.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 "components/site_engagement/core/mojom/site_engagement_details.mojom-params-data.h"
#include "components/site_engagement/core/mojom/site_engagement_details.mojom-shared-message-ids.h"

#include "components/site_engagement/core/mojom/site_engagement_details.mojom-import-headers.h"
#include "components/site_engagement/core/mojom/site_engagement_details.mojom-test-utils.h"


namespace site_engagement::mojom {
SiteEngagementDetails::SiteEngagementDetails()
    :{}

SiteEngagementDetails::SiteEngagementDetails(
    const ::GURL& origin_in,
    double total_score_in,
    double base_score_in,
    double installed_bonus_in)
    :{}

SiteEngagementDetails::~SiteEngagementDetails() = default;

void SiteEngagementDetails::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool SiteEngagementDetails::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
const char SiteEngagementDetailsProvider::Name_[] =;

SiteEngagementDetailsProvider::IPCStableHashFunction SiteEngagementDetailsProvider::MessageToMethodInfo_(mojo::Message& message) {}


const char* SiteEngagementDetailsProvider::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t SiteEngagementDetailsProvider::GetSiteEngagementDetails_Sym::IPCStableHash() {}
uint32_t SiteEngagementDetailsProvider::SetSiteEngagementBaseScoreForUrl_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class SiteEngagementDetailsProvider_GetSiteEngagementDetails_ForwardToCallback
    : public mojo::MessageReceiver {};

SiteEngagementDetailsProviderProxy::SiteEngagementDetailsProviderProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void SiteEngagementDetailsProviderProxy::GetSiteEngagementDetails(
    GetSiteEngagementDetailsCallback callback) {}

void SiteEngagementDetailsProviderProxy::SetSiteEngagementBaseScoreForUrl(
    const ::GURL& in_url, double in_score) {}
class SiteEngagementDetailsProvider_GetSiteEngagementDetails_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool SiteEngagementDetailsProvider_GetSiteEngagementDetails_ForwardToCallback::Accept(
    mojo::Message* message) {}

void SiteEngagementDetailsProvider_GetSiteEngagementDetails_ProxyToResponder::Run(
    std::vector<SiteEngagementDetailsPtr> in_info) {}

// static
bool SiteEngagementDetailsProviderStubDispatch::Accept(
    SiteEngagementDetailsProvider* impl,
    mojo::Message* message) {}

// static
bool SiteEngagementDetailsProviderStubDispatch::AcceptWithResponder(
    SiteEngagementDetailsProvider* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kSiteEngagementDetailsProviderValidationInfo[] =;

bool SiteEngagementDetailsProviderRequestValidator::Accept(mojo::Message* message) {}

bool SiteEngagementDetailsProviderResponseValidator::Accept(mojo::Message* message) {}


}  // site_engagement::mojom


namespace mojo {


// static
bool StructTraits<::site_engagement::mojom::SiteEngagementDetails::DataView, ::site_engagement::mojom::SiteEngagementDetailsPtr>::Read(
    ::site_engagement::mojom::SiteEngagementDetails::DataView input,
    ::site_engagement::mojom::SiteEngagementDetailsPtr* output) {}

}  // namespace mojo


// Symbols declared in the -test-utils.h header are defined here instead of a
// separate .cc file to save compile time.


namespace site_engagement::mojom {


void SiteEngagementDetailsProviderInterceptorForTesting::GetSiteEngagementDetails(GetSiteEngagementDetailsCallback callback) {}
void SiteEngagementDetailsProviderInterceptorForTesting::SetSiteEngagementBaseScoreForUrl(const ::GURL& url, double score) {}
SiteEngagementDetailsProviderAsyncWaiter::SiteEngagementDetailsProviderAsyncWaiter(
    SiteEngagementDetailsProvider* proxy) :{}

SiteEngagementDetailsProviderAsyncWaiter::~SiteEngagementDetailsProviderAsyncWaiter() = default;

void SiteEngagementDetailsProviderAsyncWaiter::GetSiteEngagementDetails(
    std::vector<SiteEngagementDetailsPtr>* out_info) {}

std::vector<SiteEngagementDetailsPtr> SiteEngagementDetailsProviderAsyncWaiter::GetSiteEngagementDetails(
    ) {}






}  // site_engagement::mojom


#if defined(__clang__)
#pragma clang diagnostic pop
#endif