chromium/out/Default/gen/services/tracing/public/mojom/background_tracing_agent.mojom.cc

// services/tracing/public/mojom/background_tracing_agent.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 "services/tracing/public/mojom/background_tracing_agent.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 "services/tracing/public/mojom/background_tracing_agent.mojom-params-data.h"
#include "services/tracing/public/mojom/background_tracing_agent.mojom-shared-message-ids.h"

#include "services/tracing/public/mojom/background_tracing_agent.mojom-import-headers.h"
#include "services/tracing/public/mojom/background_tracing_agent.mojom-test-utils.h"


namespace tracing::mojom {
BackgroundTracingRule::BackgroundTracingRule()
    :{}

BackgroundTracingRule::BackgroundTracingRule(
    const std::string& rule_id_in)
    :{}

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

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t BackgroundTracingAgentClient::OnInitialized_Sym::IPCStableHash() {}
uint32_t BackgroundTracingAgentClient::OnTriggerBackgroundTrace_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void BackgroundTracingAgentClientProxy::OnInitialized(
    ) {}

void BackgroundTracingAgentClientProxy::OnTriggerBackgroundTrace(
    BackgroundTracingRulePtr in_rule, std::optional<int32_t> in_histogram_value) {}

// static
bool BackgroundTracingAgentClientStubDispatch::Accept(
    BackgroundTracingAgentClient* impl,
    mojo::Message* message) {}

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

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

const char BackgroundTracingAgent::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t BackgroundTracingAgent::SetUMACallback_Sym::IPCStableHash() {}
uint32_t BackgroundTracingAgent::ClearUMACallback_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void BackgroundTracingAgentProxy::SetUMACallback(
    BackgroundTracingRulePtr in_rule, const std::string& in_histogram_name, int32_t in_histogram_lower_value, int32_t in_histogram_upper_value) {}

void BackgroundTracingAgentProxy::ClearUMACallback(
    BackgroundTracingRulePtr in_rule) {}

// static
bool BackgroundTracingAgentStubDispatch::Accept(
    BackgroundTracingAgent* impl,
    mojo::Message* message) {}

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

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

const char BackgroundTracingAgentProvider::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t BackgroundTracingAgentProvider::Create_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void BackgroundTracingAgentProviderProxy::Create(
    uint64_t in_tracing_process_id, ::mojo::PendingRemote<BackgroundTracingAgentClient> in_client, ::mojo::PendingReceiver<BackgroundTracingAgent> in_agent) {}

// static
bool BackgroundTracingAgentProviderStubDispatch::Accept(
    BackgroundTracingAgentProvider* impl,
    mojo::Message* message) {}

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

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



}  // tracing::mojom


namespace mojo {


// static
bool StructTraits<::tracing::mojom::BackgroundTracingRule::DataView, ::tracing::mojom::BackgroundTracingRulePtr>::Read(
    ::tracing::mojom::BackgroundTracingRule::DataView input,
    ::tracing::mojom::BackgroundTracingRulePtr* 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 tracing::mojom {


void BackgroundTracingAgentClientInterceptorForTesting::OnInitialized() {}
void BackgroundTracingAgentClientInterceptorForTesting::OnTriggerBackgroundTrace(BackgroundTracingRulePtr rule, std::optional<int32_t> histogram_value) {}
BackgroundTracingAgentClientAsyncWaiter::BackgroundTracingAgentClientAsyncWaiter(
    BackgroundTracingAgentClient* proxy) :{}

BackgroundTracingAgentClientAsyncWaiter::~BackgroundTracingAgentClientAsyncWaiter() = default;




void BackgroundTracingAgentInterceptorForTesting::SetUMACallback(BackgroundTracingRulePtr rule, const std::string& histogram_name, int32_t histogram_lower_value, int32_t histogram_upper_value) {}
void BackgroundTracingAgentInterceptorForTesting::ClearUMACallback(BackgroundTracingRulePtr rule) {}
BackgroundTracingAgentAsyncWaiter::BackgroundTracingAgentAsyncWaiter(
    BackgroundTracingAgent* proxy) :{}

BackgroundTracingAgentAsyncWaiter::~BackgroundTracingAgentAsyncWaiter() = default;




void BackgroundTracingAgentProviderInterceptorForTesting::Create(uint64_t tracing_process_id, ::mojo::PendingRemote<BackgroundTracingAgentClient> client, ::mojo::PendingReceiver<BackgroundTracingAgent> agent) {}
BackgroundTracingAgentProviderAsyncWaiter::BackgroundTracingAgentProviderAsyncWaiter(
    BackgroundTracingAgentProvider* proxy) :{}

BackgroundTracingAgentProviderAsyncWaiter::~BackgroundTracingAgentProviderAsyncWaiter() = default;






}  // tracing::mojom


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