chromium/out/Default/gen/content/common/renderer.mojom.cc

// content/common/renderer.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 "content/common/renderer.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/common/renderer.mojom-params-data.h"
#include "content/common/renderer.mojom-shared-message-ids.h"

#include "content/common/renderer.mojom-import-headers.h"
#include "content/common/renderer.mojom-test-utils.h"
#include "content/common/content_param_traits_macros.h"
#include "content/public/common/common_param_traits.h"
#include "services/network/public/cpp/p2p_param_traits.h"


namespace content::mojom {
UpdateScrollbarThemeParams::UpdateScrollbarThemeParams()
    :{}

UpdateScrollbarThemeParams::UpdateScrollbarThemeParams(
    bool has_initial_button_delay_in,
    float initial_button_delay_in,
    bool has_autoscroll_button_delay_in,
    float autoscroll_button_delay_in,
    bool jump_on_track_click_in,
    ::content::mojom::ScrollerStyle preferred_scroller_style_in,
    bool redraw_in,
    bool scroll_view_rubber_banding_in)
    :{}

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

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

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

UpdateSystemColorInfoParams::UpdateSystemColorInfoParams(
    std::optional<uint32_t> accent_color_in)
    :{}

UpdateSystemColorInfoParams::~UpdateSystemColorInfoParams() = default;

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t Renderer::CreateAgentSchedulingGroup_Sym::IPCStableHash() {}
uint32_t Renderer::CreateAssociatedAgentSchedulingGroup_Sym::IPCStableHash() {}
uint32_t Renderer::TransferSharedLastForegroundTime_Sym::IPCStableHash() {}
uint32_t Renderer::OnNetworkConnectionChanged_Sym::IPCStableHash() {}
uint32_t Renderer::OnNetworkQualityChanged_Sym::IPCStableHash() {}
uint32_t Renderer::SetWebKitSharedTimersSuspended_Sym::IPCStableHash() {}
uint32_t Renderer::UpdateScrollbarTheme_Sym::IPCStableHash() {}
uint32_t Renderer::OnSystemColorsChanged_Sym::IPCStableHash() {}
uint32_t Renderer::UpdateSystemColorInfo_Sym::IPCStableHash() {}
uint32_t Renderer::PurgePluginListCache_Sym::IPCStableHash() {}
uint32_t Renderer::PurgeResourceCache_Sym::IPCStableHash() {}
uint32_t Renderer::SetProcessState_Sym::IPCStableHash() {}
uint32_t Renderer::SetIsLockedToSite_Sym::IPCStableHash() {}
uint32_t Renderer::SetIsCrossOriginIsolated_Sym::IPCStableHash() {}
uint32_t Renderer::SetIsWebSecurityDisabled_Sym::IPCStableHash() {}
uint32_t Renderer::SetIsIsolatedContext_Sym::IPCStableHash() {}
uint32_t Renderer::InitializeRenderer_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class Renderer_PurgeResourceCache_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void RendererProxy::CreateAgentSchedulingGroup(
    ::mojo::PendingReceiver<::IPC::mojom::ChannelBootstrap> in_bootstrap) {}

void RendererProxy::CreateAssociatedAgentSchedulingGroup(
    ::mojo::PendingAssociatedReceiver<::content::mojom::AgentSchedulingGroup> in_agent_scheduling_group) {}

void RendererProxy::TransferSharedLastForegroundTime(
    ::base::ReadOnlySharedMemoryRegion in_last_foreground_time_region) {}

void RendererProxy::OnNetworkConnectionChanged(
    ::net::NetworkChangeNotifier::ConnectionType in_connection_type, double in_max_bandwidth_mbps) {}

void RendererProxy::OnNetworkQualityChanged(
    ::net::EffectiveConnectionType in_effective_connection_type, ::base::TimeDelta in_http_rtt, ::base::TimeDelta in_transport_rtt, double in_bandwidth_kbps) {}

void RendererProxy::SetWebKitSharedTimersSuspended(
    bool in_suspend) {}

void RendererProxy::UpdateScrollbarTheme(
    UpdateScrollbarThemeParamsPtr in_params) {}

void RendererProxy::OnSystemColorsChanged(
    int32_t in_aqua_color_variant) {}

void RendererProxy::UpdateSystemColorInfo(
    UpdateSystemColorInfoParamsPtr in_params) {}

void RendererProxy::PurgePluginListCache(
    bool in_reload_pages) {}

void RendererProxy::PurgeResourceCache(
    PurgeResourceCacheCallback callback) {}

void RendererProxy::SetProcessState(
    ::base::Process::Priority in_process_priority, RenderProcessVisibleState in_visible_state) {}

void RendererProxy::SetIsLockedToSite(
    ) {}

void RendererProxy::SetIsCrossOriginIsolated(
    bool in_value) {}

void RendererProxy::SetIsWebSecurityDisabled(
    bool in_value) {}

void RendererProxy::SetIsIsolatedContext(
    bool in_value) {}

void RendererProxy::InitializeRenderer(
    const std::string& in_user_agent, const ::blink::UserAgentMetadata& in_metadata, const std::vector<std::string>& in_cors_exempt_header_list, ::blink::mojom::OriginTrialsSettingsPtr in_origin_trials_settings) {}
class Renderer_PurgeResourceCache_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void Renderer_PurgeResourceCache_ProxyToResponder::Run(
    ) {}

// static
bool RendererStubDispatch::Accept(
    Renderer* impl,
    mojo::Message* message) {}

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

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

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


}  // content::mojom


