chromium/out/Default/gen/components/performance_manager/public/mojom/coordination_unit.mojom-blink.cc

// components/performance_manager/public/mojom/coordination_unit.mojom-blink.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/performance_manager/public/mojom/coordination_unit.mojom-blink.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/performance_manager/public/mojom/coordination_unit.mojom-params-data.h"
#include "components/performance_manager/public/mojom/coordination_unit.mojom-shared-message-ids.h"

#include "components/performance_manager/public/mojom/coordination_unit.mojom-blink-import-headers.h"
#include "components/performance_manager/public/mojom/coordination_unit.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"


namespace performance_manager::mojom::blink {
const char DocumentCoordinationUnit::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t DocumentCoordinationUnit::SetNetworkAlmostIdle_Sym::IPCStableHash() {}
uint32_t DocumentCoordinationUnit::SetLifecycleState_Sym::IPCStableHash() {}
uint32_t DocumentCoordinationUnit::SetHasNonEmptyBeforeUnload_Sym::IPCStableHash() {}
uint32_t DocumentCoordinationUnit::SetHadFormInteraction_Sym::IPCStableHash() {}
uint32_t DocumentCoordinationUnit::SetHadUserEdits_Sym::IPCStableHash() {}
uint32_t DocumentCoordinationUnit::OnStartedUsingWebRTC_Sym::IPCStableHash() {}
uint32_t DocumentCoordinationUnit::OnStoppedUsingWebRTC_Sym::IPCStableHash() {}
uint32_t DocumentCoordinationUnit::SetIsAdFrame_Sym::IPCStableHash() {}
uint32_t DocumentCoordinationUnit::OnNonPersistentNotificationCreated_Sym::IPCStableHash() {}
uint32_t DocumentCoordinationUnit::OnFirstContentfulPaint_Sym::IPCStableHash() {}
uint32_t DocumentCoordinationUnit::OnWebMemoryMeasurementRequested_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void DocumentCoordinationUnitProxy::SetNetworkAlmostIdle(
    ) {}

void DocumentCoordinationUnitProxy::SetLifecycleState(
    ::performance_manager::mojom::blink::LifecycleState in_state) {}

void DocumentCoordinationUnitProxy::SetHasNonEmptyBeforeUnload(
    bool in_has_nonempty_beforeunload) {}

void DocumentCoordinationUnitProxy::SetHadFormInteraction(
    ) {}

void DocumentCoordinationUnitProxy::SetHadUserEdits(
    ) {}

void DocumentCoordinationUnitProxy::OnStartedUsingWebRTC(
    ) {}

void DocumentCoordinationUnitProxy::OnStoppedUsingWebRTC(
    ) {}

void DocumentCoordinationUnitProxy::SetIsAdFrame(
    bool in_is_ad_frame) {}

void DocumentCoordinationUnitProxy::OnNonPersistentNotificationCreated(
    ) {}

void DocumentCoordinationUnitProxy::OnFirstContentfulPaint(
    ::base::TimeDelta in_time_since_navigation_start) {}

void DocumentCoordinationUnitProxy::OnWebMemoryMeasurementRequested(
    ::performance_manager::mojom::blink::WebMemoryMeasurement::Mode in_mode, OnWebMemoryMeasurementRequestedCallback callback) {}
class DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_ProxyToResponder::Run(
    ::performance_manager::mojom::blink::WebMemoryMeasurementPtr in_measurement) {}

// static
bool DocumentCoordinationUnitStubDispatch::Accept(
    DocumentCoordinationUnit* impl,
    mojo::Message* message) {}

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

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

bool DocumentCoordinationUnitResponseValidator::Accept(mojo::Message* message) {}
const char ProcessCoordinationUnit::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t ProcessCoordinationUnit::SetMainThreadTaskLoadIsLow_Sym::IPCStableHash() {}
uint32_t ProcessCoordinationUnit::OnV8ContextCreated_Sym::IPCStableHash() {}
uint32_t ProcessCoordinationUnit::OnV8ContextDetached_Sym::IPCStableHash() {}
uint32_t ProcessCoordinationUnit::OnV8ContextDestroyed_Sym::IPCStableHash() {}
uint32_t ProcessCoordinationUnit::OnRemoteIframeAttached_Sym::IPCStableHash() {}
uint32_t ProcessCoordinationUnit::OnRemoteIframeDetached_Sym::IPCStableHash() {}
uint32_t ProcessCoordinationUnit::FireBackgroundTracingTrigger_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void ProcessCoordinationUnitProxy::SetMainThreadTaskLoadIsLow(
    bool in_main_thread_task_load_is_low) {}

void ProcessCoordinationUnitProxy::OnV8ContextCreated(
    ::performance_manager::mojom::blink::V8ContextDescriptionPtr in_description, ::performance_manager::mojom::blink::IframeAttributionDataPtr in_iframe_attribution_data) {}

void ProcessCoordinationUnitProxy::OnV8ContextDetached(
    const ::blink::V8ContextToken& in_v8_context_token) {}

void ProcessCoordinationUnitProxy::OnV8ContextDestroyed(
    const ::blink::V8ContextToken& in_v8_context_token) {}

void ProcessCoordinationUnitProxy::OnRemoteIframeAttached(
    const ::blink::LocalFrameToken& in_parent_frame_token, const ::blink::RemoteFrameToken& in_remote_frame_token, ::performance_manager::mojom::blink::IframeAttributionDataPtr in_iframe_attribution_data) {}

void ProcessCoordinationUnitProxy::OnRemoteIframeDetached(
    const ::blink::LocalFrameToken& in_parent_frame_token, const ::blink::RemoteFrameToken& in_remote_frame_token) {}

void ProcessCoordinationUnitProxy::FireBackgroundTracingTrigger(
    const WTF::String& in_trigger_name) {}

// static
bool ProcessCoordinationUnitStubDispatch::Accept(
    ProcessCoordinationUnit* impl,
    mojo::Message* message) {}

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

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



}  // performance_manager::mojom::blink


