#include "components/global_media_controls/public/mojom/device_service.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/global_media_controls/public/mojom/device_service.mojom-params-data.h"
namespace global_media_controls {
namespace mojom {
NOINLINE static const char* IconTypeToStringHelper(IconType value) { … }
std::string IconTypeToString(IconType value) { … }
std::ostream& operator<<(std::ostream& os, IconType value) { … }
namespace internal {
bool Device_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Device_Data::Device_Data()
: … { … }
bool DeviceListHost_SelectDevice_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DeviceListHost_SelectDevice_Params_Data::DeviceListHost_SelectDevice_Params_Data()
: … { … }
bool DeviceListClient_OnDevicesUpdated_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DeviceListClient_OnDevicesUpdated_Params_Data::DeviceListClient_OnDevicesUpdated_Params_Data()
: … { … }
bool DeviceListClient_OnPermissionRejected_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DeviceListClient_OnPermissionRejected_Params_Data::DeviceListClient_OnPermissionRejected_Params_Data()
: … { … }
bool DeviceService_GetDeviceListHostForSession_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DeviceService_GetDeviceListHostForSession_Params_Data::DeviceService_GetDeviceListHostForSession_Params_Data()
: … { … }
bool DeviceService_GetDeviceListHostForPresentation_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DeviceService_GetDeviceListHostForPresentation_Params_Data::DeviceService_GetDeviceListHostForPresentation_Params_Data()
: … { … }
bool DeviceService_SetDevicePickerProvider_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DeviceService_SetDevicePickerProvider_Params_Data::DeviceService_SetDevicePickerProvider_Params_Data()
: … { … }
bool DevicePickerProvider_CreateItem_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePickerProvider_CreateItem_Params_Data::DevicePickerProvider_CreateItem_Params_Data()
: … { … }
bool DevicePickerProvider_DeleteItem_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePickerProvider_DeleteItem_Params_Data::DevicePickerProvider_DeleteItem_Params_Data()
: … { … }
bool DevicePickerProvider_ShowItem_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePickerProvider_ShowItem_Params_Data::DevicePickerProvider_ShowItem_Params_Data()
: … { … }
bool DevicePickerProvider_HideItem_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePickerProvider_HideItem_Params_Data::DevicePickerProvider_HideItem_Params_Data()
: … { … }
bool DevicePickerProvider_OnMetadataChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePickerProvider_OnMetadataChanged_Params_Data::DevicePickerProvider_OnMetadataChanged_Params_Data()
: … { … }
bool DevicePickerProvider_OnArtworkImageChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePickerProvider_OnArtworkImageChanged_Params_Data::DevicePickerProvider_OnArtworkImageChanged_Params_Data()
: … { … }
bool DevicePickerProvider_OnFaviconImageChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePickerProvider_OnFaviconImageChanged_Params_Data::DevicePickerProvider_OnFaviconImageChanged_Params_Data()
: … { … }
bool DevicePickerProvider_AddObserver_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePickerProvider_AddObserver_Params_Data::DevicePickerProvider_AddObserver_Params_Data()
: … { … }
bool DevicePickerProvider_HideMediaUI_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePickerProvider_HideMediaUI_Params_Data::DevicePickerProvider_HideMediaUI_Params_Data()
: … { … }
bool DevicePickerObserver_OnMediaUIOpened_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePickerObserver_OnMediaUIOpened_Params_Data::DevicePickerObserver_OnMediaUIOpened_Params_Data()
: … { … }
bool DevicePickerObserver_OnMediaUIClosed_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePickerObserver_OnMediaUIClosed_Params_Data::DevicePickerObserver_OnMediaUIClosed_Params_Data()
: … { … }
bool DevicePickerObserver_OnMediaUIUpdated_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePickerObserver_OnMediaUIUpdated_Params_Data::DevicePickerObserver_OnMediaUIUpdated_Params_Data()
: … { … }
bool DevicePickerObserver_OnPickerDismissed_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePickerObserver_OnPickerDismissed_Params_Data::DevicePickerObserver_OnPickerDismissed_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::global_media_controls::mojom::IconType>::WriteIntoTrace(
perfetto::TracedValue context, ::global_media_controls::mojom::IconType value) { … }
}