#include "third_party/blink/public/mojom/presentation/presentation.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 "third_party/blink/public/mojom/presentation/presentation.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* ScreenAvailabilityToStringHelper(ScreenAvailability value) { … }
std::string ScreenAvailabilityToString(ScreenAvailability value) { … }
std::ostream& operator<<(std::ostream& os, ScreenAvailability value) { … }
NOINLINE static const char* PresentationConnectionStateToStringHelper(PresentationConnectionState value) { … }
std::string PresentationConnectionStateToString(PresentationConnectionState value) { … }
std::ostream& operator<<(std::ostream& os, PresentationConnectionState value) { … }
NOINLINE static const char* PresentationConnectionCloseReasonToStringHelper(PresentationConnectionCloseReason value) { … }
std::string PresentationConnectionCloseReasonToString(PresentationConnectionCloseReason value) { … }
std::ostream& operator<<(std::ostream& os, PresentationConnectionCloseReason value) { … }
NOINLINE static const char* PresentationErrorTypeToStringHelper(PresentationErrorType value) { … }
std::string PresentationErrorTypeToString(PresentationErrorType value) { … }
std::ostream& operator<<(std::ostream& os, PresentationErrorType value) { … }
namespace internal {
bool PresentationConnectionMessage_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool PresentationInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationInfo_Data::PresentationInfo_Data()
: … { … }
bool PresentationError_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationError_Data::PresentationError_Data()
: … { … }
bool PresentationConnectionResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationConnectionResult_Data::PresentationConnectionResult_Data()
: … { … }
bool PresentationConnection_OnMessage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationConnection_OnMessage_Params_Data::PresentationConnection_OnMessage_Params_Data()
: … { … }
bool PresentationConnection_DidChangeState_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationConnection_DidChangeState_Params_Data::PresentationConnection_DidChangeState_Params_Data()
: … { … }
bool PresentationConnection_DidClose_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationConnection_DidClose_Params_Data::PresentationConnection_DidClose_Params_Data()
: … { … }
bool PresentationService_SetController_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationService_SetController_Params_Data::PresentationService_SetController_Params_Data()
: … { … }
bool PresentationService_SetReceiver_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationService_SetReceiver_Params_Data::PresentationService_SetReceiver_Params_Data()
: … { … }
bool PresentationService_SetDefaultPresentationUrls_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationService_SetDefaultPresentationUrls_Params_Data::PresentationService_SetDefaultPresentationUrls_Params_Data()
: … { … }
bool PresentationService_ListenForScreenAvailability_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationService_ListenForScreenAvailability_Params_Data::PresentationService_ListenForScreenAvailability_Params_Data()
: … { … }
bool PresentationService_StopListeningForScreenAvailability_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationService_StopListeningForScreenAvailability_Params_Data::PresentationService_StopListeningForScreenAvailability_Params_Data()
: … { … }
bool PresentationService_StartPresentation_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationService_StartPresentation_Params_Data::PresentationService_StartPresentation_Params_Data()
: … { … }
bool PresentationService_StartPresentation_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationService_StartPresentation_ResponseParams_Data::PresentationService_StartPresentation_ResponseParams_Data()
: … { … }
bool PresentationService_ReconnectPresentation_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationService_ReconnectPresentation_Params_Data::PresentationService_ReconnectPresentation_Params_Data()
: … { … }
bool PresentationService_ReconnectPresentation_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationService_ReconnectPresentation_ResponseParams_Data::PresentationService_ReconnectPresentation_ResponseParams_Data()
: … { … }
bool PresentationService_CloseConnection_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationService_CloseConnection_Params_Data::PresentationService_CloseConnection_Params_Data()
: … { … }
bool PresentationService_Terminate_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationService_Terminate_Params_Data::PresentationService_Terminate_Params_Data()
: … { … }
bool PresentationController_OnScreenAvailabilityUpdated_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationController_OnScreenAvailabilityUpdated_Params_Data::PresentationController_OnScreenAvailabilityUpdated_Params_Data()
: … { … }
bool PresentationController_OnDefaultPresentationStarted_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationController_OnDefaultPresentationStarted_Params_Data::PresentationController_OnDefaultPresentationStarted_Params_Data()
: … { … }
bool PresentationController_OnConnectionStateChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationController_OnConnectionStateChanged_Params_Data::PresentationController_OnConnectionStateChanged_Params_Data()
: … { … }
bool PresentationController_OnConnectionClosed_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationController_OnConnectionClosed_Params_Data::PresentationController_OnConnectionClosed_Params_Data()
: … { … }
bool PresentationReceiver_OnReceiverConnectionAvailable_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PresentationReceiver_OnReceiverConnectionAvailable_Params_Data::PresentationReceiver_OnReceiverConnectionAvailable_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::ScreenAvailability>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::ScreenAvailability value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::PresentationConnectionState>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::PresentationConnectionState value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::PresentationConnectionCloseReason>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::PresentationConnectionCloseReason value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::PresentationErrorType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::PresentationErrorType value) { … }
}