namespace mojo {

}  // namespace mojo


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


namespace performance_manager::mojom::blink {


void DocumentCoordinationUnitInterceptorForTesting::SetNetworkAlmostIdle() {}
void DocumentCoordinationUnitInterceptorForTesting::SetLifecycleState(::performance_manager::mojom::blink::LifecycleState state) {}
void DocumentCoordinationUnitInterceptorForTesting::SetHasNonEmptyBeforeUnload(bool has_nonempty_beforeunload) {}
void DocumentCoordinationUnitInterceptorForTesting::SetHadFormInteraction() {}
void DocumentCoordinationUnitInterceptorForTesting::SetHadUserEdits() {}
void DocumentCoordinationUnitInterceptorForTesting::OnStartedUsingWebRTC() {}
void DocumentCoordinationUnitInterceptorForTesting::OnStoppedUsingWebRTC() {}
void DocumentCoordinationUnitInterceptorForTesting::SetIsAdFrame(bool is_ad_frame) {}
void DocumentCoordinationUnitInterceptorForTesting::OnNonPersistentNotificationCreated() {}
void DocumentCoordinationUnitInterceptorForTesting::OnFirstContentfulPaint(::base::TimeDelta time_since_navigation_start) {}
void DocumentCoordinationUnitInterceptorForTesting::OnWebMemoryMeasurementRequested(::performance_manager::mojom::blink::WebMemoryMeasurement::Mode mode, OnWebMemoryMeasurementRequestedCallback callback) {}
DocumentCoordinationUnitAsyncWaiter::DocumentCoordinationUnitAsyncWaiter(
    DocumentCoordinationUnit* proxy) :{}

DocumentCoordinationUnitAsyncWaiter::~DocumentCoordinationUnitAsyncWaiter() = default;

void DocumentCoordinationUnitAsyncWaiter::OnWebMemoryMeasurementRequested(
    ::performance_manager::mojom::blink::WebMemoryMeasurement::Mode mode, ::performance_manager::mojom::blink::WebMemoryMeasurementPtr* out_measurement) {}

::performance_manager::mojom::blink::WebMemoryMeasurementPtr DocumentCoordinationUnitAsyncWaiter::OnWebMemoryMeasurementRequested(
    ::performance_manager::mojom::blink::WebMemoryMeasurement::Mode mode) {}




void ProcessCoordinationUnitInterceptorForTesting::SetMainThreadTaskLoadIsLow(bool main_thread_task_load_is_low) {}
void ProcessCoordinationUnitInterceptorForTesting::OnV8ContextCreated(::performance_manager::mojom::blink::V8ContextDescriptionPtr description, ::performance_manager::mojom::blink::IframeAttributionDataPtr iframe_attribution_data) {}
void ProcessCoordinationUnitInterceptorForTesting::OnV8ContextDetached(const ::blink::V8ContextToken& v8_context_token) {}
void ProcessCoordinationUnitInterceptorForTesting::OnV8ContextDestroyed(const ::blink::V8ContextToken& v8_context_token) {}
void ProcessCoordinationUnitInterceptorForTesting::OnRemoteIframeAttached(const ::blink::LocalFrameToken& parent_frame_token, const ::blink::RemoteFrameToken& remote_frame_token, ::performance_manager::mojom::blink::IframeAttributionDataPtr iframe_attribution_data) {}
void ProcessCoordinationUnitInterceptorForTesting::OnRemoteIframeDetached(const ::blink::LocalFrameToken& parent_frame_token, const ::blink::RemoteFrameToken& remote_frame_token) {}
void ProcessCoordinationUnitInterceptorForTesting::FireBackgroundTracingTrigger(const WTF::String& trigger_name) {}
ProcessCoordinationUnitAsyncWaiter::ProcessCoordinationUnitAsyncWaiter(
    ProcessCoordinationUnit* proxy) :{}

ProcessCoordinationUnitAsyncWaiter::~ProcessCoordinationUnitAsyncWaiter() = default;






}  // performance_manager::mojom::blink


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