namespace mojo {


// static
bool StructTraits<::content::mojom::UpdateScrollbarThemeParams::DataView, ::content::mojom::UpdateScrollbarThemeParamsPtr>::Read(
    ::content::mojom::UpdateScrollbarThemeParams::DataView input,
    ::content::mojom::UpdateScrollbarThemeParamsPtr* output) {}


// static
bool StructTraits<::content::mojom::UpdateSystemColorInfoParams::DataView, ::content::mojom::UpdateSystemColorInfoParamsPtr>::Read(
    ::content::mojom::UpdateSystemColorInfoParams::DataView input,
    ::content::mojom::UpdateSystemColorInfoParamsPtr* 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 content::mojom {


void RendererInterceptorForTesting::CreateAgentSchedulingGroup(::mojo::PendingReceiver<::IPC::mojom::ChannelBootstrap> bootstrap) {}
void RendererInterceptorForTesting::CreateAssociatedAgentSchedulingGroup(::mojo::PendingAssociatedReceiver<::content::mojom::AgentSchedulingGroup> agent_scheduling_group) {}
void RendererInterceptorForTesting::TransferSharedLastForegroundTime(::base::ReadOnlySharedMemoryRegion last_foreground_time_region) {}
void RendererInterceptorForTesting::OnNetworkConnectionChanged(::net::NetworkChangeNotifier::ConnectionType connection_type, double max_bandwidth_mbps) {}
void RendererInterceptorForTesting::OnNetworkQualityChanged(::net::EffectiveConnectionType effective_connection_type, ::base::TimeDelta http_rtt, ::base::TimeDelta transport_rtt, double bandwidth_kbps) {}
void RendererInterceptorForTesting::SetWebKitSharedTimersSuspended(bool suspend) {}
void RendererInterceptorForTesting::UpdateScrollbarTheme(UpdateScrollbarThemeParamsPtr params) {}
void RendererInterceptorForTesting::OnSystemColorsChanged(int32_t aqua_color_variant) {}
void RendererInterceptorForTesting::UpdateSystemColorInfo(UpdateSystemColorInfoParamsPtr params) {}
void RendererInterceptorForTesting::PurgePluginListCache(bool reload_pages) {}
void RendererInterceptorForTesting::PurgeResourceCache(PurgeResourceCacheCallback callback) {}
void RendererInterceptorForTesting::SetProcessState(::base::Process::Priority process_priority, RenderProcessVisibleState visible_state) {}
void RendererInterceptorForTesting::SetIsLockedToSite() {}
void RendererInterceptorForTesting::SetIsCrossOriginIsolated(bool value) {}
void RendererInterceptorForTesting::SetIsWebSecurityDisabled(bool value) {}
void RendererInterceptorForTesting::SetIsIsolatedContext(bool value) {}
void RendererInterceptorForTesting::InitializeRenderer(const std::string& user_agent, const ::blink::UserAgentMetadata& metadata, const std::vector<std::string>& cors_exempt_header_list, ::blink::mojom::OriginTrialsSettingsPtr origin_trials_settings) {}
RendererAsyncWaiter::RendererAsyncWaiter(
    Renderer* proxy) :{}

RendererAsyncWaiter::~RendererAsyncWaiter() = default;

void RendererAsyncWaiter::PurgeResourceCache(
    ) {}








}  // content::mojom


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