#include "third_party/blink/public/mojom/filesystem/file_system.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/filesystem/file_system.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* FileSystemTypeToStringHelper(FileSystemType value) { … }
std::string FileSystemTypeToString(FileSystemType value) { … }
std::ostream& operator<<(std::ostream& os, FileSystemType value) { … }
namespace internal {
bool FileSystemInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemInfo_Data::FileSystemInfo_Data()
: … { … }
bool FileSystemCancellableOperation_Cancel_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemCancellableOperation_Cancel_Params_Data::FileSystemCancellableOperation_Cancel_Params_Data()
: … { … }
bool FileSystemCancellableOperation_Cancel_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemCancellableOperation_Cancel_ResponseParams_Data::FileSystemCancellableOperation_Cancel_ResponseParams_Data()
: … { … }
bool FileSystemOperationListener_ResultsRetrieved_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemOperationListener_ResultsRetrieved_Params_Data::FileSystemOperationListener_ResultsRetrieved_Params_Data()
: … { … }
bool FileSystemOperationListener_DidWrite_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemOperationListener_DidWrite_Params_Data::FileSystemOperationListener_DidWrite_Params_Data()
: … { … }
bool FileSystemOperationListener_ErrorOccurred_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemOperationListener_ErrorOccurred_Params_Data::FileSystemOperationListener_ErrorOccurred_Params_Data()
: … { … }
bool ReceivedSnapshotListener_DidReceiveSnapshotFile_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ReceivedSnapshotListener_DidReceiveSnapshotFile_Params_Data::ReceivedSnapshotListener_DidReceiveSnapshotFile_Params_Data()
: … { … }
bool FileSystemManager_Open_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Open_Params_Data::FileSystemManager_Open_Params_Data()
: … { … }
bool FileSystemManager_Open_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Open_ResponseParams_Data::FileSystemManager_Open_ResponseParams_Data()
: … { … }
bool FileSystemManager_ResolveURL_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_ResolveURL_Params_Data::FileSystemManager_ResolveURL_Params_Data()
: … { … }
bool FileSystemManager_ResolveURL_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_ResolveURL_ResponseParams_Data::FileSystemManager_ResolveURL_ResponseParams_Data()
: … { … }
bool FileSystemManager_Move_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Move_Params_Data::FileSystemManager_Move_Params_Data()
: … { … }
bool FileSystemManager_Move_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Move_ResponseParams_Data::FileSystemManager_Move_ResponseParams_Data()
: … { … }
bool FileSystemManager_Copy_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Copy_Params_Data::FileSystemManager_Copy_Params_Data()
: … { … }
bool FileSystemManager_Copy_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Copy_ResponseParams_Data::FileSystemManager_Copy_ResponseParams_Data()
: … { … }
bool FileSystemManager_Remove_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Remove_Params_Data::FileSystemManager_Remove_Params_Data()
: … { … }
bool FileSystemManager_Remove_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Remove_ResponseParams_Data::FileSystemManager_Remove_ResponseParams_Data()
: … { … }
bool FileSystemManager_ReadMetadata_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_ReadMetadata_Params_Data::FileSystemManager_ReadMetadata_Params_Data()
: … { … }
bool FileSystemManager_ReadMetadata_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_ReadMetadata_ResponseParams_Data::FileSystemManager_ReadMetadata_ResponseParams_Data()
: … { … }
bool FileSystemManager_Create_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Create_Params_Data::FileSystemManager_Create_Params_Data()
: … { … }
bool FileSystemManager_Create_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Create_ResponseParams_Data::FileSystemManager_Create_ResponseParams_Data()
: … { … }
bool FileSystemManager_Exists_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Exists_Params_Data::FileSystemManager_Exists_Params_Data()
: … { … }
bool FileSystemManager_Exists_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Exists_ResponseParams_Data::FileSystemManager_Exists_ResponseParams_Data()
: … { … }
bool FileSystemManager_ReadDirectory_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_ReadDirectory_Params_Data::FileSystemManager_ReadDirectory_Params_Data()
: … { … }
bool FileSystemManager_ReadDirectorySync_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_ReadDirectorySync_Params_Data::FileSystemManager_ReadDirectorySync_Params_Data()
: … { … }
bool FileSystemManager_ReadDirectorySync_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_ReadDirectorySync_ResponseParams_Data::FileSystemManager_ReadDirectorySync_ResponseParams_Data()
: … { … }
bool FileSystemManager_Write_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Write_Params_Data::FileSystemManager_Write_Params_Data()
: … { … }
bool FileSystemManager_WriteSync_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_WriteSync_Params_Data::FileSystemManager_WriteSync_Params_Data()
: … { … }
bool FileSystemManager_WriteSync_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_WriteSync_ResponseParams_Data::FileSystemManager_WriteSync_ResponseParams_Data()
: … { … }
bool FileSystemManager_Truncate_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Truncate_Params_Data::FileSystemManager_Truncate_Params_Data()
: … { … }
bool FileSystemManager_Truncate_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_Truncate_ResponseParams_Data::FileSystemManager_Truncate_ResponseParams_Data()
: … { … }
bool FileSystemManager_TruncateSync_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_TruncateSync_Params_Data::FileSystemManager_TruncateSync_Params_Data()
: … { … }
bool FileSystemManager_TruncateSync_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_TruncateSync_ResponseParams_Data::FileSystemManager_TruncateSync_ResponseParams_Data()
: … { … }
bool FileSystemManager_CreateSnapshotFile_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_CreateSnapshotFile_Params_Data::FileSystemManager_CreateSnapshotFile_Params_Data()
: … { … }
bool FileSystemManager_CreateSnapshotFile_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_CreateSnapshotFile_ResponseParams_Data::FileSystemManager_CreateSnapshotFile_ResponseParams_Data()
: … { … }
bool FileSystemManager_GetPlatformPath_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_GetPlatformPath_Params_Data::FileSystemManager_GetPlatformPath_Params_Data()
: … { … }
bool FileSystemManager_GetPlatformPath_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_GetPlatformPath_ResponseParams_Data::FileSystemManager_GetPlatformPath_ResponseParams_Data()
: … { … }
bool FileSystemManager_RegisterBlob_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_RegisterBlob_Params_Data::FileSystemManager_RegisterBlob_Params_Data()
: … { … }
bool FileSystemManager_RegisterBlob_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemManager_RegisterBlob_ResponseParams_Data::FileSystemManager_RegisterBlob_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::FileSystemType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::FileSystemType value) { … }
}