#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "content/common/agent_scheduling_group.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/agent_scheduling_group.mojom-params-data.h"
#include "content/common/agent_scheduling_group.mojom-shared-message-ids.h"
#include "content/common/agent_scheduling_group.mojom-import-headers.h"
#include "content/common/agent_scheduling_group.mojom-test-utils.h"
#include "third_party/blink/common/permissions_policy/permissions_policy_mojom_traits.h"
#include "third_party/blink/public/common/page/browsing_context_group_info_mojom_traits.h"
namespace content::mojom {
const char AgentSchedulingGroupHost::Name_[] = …;
AgentSchedulingGroupHost::IPCStableHashFunction AgentSchedulingGroupHost::MessageToMethodInfo_(mojo::Message& message) { … }
const char* AgentSchedulingGroupHost::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t AgentSchedulingGroupHost::DidUnloadRenderFrame_Sym::IPCStableHash() { … }
# endif
AgentSchedulingGroupHostProxy::AgentSchedulingGroupHostProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void AgentSchedulingGroupHostProxy::DidUnloadRenderFrame(
const ::blink::LocalFrameToken& in_frame_token) { … }
bool AgentSchedulingGroupHostStubDispatch::Accept(
AgentSchedulingGroupHost* impl,
mojo::Message* message) { … }
bool AgentSchedulingGroupHostStubDispatch::AcceptWithResponder(
AgentSchedulingGroupHost* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kAgentSchedulingGroupHostValidationInfo[] = …;
bool AgentSchedulingGroupHostRequestValidator::Accept(mojo::Message* message) { … }
const char AgentSchedulingGroup::Name_[] = …;
AgentSchedulingGroup::IPCStableHashFunction AgentSchedulingGroup::MessageToMethodInfo_(mojo::Message& message) { … }
const char* AgentSchedulingGroup::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t AgentSchedulingGroup::BindAssociatedInterfaces_Sym::IPCStableHash() { … }
uint32_t AgentSchedulingGroup::CreateView_Sym::IPCStableHash() { … }
uint32_t AgentSchedulingGroup::CreateFrame_Sym::IPCStableHash() { … }
uint32_t AgentSchedulingGroup::CreateSharedStorageWorkletService_Sym::IPCStableHash() { … }
# endif
AgentSchedulingGroupProxy::AgentSchedulingGroupProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void AgentSchedulingGroupProxy::BindAssociatedInterfaces(
::mojo::PendingAssociatedRemote<AgentSchedulingGroupHost> in_remote_host, ::mojo::PendingAssociatedReceiver<::content::mojom::RouteProvider> in_route_provider_receiver) { … }
void AgentSchedulingGroupProxy::CreateView(
::content::mojom::CreateViewParamsPtr in_params) { … }
void AgentSchedulingGroupProxy::CreateFrame(
::content::mojom::CreateFrameParamsPtr in_params) { … }
void AgentSchedulingGroupProxy::CreateSharedStorageWorkletService(
::mojo::PendingReceiver<::blink::mojom::SharedStorageWorkletService> in_receiver, ::blink::mojom::WorkletGlobalScopeCreationParamsPtr in_global_scope_creation_params) { … }
bool AgentSchedulingGroupStubDispatch::Accept(
AgentSchedulingGroup* impl,
mojo::Message* message) { … }
bool AgentSchedulingGroupStubDispatch::AcceptWithResponder(
AgentSchedulingGroup* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kAgentSchedulingGroupValidationInfo[] = …;
bool AgentSchedulingGroupRequestValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
}
namespace content::mojom {
void AgentSchedulingGroupHostInterceptorForTesting::DidUnloadRenderFrame(const ::blink::LocalFrameToken& frame_token) { … }
AgentSchedulingGroupHostAsyncWaiter::AgentSchedulingGroupHostAsyncWaiter(
AgentSchedulingGroupHost* proxy) : … { … }
AgentSchedulingGroupHostAsyncWaiter::~AgentSchedulingGroupHostAsyncWaiter() = default;
void AgentSchedulingGroupInterceptorForTesting::BindAssociatedInterfaces(::mojo::PendingAssociatedRemote<AgentSchedulingGroupHost> remote_host, ::mojo::PendingAssociatedReceiver<::content::mojom::RouteProvider> route_provider_receiver) { … }
void AgentSchedulingGroupInterceptorForTesting::CreateView(::content::mojom::CreateViewParamsPtr params) { … }
void AgentSchedulingGroupInterceptorForTesting::CreateFrame(::content::mojom::CreateFrameParamsPtr params) { … }
void AgentSchedulingGroupInterceptorForTesting::CreateSharedStorageWorkletService(::mojo::PendingReceiver<::blink::mojom::SharedStorageWorkletService> receiver, ::blink::mojom::WorkletGlobalScopeCreationParamsPtr global_scope_creation_params) { … }
AgentSchedulingGroupAsyncWaiter::AgentSchedulingGroupAsyncWaiter(
AgentSchedulingGroup* proxy) : … { … }
AgentSchedulingGroupAsyncWaiter::~AgentSchedulingGroupAsyncWaiter() = default;
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif