#include "third_party/blink/public/mojom/clipboard/clipboard.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/clipboard/clipboard.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* ClipboardFormatToStringHelper(ClipboardFormat value) { … }
std::string ClipboardFormatToString(ClipboardFormat value) { … }
std::ostream& operator<<(std::ostream& os, ClipboardFormat value) { … }
NOINLINE static const char* ClipboardBufferToStringHelper(ClipboardBuffer value) { … }
std::string ClipboardBufferToString(ClipboardBuffer value) { … }
std::ostream& operator<<(std::ostream& os, ClipboardBuffer value) { … }
namespace internal {
bool ClipboardFiles_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardFiles_Data::ClipboardFiles_Data()
: … { … }
bool ClipboardHost_GetSequenceNumber_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_GetSequenceNumber_Params_Data::ClipboardHost_GetSequenceNumber_Params_Data()
: … { … }
bool ClipboardHost_GetSequenceNumber_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_GetSequenceNumber_ResponseParams_Data::ClipboardHost_GetSequenceNumber_ResponseParams_Data()
: … { … }
bool ClipboardHost_IsFormatAvailable_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_IsFormatAvailable_Params_Data::ClipboardHost_IsFormatAvailable_Params_Data()
: … { … }
bool ClipboardHost_IsFormatAvailable_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_IsFormatAvailable_ResponseParams_Data::ClipboardHost_IsFormatAvailable_ResponseParams_Data()
: … { … }
bool ClipboardHost_ReadAvailableTypes_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadAvailableTypes_Params_Data::ClipboardHost_ReadAvailableTypes_Params_Data()
: … { … }
bool ClipboardHost_ReadAvailableTypes_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadAvailableTypes_ResponseParams_Data::ClipboardHost_ReadAvailableTypes_ResponseParams_Data()
: … { … }
bool ClipboardHost_ReadText_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadText_Params_Data::ClipboardHost_ReadText_Params_Data()
: … { … }
bool ClipboardHost_ReadText_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadText_ResponseParams_Data::ClipboardHost_ReadText_ResponseParams_Data()
: … { … }
bool ClipboardHost_ReadHtml_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadHtml_Params_Data::ClipboardHost_ReadHtml_Params_Data()
: … { … }
bool ClipboardHost_ReadHtml_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadHtml_ResponseParams_Data::ClipboardHost_ReadHtml_ResponseParams_Data()
: … { … }
bool ClipboardHost_ReadSvg_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadSvg_Params_Data::ClipboardHost_ReadSvg_Params_Data()
: … { … }
bool ClipboardHost_ReadSvg_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadSvg_ResponseParams_Data::ClipboardHost_ReadSvg_ResponseParams_Data()
: … { … }
bool ClipboardHost_ReadRtf_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadRtf_Params_Data::ClipboardHost_ReadRtf_Params_Data()
: … { … }
bool ClipboardHost_ReadRtf_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadRtf_ResponseParams_Data::ClipboardHost_ReadRtf_ResponseParams_Data()
: … { … }
bool ClipboardHost_ReadPng_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadPng_Params_Data::ClipboardHost_ReadPng_Params_Data()
: … { … }
bool ClipboardHost_ReadPng_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadPng_ResponseParams_Data::ClipboardHost_ReadPng_ResponseParams_Data()
: … { … }
bool ClipboardHost_ReadFiles_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadFiles_Params_Data::ClipboardHost_ReadFiles_Params_Data()
: … { … }
bool ClipboardHost_ReadFiles_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadFiles_ResponseParams_Data::ClipboardHost_ReadFiles_ResponseParams_Data()
: … { … }
bool ClipboardHost_ReadDataTransferCustomData_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadDataTransferCustomData_Params_Data::ClipboardHost_ReadDataTransferCustomData_Params_Data()
: … { … }
bool ClipboardHost_ReadDataTransferCustomData_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadDataTransferCustomData_ResponseParams_Data::ClipboardHost_ReadDataTransferCustomData_ResponseParams_Data()
: … { … }
bool ClipboardHost_ReadAvailableCustomAndStandardFormats_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadAvailableCustomAndStandardFormats_Params_Data::ClipboardHost_ReadAvailableCustomAndStandardFormats_Params_Data()
: … { … }
bool ClipboardHost_ReadAvailableCustomAndStandardFormats_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadAvailableCustomAndStandardFormats_ResponseParams_Data::ClipboardHost_ReadAvailableCustomAndStandardFormats_ResponseParams_Data()
: … { … }
bool ClipboardHost_ReadUnsanitizedCustomFormat_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadUnsanitizedCustomFormat_Params_Data::ClipboardHost_ReadUnsanitizedCustomFormat_Params_Data()
: … { … }
bool ClipboardHost_ReadUnsanitizedCustomFormat_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_ReadUnsanitizedCustomFormat_ResponseParams_Data::ClipboardHost_ReadUnsanitizedCustomFormat_ResponseParams_Data()
: … { … }
bool ClipboardHost_WriteText_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_WriteText_Params_Data::ClipboardHost_WriteText_Params_Data()
: … { … }
bool ClipboardHost_WriteHtml_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_WriteHtml_Params_Data::ClipboardHost_WriteHtml_Params_Data()
: … { … }
bool ClipboardHost_WriteSvg_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_WriteSvg_Params_Data::ClipboardHost_WriteSvg_Params_Data()
: … { … }
bool ClipboardHost_WriteSmartPasteMarker_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_WriteSmartPasteMarker_Params_Data::ClipboardHost_WriteSmartPasteMarker_Params_Data()
: … { … }
bool ClipboardHost_WriteDataTransferCustomData_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_WriteDataTransferCustomData_Params_Data::ClipboardHost_WriteDataTransferCustomData_Params_Data()
: … { … }
bool ClipboardHost_WriteBookmark_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_WriteBookmark_Params_Data::ClipboardHost_WriteBookmark_Params_Data()
: … { … }
bool ClipboardHost_WriteImage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_WriteImage_Params_Data::ClipboardHost_WriteImage_Params_Data()
: … { … }
bool ClipboardHost_WriteUnsanitizedCustomFormat_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_WriteUnsanitizedCustomFormat_Params_Data::ClipboardHost_WriteUnsanitizedCustomFormat_Params_Data()
: … { … }
bool ClipboardHost_CommitWrite_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardHost_CommitWrite_Params_Data::ClipboardHost_CommitWrite_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::ClipboardFormat>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::ClipboardFormat value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::ClipboardBuffer>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::ClipboardBuffer value) { … }
}