chromium/out/Default/gen/chrome/browser/media/media_engagement_score_details.mojom.cc

// chrome/browser/media/media_engagement_score_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 "chrome/browser/media/media_engagement_score_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 "chrome/browser/media/media_engagement_score_details.mojom-params-data.h"
#include "chrome/browser/media/media_engagement_score_details.mojom-shared-message-ids.h"

#include "chrome/browser/media/media_engagement_score_details.mojom-import-headers.h"
#include "chrome/browser/media/media_engagement_score_details.mojom-test-utils.h"


namespace media::mojom {
MediaEngagementScoreDetails::MediaEngagementScoreDetails()
    :{}

MediaEngagementScoreDetails::MediaEngagementScoreDetails(
    const ::url::Origin& origin_in,
    double total_score_in,
    int32_t visits_in,
    int32_t media_playbacks_in,
    double last_media_playback_time_in,
    bool is_high_in)
    :{}

MediaEngagementScoreDetails::~MediaEngagementScoreDetails() = default;

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

bool MediaEngagementScoreDetails::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
MediaEngagementConfig::MediaEngagementConfig()
    :{}

MediaEngagementConfig::MediaEngagementConfig(
    int32_t score_min_visits_in,
    double high_score_lower_threshold_in,
    double high_score_upper_threshold_in,
    bool feature_record_data_in,
    bool feature_bypass_autoplay_in,
    bool feature_preload_data_in,
    bool feature_https_only_in,
    bool feature_autoplay_disable_settings_in,
    bool pref_disable_unified_autoplay_in,
    bool has_custom_autoplay_policy_in,
    const std::string& autoplay_policy_in,
    const std::string& preload_version_in)
    :{}

MediaEngagementConfig::~MediaEngagementConfig() = default;
size_t MediaEngagementConfig::Hash(size_t seed) const {}

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t MediaEngagementScoreDetailsProvider::GetMediaEngagementScoreDetails_Sym::IPCStableHash() {}
uint32_t MediaEngagementScoreDetailsProvider::GetMediaEngagementConfig_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class MediaEngagementScoreDetailsProvider_GetMediaEngagementScoreDetails_ForwardToCallback
    : public mojo::MessageReceiver {};

class MediaEngagementScoreDetailsProvider_GetMediaEngagementConfig_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void MediaEngagementScoreDetailsProviderProxy::GetMediaEngagementScoreDetails(
    GetMediaEngagementScoreDetailsCallback callback) {}

void MediaEngagementScoreDetailsProviderProxy::GetMediaEngagementConfig(
    GetMediaEngagementConfigCallback callback) {}
class MediaEngagementScoreDetailsProvider_GetMediaEngagementScoreDetails_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void MediaEngagementScoreDetailsProvider_GetMediaEngagementScoreDetails_ProxyToResponder::Run(
    std::vector<MediaEngagementScoreDetailsPtr> in_info) {}
class MediaEngagementScoreDetailsProvider_GetMediaEngagementConfig_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void MediaEngagementScoreDetailsProvider_GetMediaEngagementConfig_ProxyToResponder::Run(
    MediaEngagementConfigPtr in_config) {}

// static
bool MediaEngagementScoreDetailsProviderStubDispatch::Accept(
    MediaEngagementScoreDetailsProvider* impl,
    mojo::Message* message) {}

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

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

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


}  // media::mojom


namespace mojo {


// static
bool StructTraits<::media::mojom::MediaEngagementScoreDetails::DataView, ::media::mojom::MediaEngagementScoreDetailsPtr>::Read(
    ::media::mojom::MediaEngagementScoreDetails::DataView input,
    ::media::mojom::MediaEngagementScoreDetailsPtr* output) {}


// static
bool StructTraits<::media::mojom::MediaEngagementConfig::DataView, ::media::mojom::MediaEngagementConfigPtr>::Read(
    ::media::mojom::MediaEngagementConfig::DataView input,
    ::media::mojom::MediaEngagementConfigPtr* 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 media::mojom {


void MediaEngagementScoreDetailsProviderInterceptorForTesting::GetMediaEngagementScoreDetails(GetMediaEngagementScoreDetailsCallback callback) {}
void MediaEngagementScoreDetailsProviderInterceptorForTesting::GetMediaEngagementConfig(GetMediaEngagementConfigCallback callback) {}
MediaEngagementScoreDetailsProviderAsyncWaiter::MediaEngagementScoreDetailsProviderAsyncWaiter(
    MediaEngagementScoreDetailsProvider* proxy) :{}

MediaEngagementScoreDetailsProviderAsyncWaiter::~MediaEngagementScoreDetailsProviderAsyncWaiter() = default;

void MediaEngagementScoreDetailsProviderAsyncWaiter::GetMediaEngagementScoreDetails(
    std::vector<MediaEngagementScoreDetailsPtr>* out_info) {}

std::vector<MediaEngagementScoreDetailsPtr> MediaEngagementScoreDetailsProviderAsyncWaiter::GetMediaEngagementScoreDetails(
    ) {}

void MediaEngagementScoreDetailsProviderAsyncWaiter::GetMediaEngagementConfig(
    MediaEngagementConfigPtr* out_config) {}

MediaEngagementConfigPtr MediaEngagementScoreDetailsProviderAsyncWaiter::GetMediaEngagementConfig(
    ) {}






}  // media::mojom


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