#include "components/services/storage/public/mojom/blob_storage_context.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/services/storage/public/mojom/blob_storage_context.mojom-params-data.h"
namespace storage {
namespace mojom {
NOINLINE static const char* BlobDataItemTypeToStringHelper(BlobDataItemType value) { … }
std::string BlobDataItemTypeToString(BlobDataItemType value) { … }
std::ostream& operator<<(std::ostream& os, BlobDataItemType value) { … }
NOINLINE static const char* WriteBlobToFileResultToStringHelper(WriteBlobToFileResult value) { … }
std::string WriteBlobToFileResultToString(WriteBlobToFileResult value) { … }
std::ostream& operator<<(std::ostream& os, WriteBlobToFileResult value) { … }
namespace internal {
bool BlobDataItem_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BlobDataItem_Data::BlobDataItem_Data()
: … { … }
bool BlobDataItemReader_Read_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BlobDataItemReader_Read_Params_Data::BlobDataItemReader_Read_Params_Data()
: … { … }
bool BlobDataItemReader_Read_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BlobDataItemReader_Read_ResponseParams_Data::BlobDataItemReader_Read_ResponseParams_Data()
: … { … }
bool BlobDataItemReader_ReadSideData_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BlobDataItemReader_ReadSideData_Params_Data::BlobDataItemReader_ReadSideData_Params_Data()
: … { … }
bool BlobDataItemReader_ReadSideData_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BlobDataItemReader_ReadSideData_ResponseParams_Data::BlobDataItemReader_ReadSideData_ResponseParams_Data()
: … { … }
bool BlobStorageContext_RegisterFromDataItem_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BlobStorageContext_RegisterFromDataItem_Params_Data::BlobStorageContext_RegisterFromDataItem_Params_Data()
: … { … }
bool BlobStorageContext_RegisterFromMemory_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BlobStorageContext_RegisterFromMemory_Params_Data::BlobStorageContext_RegisterFromMemory_Params_Data()
: … { … }
bool BlobStorageContext_WriteBlobToFile_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BlobStorageContext_WriteBlobToFile_Params_Data::BlobStorageContext_WriteBlobToFile_Params_Data()
: … { … }
bool BlobStorageContext_WriteBlobToFile_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BlobStorageContext_WriteBlobToFile_ResponseParams_Data::BlobStorageContext_WriteBlobToFile_ResponseParams_Data()
: … { … }
bool BlobStorageContext_Clone_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BlobStorageContext_Clone_Params_Data::BlobStorageContext_Clone_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::storage::mojom::BlobDataItemType>::WriteIntoTrace(
perfetto::TracedValue context, ::storage::mojom::BlobDataItemType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::storage::mojom::WriteBlobToFileResult>::WriteIntoTrace(
perfetto::TracedValue context, ::storage::mojom::WriteBlobToFileResult value) { … }
}