#ifndef CONTENT_COMMON_AGENT_SCHEDULING_GROUP_MOJOM_H_
#define CONTENT_COMMON_AGENT_SCHEDULING_GROUP_MOJOM_H_
#include <stdint.h>
#include <limits>
#include <optional>
#include <type_traits>
#include <utility>
#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "content/common/agent_scheduling_group.mojom-features.h"
#include "content/common/agent_scheduling_group.mojom-shared.h"
#include "content/common/agent_scheduling_group.mojom-forward.h"
#include "content/common/associated_interfaces.mojom-forward.h"
#include "content/common/frame.mojom-forward.h"
#include "third_party/blink/public/mojom/frame/frame.mojom-forward.h"
#include "third_party/blink/public/mojom/frame/frame_replication_state.mojom-forward.h"
#include "third_party/blink/public/mojom/frame/tree_scope_type.mojom-forward.h"
#include "third_party/blink/public/mojom/shared_storage/shared_storage_worklet_service.mojom-forward.h"
#include "third_party/blink/public/mojom/tokens/tokens.mojom.h"
#include "third_party/blink/public/mojom/worker/worklet_global_scope_creation_params.mojom-forward.h"
#include <string>
#include <vector>
#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"
#include "content/common/content_export.h"
namespace content::mojom {
class AgentSchedulingGroupHostProxy;
template <typename ImplRefTraits>
class AgentSchedulingGroupHostStub;
class AgentSchedulingGroupHostRequestValidator;
class CONTENT_EXPORT AgentSchedulingGroupHost
: public AgentSchedulingGroupHostInterfaceBase { … };
class AgentSchedulingGroupProxy;
template <typename ImplRefTraits>
class AgentSchedulingGroupStub;
class AgentSchedulingGroupRequestValidator;
class CONTENT_EXPORT AgentSchedulingGroup
: public AgentSchedulingGroupInterfaceBase { … };
class CONTENT_EXPORT AgentSchedulingGroupHostProxy
: public AgentSchedulingGroupHost { … };
class CONTENT_EXPORT AgentSchedulingGroupProxy
: public AgentSchedulingGroup { … };
class CONTENT_EXPORT AgentSchedulingGroupHostStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<AgentSchedulingGroupHost>>
class AgentSchedulingGroupHostStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
AgentSchedulingGroupHostStub() = default;
~AgentSchedulingGroupHostStub() override = default;
void set_sink(ImplPointerType sink) { … }
ImplPointerType& sink() { … }
bool Accept(mojo::Message* message) override { … }
bool AcceptWithResponder(
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override { … }
private:
ImplPointerType sink_;
};
class CONTENT_EXPORT AgentSchedulingGroupStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<AgentSchedulingGroup>>
class AgentSchedulingGroupStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
AgentSchedulingGroupStub() = default;
~AgentSchedulingGroupStub() override = default;
void set_sink(ImplPointerType sink) { … }
ImplPointerType& sink() { … }
bool Accept(mojo::Message* message) override { … }
bool AcceptWithResponder(
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override { … }
private:
ImplPointerType sink_;
};
class CONTENT_EXPORT AgentSchedulingGroupHostRequestValidator : public mojo::MessageReceiver { … };
class CONTENT_EXPORT AgentSchedulingGroupRequestValidator : public mojo::MessageReceiver { … };
}
namespace mojo {
}
#endif