#include "extensions/common/mojom/message_port.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "extensions/common/mojom/message_port.mojom-params-data.h"
namespace extensions {
namespace mojom {
NOINLINE static const char* SerializationFormatToStringHelper(SerializationFormat value) { … }
std::string SerializationFormatToString(SerializationFormat value) { … }
std::ostream& operator<<(std::ostream& os, SerializationFormat value) { … }
NOINLINE static const char* ChannelTypeToStringHelper(ChannelType value) { … }
std::string ChannelTypeToString(ChannelType value) { … }
std::ostream& operator<<(std::ostream& os, ChannelType value) { … }
NOINLINE static const char* MessagingEndpointTypeToStringHelper(MessagingEndpointType value) { … }
std::string MessagingEndpointTypeToString(MessagingEndpointType value) { … }
std::ostream& operator<<(std::ostream& os, MessagingEndpointType value) { … }
namespace internal {
bool PortId_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PortId_Data::PortId_Data()
: … { … }
bool MessagingEndpoint_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MessagingEndpoint_Data::MessagingEndpoint_Data()
: … { … }
bool TabConnectionInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
TabConnectionInfo_Data::TabConnectionInfo_Data()
: … { … }
bool ExternalConnectionInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ExternalConnectionInfo_Data::ExternalConnectionInfo_Data()
: … { … }
bool Message_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Message_Data::Message_Data()
: … { … }
bool MessagePort_DispatchDisconnect_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MessagePort_DispatchDisconnect_Params_Data::MessagePort_DispatchDisconnect_Params_Data()
: … { … }
bool MessagePort_DeliverMessage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MessagePort_DeliverMessage_Params_Data::MessagePort_DeliverMessage_Params_Data()
: … { … }
bool MessagePortHost_ClosePort_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MessagePortHost_ClosePort_Params_Data::MessagePortHost_ClosePort_Params_Data()
: … { … }
bool MessagePortHost_PostMessage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MessagePortHost_PostMessage_Params_Data::MessagePortHost_PostMessage_Params_Data()
: … { … }
bool MessagePortHost_ResponsePending_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MessagePortHost_ResponsePending_Params_Data::MessagePortHost_ResponsePending_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::extensions::mojom::SerializationFormat>::WriteIntoTrace(
perfetto::TracedValue context, ::extensions::mojom::SerializationFormat value) { … }
}
namespace perfetto {
void TraceFormatTraits<::extensions::mojom::ChannelType>::WriteIntoTrace(
perfetto::TracedValue context, ::extensions::mojom::ChannelType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::extensions::mojom::MessagingEndpointType>::WriteIntoTrace(
perfetto::TracedValue context, ::extensions::mojom::MessagingEndpointType value) { … }
}