#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "mojo/public/interfaces/bindings/pipe_control_messages.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 "mojo/public/interfaces/bindings/pipe_control_messages.mojom-params-data.h"
#include "mojo/public/interfaces/bindings/pipe_control_messages.mojom-shared-message-ids.h"
#include "mojo/public/interfaces/bindings/pipe_control_messages.mojom-import-headers.h"
#include "mojo/public/interfaces/bindings/pipe_control_messages.mojom-test-utils.h"
namespace mojo::pipe_control {
RunOrClosePipeMessageParams::RunOrClosePipeMessageParams()
: … { … }
RunOrClosePipeMessageParams::RunOrClosePipeMessageParams(
RunOrClosePipeInputPtr input_in)
: … { … }
RunOrClosePipeMessageParams::~RunOrClosePipeMessageParams() = default;
void RunOrClosePipeMessageParams::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool RunOrClosePipeMessageParams::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DisconnectReason::DisconnectReason()
: … { … }
DisconnectReason::DisconnectReason(
uint32_t custom_reason_in,
const std::string& description_in)
: … { … }
DisconnectReason::~DisconnectReason() = default;
size_t DisconnectReason::Hash(size_t seed) const { … }
void DisconnectReason::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool DisconnectReason::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PeerAssociatedEndpointClosedEvent::PeerAssociatedEndpointClosedEvent()
: … { … }
PeerAssociatedEndpointClosedEvent::PeerAssociatedEndpointClosedEvent(
uint32_t id_in,
DisconnectReasonPtr disconnect_reason_in)
: … { … }
PeerAssociatedEndpointClosedEvent::~PeerAssociatedEndpointClosedEvent() = default;
void PeerAssociatedEndpointClosedEvent::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool PeerAssociatedEndpointClosedEvent::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PauseUntilFlushCompletes::PauseUntilFlushCompletes()
: … { … }
PauseUntilFlushCompletes::PauseUntilFlushCompletes(
::mojo::ScopedMessagePipeHandle flush_pipe_in)
: … { … }
PauseUntilFlushCompletes::~PauseUntilFlushCompletes() = default;
void PauseUntilFlushCompletes::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool PauseUntilFlushCompletes::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FlushAsync::FlushAsync()
: … { … }
FlushAsync::FlushAsync(
::mojo::ScopedMessagePipeHandle flusher_pipe_in)
: … { … }
FlushAsync::~FlushAsync() = default;
void FlushAsync::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool FlushAsync::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RunOrClosePipeInput::RunOrClosePipeInput() : … { … }
RunOrClosePipeInput::~RunOrClosePipeInput() { … }
void RunOrClosePipeInput::set_peer_associated_endpoint_closed_event(
PeerAssociatedEndpointClosedEventPtr peer_associated_endpoint_closed_event) { … }
void RunOrClosePipeInput::set_pause_until_flush_completes(
PauseUntilFlushCompletesPtr pause_until_flush_completes) { … }
void RunOrClosePipeInput::set_flush_async(
FlushAsyncPtr flush_async) { … }
void RunOrClosePipeInput::DestroyActive() { … }
bool RunOrClosePipeInput::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
}
namespace mojo {
bool StructTraits<::mojo::pipe_control::RunOrClosePipeMessageParams::DataView, ::mojo::pipe_control::RunOrClosePipeMessageParamsPtr>::Read(
::mojo::pipe_control::RunOrClosePipeMessageParams::DataView input,
::mojo::pipe_control::RunOrClosePipeMessageParamsPtr* output) { … }
bool StructTraits<::mojo::pipe_control::DisconnectReason::DataView, ::mojo::pipe_control::DisconnectReasonPtr>::Read(
::mojo::pipe_control::DisconnectReason::DataView input,
::mojo::pipe_control::DisconnectReasonPtr* output) { … }
bool StructTraits<::mojo::pipe_control::PeerAssociatedEndpointClosedEvent::DataView, ::mojo::pipe_control::PeerAssociatedEndpointClosedEventPtr>::Read(
::mojo::pipe_control::PeerAssociatedEndpointClosedEvent::DataView input,
::mojo::pipe_control::PeerAssociatedEndpointClosedEventPtr* output) { … }
bool StructTraits<::mojo::pipe_control::PauseUntilFlushCompletes::DataView, ::mojo::pipe_control::PauseUntilFlushCompletesPtr>::Read(
::mojo::pipe_control::PauseUntilFlushCompletes::DataView input,
::mojo::pipe_control::PauseUntilFlushCompletesPtr* output) { … }
bool StructTraits<::mojo::pipe_control::FlushAsync::DataView, ::mojo::pipe_control::FlushAsyncPtr>::Read(
::mojo::pipe_control::FlushAsync::DataView input,
::mojo::pipe_control::FlushAsyncPtr* output) { … }
bool UnionTraits<::mojo::pipe_control::RunOrClosePipeInput::DataView, ::mojo::pipe_control::RunOrClosePipeInputPtr>::Read(
::mojo::pipe_control::RunOrClosePipeInput::DataView input,
::mojo::pipe_control::RunOrClosePipeInputPtr* output) { … }
}
namespace mojo::pipe_control {
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif