#include "components/media_router/common/mojom/media_router.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 "components/media_router/common/mojom/media_router.mojom-params-data.h"
namespace media_router {
namespace mojom {
NOINLINE static const char* SinkIconTypeToStringHelper(SinkIconType value) { … }
std::string SinkIconTypeToString(SinkIconType value) { … }
std::ostream& operator<<(std::ostream& os, SinkIconType value) { … }
NOINLINE static const char* RouteControllerTypeToStringHelper(RouteControllerType value) { … }
std::string RouteControllerTypeToString(RouteControllerType value) { … }
std::ostream& operator<<(std::ostream& os, RouteControllerType value) { … }
NOINLINE static const char* Issue_SeverityToStringHelper(Issue_Severity value) { … }
std::string Issue_SeverityToString(Issue_Severity value) { … }
std::ostream& operator<<(std::ostream& os, Issue_Severity value) { … }
NOINLINE static const char* RouteMessage_TypeToStringHelper(RouteMessage_Type value) { … }
std::string RouteMessage_TypeToString(RouteMessage_Type value) { … }
std::ostream& operator<<(std::ostream& os, RouteMessage_Type value) { … }
namespace internal {
bool MediaSinkExtraData_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool ProviderState_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool MediaSink_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaSink_Data::MediaSink_Data()
: … { … }
bool DialMediaSink_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DialMediaSink_Data::DialMediaSink_Data()
: … { … }
bool CastMediaSink_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CastMediaSink_Data::CastMediaSink_Data()
: … { … }
bool MediaRoute_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRoute_Data::MediaRoute_Data()
: … { … }
bool Issue_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Issue_Data::Issue_Data()
: … { … }
bool RouteMessage_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RouteMessage_Data::RouteMessage_Data()
: … { … }
bool RoutePresentationConnection_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RoutePresentationConnection_Data::RoutePresentationConnection_Data()
: … { … }
bool CastSessionState_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CastSessionState_Data::CastSessionState_Data()
: … { … }
bool CastProviderState_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CastProviderState_Data::CastProviderState_Data()
: … { … }
bool MediaRouteProvider_CreateRoute_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_CreateRoute_Params_Data::MediaRouteProvider_CreateRoute_Params_Data()
: … { … }
bool MediaRouteProvider_CreateRoute_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_CreateRoute_ResponseParams_Data::MediaRouteProvider_CreateRoute_ResponseParams_Data()
: … { … }
bool MediaRouteProvider_JoinRoute_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_JoinRoute_Params_Data::MediaRouteProvider_JoinRoute_Params_Data()
: … { … }
bool MediaRouteProvider_JoinRoute_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_JoinRoute_ResponseParams_Data::MediaRouteProvider_JoinRoute_ResponseParams_Data()
: … { … }
bool MediaRouteProvider_TerminateRoute_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_TerminateRoute_Params_Data::MediaRouteProvider_TerminateRoute_Params_Data()
: … { … }
bool MediaRouteProvider_TerminateRoute_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_TerminateRoute_ResponseParams_Data::MediaRouteProvider_TerminateRoute_ResponseParams_Data()
: … { … }
bool MediaRouteProvider_SendRouteMessage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_SendRouteMessage_Params_Data::MediaRouteProvider_SendRouteMessage_Params_Data()
: … { … }
bool MediaRouteProvider_SendRouteBinaryMessage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_SendRouteBinaryMessage_Params_Data::MediaRouteProvider_SendRouteBinaryMessage_Params_Data()
: … { … }
bool MediaRouteProvider_StartObservingMediaSinks_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_StartObservingMediaSinks_Params_Data::MediaRouteProvider_StartObservingMediaSinks_Params_Data()
: … { … }
bool MediaRouteProvider_StopObservingMediaSinks_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_StopObservingMediaSinks_Params_Data::MediaRouteProvider_StopObservingMediaSinks_Params_Data()
: … { … }
bool MediaRouteProvider_StartObservingMediaRoutes_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_StartObservingMediaRoutes_Params_Data::MediaRouteProvider_StartObservingMediaRoutes_Params_Data()
: … { … }
bool MediaRouteProvider_DetachRoute_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_DetachRoute_Params_Data::MediaRouteProvider_DetachRoute_Params_Data()
: … { … }
bool MediaRouteProvider_EnableMdnsDiscovery_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_EnableMdnsDiscovery_Params_Data::MediaRouteProvider_EnableMdnsDiscovery_Params_Data()
: … { … }
bool MediaRouteProvider_DiscoverSinksNow_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_DiscoverSinksNow_Params_Data::MediaRouteProvider_DiscoverSinksNow_Params_Data()
: … { … }
bool MediaRouteProvider_BindMediaController_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_BindMediaController_Params_Data::MediaRouteProvider_BindMediaController_Params_Data()
: … { … }
bool MediaRouteProvider_BindMediaController_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_BindMediaController_ResponseParams_Data::MediaRouteProvider_BindMediaController_ResponseParams_Data()
: … { … }
bool MediaRouteProvider_GetState_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_GetState_Params_Data::MediaRouteProvider_GetState_Params_Data()
: … { … }
bool MediaRouteProvider_GetState_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouteProvider_GetState_ResponseParams_Data::MediaRouteProvider_GetState_ResponseParams_Data()
: … { … }
bool MediaRouter_RegisterMediaRouteProvider_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouter_RegisterMediaRouteProvider_Params_Data::MediaRouter_RegisterMediaRouteProvider_Params_Data()
: … { … }
bool MediaRouter_OnSinksReceived_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouter_OnSinksReceived_Params_Data::MediaRouter_OnSinksReceived_Params_Data()
: … { … }
bool MediaRouter_OnIssue_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouter_OnIssue_Params_Data::MediaRouter_OnIssue_Params_Data()
: … { … }
bool MediaRouter_ClearTopIssueForSink_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouter_ClearTopIssueForSink_Params_Data::MediaRouter_ClearTopIssueForSink_Params_Data()
: … { … }
bool MediaRouter_OnRoutesUpdated_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouter_OnRoutesUpdated_Params_Data::MediaRouter_OnRoutesUpdated_Params_Data()
: … { … }
bool MediaRouter_OnPresentationConnectionStateChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouter_OnPresentationConnectionStateChanged_Params_Data::MediaRouter_OnPresentationConnectionStateChanged_Params_Data()
: … { … }
bool MediaRouter_OnPresentationConnectionClosed_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouter_OnPresentationConnectionClosed_Params_Data::MediaRouter_OnPresentationConnectionClosed_Params_Data()
: … { … }
bool MediaRouter_OnRouteMessagesReceived_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouter_OnRouteMessagesReceived_Params_Data::MediaRouter_OnRouteMessagesReceived_Params_Data()
: … { … }
bool MediaRouter_GetMediaSinkServiceStatus_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouter_GetMediaSinkServiceStatus_Params_Data::MediaRouter_GetMediaSinkServiceStatus_Params_Data()
: … { … }
bool MediaRouter_GetMediaSinkServiceStatus_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouter_GetMediaSinkServiceStatus_ResponseParams_Data::MediaRouter_GetMediaSinkServiceStatus_ResponseParams_Data()
: … { … }
bool MediaRouter_GetLogger_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouter_GetLogger_Params_Data::MediaRouter_GetLogger_Params_Data()
: … { … }
bool MediaRouter_GetDebugger_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouter_GetDebugger_Params_Data::MediaRouter_GetDebugger_Params_Data()
: … { … }
bool MediaRouter_GetLogsAsString_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouter_GetLogsAsString_Params_Data::MediaRouter_GetLogsAsString_Params_Data()
: … { … }
bool MediaRouter_GetLogsAsString_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaRouter_GetLogsAsString_ResponseParams_Data::MediaRouter_GetLogsAsString_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::media_router::mojom::SinkIconType>::WriteIntoTrace(
perfetto::TracedValue context, ::media_router::mojom::SinkIconType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media_router::mojom::RouteControllerType>::WriteIntoTrace(
perfetto::TracedValue context, ::media_router::mojom::RouteControllerType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media_router::mojom::Issue_Severity>::WriteIntoTrace(
perfetto::TracedValue context, ::media_router::mojom::Issue_Severity value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media_router::mojom::RouteMessage_Type>::WriteIntoTrace(
perfetto::TracedValue context, ::media_router::mojom::RouteMessage_Type value) { … }
}