chromium/out/Default/gen/third_party/blink/public/mojom/filesystem/file_system.mojom.cc

// third_party/blink/public/mojom/filesystem/file_system.mojom.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif

#include "third_party/blink/public/mojom/filesystem/file_system.mojom.h"

#include <math.h>
#include <stdint.h>
#include <utility>

#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "third_party/blink/public/mojom/filesystem/file_system.mojom-params-data.h"
#include "third_party/blink/public/mojom/filesystem/file_system.mojom-shared-message-ids.h"

#include "third_party/blink/public/mojom/filesystem/file_system.mojom-import-headers.h"
#include "third_party/blink/public/mojom/filesystem/file_system.mojom-test-utils.h"


namespace blink::mojom {
FileSystemInfo::FileSystemInfo()
    :{}

FileSystemInfo::FileSystemInfo(
    const std::string& name_in,
    const ::GURL& root_url_in,
    FileSystemType mount_type_in)
    :{}

FileSystemInfo::~FileSystemInfo() = default;

void FileSystemInfo::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool FileSystemInfo::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
const char FileSystemCancellableOperation::Name_[] =;

FileSystemCancellableOperation::IPCStableHashFunction FileSystemCancellableOperation::MessageToMethodInfo_(mojo::Message& message) {}


const char* FileSystemCancellableOperation::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t FileSystemCancellableOperation::Cancel_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class FileSystemCancellableOperation_Cancel_ForwardToCallback
    : public mojo::MessageReceiver {};

FileSystemCancellableOperationProxy::FileSystemCancellableOperationProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void FileSystemCancellableOperationProxy::Cancel(
    CancelCallback callback) {}
class FileSystemCancellableOperation_Cancel_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemCancellableOperation_Cancel_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemCancellableOperation_Cancel_ProxyToResponder::Run(
    ::base::File::Error in_error_code) {}

// static
bool FileSystemCancellableOperationStubDispatch::Accept(
    FileSystemCancellableOperation* impl,
    mojo::Message* message) {}

// static
bool FileSystemCancellableOperationStubDispatch::AcceptWithResponder(
    FileSystemCancellableOperation* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kFileSystemCancellableOperationValidationInfo[] =;

bool FileSystemCancellableOperationRequestValidator::Accept(mojo::Message* message) {}

bool FileSystemCancellableOperationResponseValidator::Accept(mojo::Message* message) {}
const char FileSystemOperationListener::Name_[] =;

FileSystemOperationListener::IPCStableHashFunction FileSystemOperationListener::MessageToMethodInfo_(mojo::Message& message) {}


const char* FileSystemOperationListener::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t FileSystemOperationListener::ResultsRetrieved_Sym::IPCStableHash() {}
uint32_t FileSystemOperationListener::DidWrite_Sym::IPCStableHash() {}
uint32_t FileSystemOperationListener::ErrorOccurred_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

FileSystemOperationListenerProxy::FileSystemOperationListenerProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void FileSystemOperationListenerProxy::ResultsRetrieved(
    std::vector<::filesystem::mojom::DirectoryEntryPtr> in_entries, bool in_has_more) {}

void FileSystemOperationListenerProxy::DidWrite(
    int64_t in_byte_count, bool in_complete) {}

void FileSystemOperationListenerProxy::ErrorOccurred(
    ::base::File::Error in_error_code) {}

// static
bool FileSystemOperationListenerStubDispatch::Accept(
    FileSystemOperationListener* impl,
    mojo::Message* message) {}

// static
bool FileSystemOperationListenerStubDispatch::AcceptWithResponder(
    FileSystemOperationListener* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kFileSystemOperationListenerValidationInfo[] =;

bool FileSystemOperationListenerRequestValidator::Accept(mojo::Message* message) {}

const char ReceivedSnapshotListener::Name_[] =;

ReceivedSnapshotListener::IPCStableHashFunction ReceivedSnapshotListener::MessageToMethodInfo_(mojo::Message& message) {}


const char* ReceivedSnapshotListener::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t ReceivedSnapshotListener::DidReceiveSnapshotFile_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

ReceivedSnapshotListenerProxy::ReceivedSnapshotListenerProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void ReceivedSnapshotListenerProxy::DidReceiveSnapshotFile(
    ) {}

// static
bool ReceivedSnapshotListenerStubDispatch::Accept(
    ReceivedSnapshotListener* impl,
    mojo::Message* message) {}

// static
bool ReceivedSnapshotListenerStubDispatch::AcceptWithResponder(
    ReceivedSnapshotListener* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kReceivedSnapshotListenerValidationInfo[] =;

bool ReceivedSnapshotListenerRequestValidator::Accept(mojo::Message* message) {}

const char FileSystemManager::Name_[] =;

FileSystemManager::IPCStableHashFunction FileSystemManager::MessageToMethodInfo_(mojo::Message& message) {}


const char* FileSystemManager::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t FileSystemManager::Open_Sym::IPCStableHash() {}
uint32_t FileSystemManager::ResolveURL_Sym::IPCStableHash() {}
uint32_t FileSystemManager::Move_Sym::IPCStableHash() {}
uint32_t FileSystemManager::Copy_Sym::IPCStableHash() {}
uint32_t FileSystemManager::Remove_Sym::IPCStableHash() {}
uint32_t FileSystemManager::ReadMetadata_Sym::IPCStableHash() {}
uint32_t FileSystemManager::Create_Sym::IPCStableHash() {}
uint32_t FileSystemManager::Exists_Sym::IPCStableHash() {}
uint32_t FileSystemManager::ReadDirectory_Sym::IPCStableHash() {}
uint32_t FileSystemManager::ReadDirectorySync_Sym::IPCStableHash() {}
uint32_t FileSystemManager::Write_Sym::IPCStableHash() {}
uint32_t FileSystemManager::WriteSync_Sym::IPCStableHash() {}
uint32_t FileSystemManager::Truncate_Sym::IPCStableHash() {}
uint32_t FileSystemManager::TruncateSync_Sym::IPCStableHash() {}
uint32_t FileSystemManager::CreateSnapshotFile_Sym::IPCStableHash() {}
uint32_t FileSystemManager::GetPlatformPath_Sym::IPCStableHash() {}
uint32_t FileSystemManager::RegisterBlob_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)
bool FileSystemManager::Open(const ::url::Origin& origin, FileSystemType file_system_type, std::string* out_name, ::GURL* out_root_url, ::base::File::Error* out_error_code) {}
bool FileSystemManager::ResolveURL(const ::GURL& filesystem_url, FileSystemInfoPtr* out_info, ::base::FilePath* out_file_path, bool* out_is_directory, ::base::File::Error* out_error_code) {}
bool FileSystemManager::Move(const ::GURL& src_path, const ::GURL& dest_path, ::base::File::Error* out_error_code) {}
bool FileSystemManager::Copy(const ::GURL& src_path, const ::GURL& dest_path, ::base::File::Error* out_error_code) {}
bool FileSystemManager::Remove(const ::GURL& path, bool recursive, ::base::File::Error* out_error_code) {}
bool FileSystemManager::ReadMetadata(const ::GURL& path, ::base::File::Info* out_file_info, ::base::File::Error* out_error_code) {}
bool FileSystemManager::Create(const ::GURL& path, bool exclusive, bool is_directory, bool recursive, ::base::File::Error* out_error_code) {}
bool FileSystemManager::Exists(const ::GURL& path, bool is_directory, ::base::File::Error* out_error_code) {}
bool FileSystemManager::ReadDirectorySync(const ::GURL& path, std::vector<::filesystem::mojom::DirectoryEntryPtr>* out_entries, ::base::File::Error* out_error_code) {}
bool FileSystemManager::WriteSync(const ::GURL& file_path, ::mojo::PendingRemote<::blink::mojom::Blob> blob, int64_t position, int64_t* out_byte_count, ::base::File::Error* out_error_code) {}
bool FileSystemManager::TruncateSync(const ::GURL& file_path, int64_t length, ::base::File::Error* out_error_code) {}
bool FileSystemManager::CreateSnapshotFile(const ::GURL& file_path, ::base::File::Info* out_file_info, ::base::FilePath* out_platform_path, ::base::File::Error* out_error_code, ::mojo::PendingRemote<ReceivedSnapshotListener>* out_snapshot_listener) {}
bool FileSystemManager::GetPlatformPath(const ::GURL& file_path, ::base::FilePath* out_platform_path) {}
bool FileSystemManager::RegisterBlob(const std::string& content_type, const ::GURL& url, uint64_t length, std::optional<::base::Time> expected_modification_time, ::blink::mojom::SerializedBlobPtr* out_blob) {}
class FileSystemManager_Open_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FileSystemManager_Open_ForwardToCallback
    : public mojo::MessageReceiver {};
class FileSystemManager_ResolveURL_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FileSystemManager_ResolveURL_ForwardToCallback
    : public mojo::MessageReceiver {};
class FileSystemManager_Move_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FileSystemManager_Move_ForwardToCallback
    : public mojo::MessageReceiver {};
class FileSystemManager_Copy_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FileSystemManager_Copy_ForwardToCallback
    : public mojo::MessageReceiver {};
class FileSystemManager_Remove_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FileSystemManager_Remove_ForwardToCallback
    : public mojo::MessageReceiver {};
class FileSystemManager_ReadMetadata_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FileSystemManager_ReadMetadata_ForwardToCallback
    : public mojo::MessageReceiver {};
class FileSystemManager_Create_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FileSystemManager_Create_ForwardToCallback
    : public mojo::MessageReceiver {};
class FileSystemManager_Exists_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FileSystemManager_Exists_ForwardToCallback
    : public mojo::MessageReceiver {};
class FileSystemManager_ReadDirectorySync_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FileSystemManager_ReadDirectorySync_ForwardToCallback
    : public mojo::MessageReceiver {};
class FileSystemManager_WriteSync_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FileSystemManager_WriteSync_ForwardToCallback
    : public mojo::MessageReceiver {};

class FileSystemManager_Truncate_ForwardToCallback
    : public mojo::MessageReceiver {};
class FileSystemManager_TruncateSync_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FileSystemManager_TruncateSync_ForwardToCallback
    : public mojo::MessageReceiver {};
class FileSystemManager_CreateSnapshotFile_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FileSystemManager_CreateSnapshotFile_ForwardToCallback
    : public mojo::MessageReceiver {};
class FileSystemManager_GetPlatformPath_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FileSystemManager_GetPlatformPath_ForwardToCallback
    : public mojo::MessageReceiver {};
class FileSystemManager_RegisterBlob_HandleSyncResponse
    : public mojo::MessageReceiver {};

class FileSystemManager_RegisterBlob_ForwardToCallback
    : public mojo::MessageReceiver {};

FileSystemManagerProxy::FileSystemManagerProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}
bool FileSystemManagerProxy::Open(
    const ::url::Origin& param_origin, FileSystemType param_file_system_type, std::string* out_param_name, ::GURL* out_param_root_url, ::base::File::Error* out_param_error_code) {}

void FileSystemManagerProxy::Open(
    const ::url::Origin& in_origin, FileSystemType in_file_system_type, OpenCallback callback) {}
bool FileSystemManagerProxy::ResolveURL(
    const ::GURL& param_filesystem_url, FileSystemInfoPtr* out_param_info, ::base::FilePath* out_param_file_path, bool* out_param_is_directory, ::base::File::Error* out_param_error_code) {}

void FileSystemManagerProxy::ResolveURL(
    const ::GURL& in_filesystem_url, ResolveURLCallback callback) {}
bool FileSystemManagerProxy::Move(
    const ::GURL& param_src_path, const ::GURL& param_dest_path, ::base::File::Error* out_param_error_code) {}

void FileSystemManagerProxy::Move(
    const ::GURL& in_src_path, const ::GURL& in_dest_path, MoveCallback callback) {}
bool FileSystemManagerProxy::Copy(
    const ::GURL& param_src_path, const ::GURL& param_dest_path, ::base::File::Error* out_param_error_code) {}

void FileSystemManagerProxy::Copy(
    const ::GURL& in_src_path, const ::GURL& in_dest_path, CopyCallback callback) {}
bool FileSystemManagerProxy::Remove(
    const ::GURL& param_path, bool param_recursive, ::base::File::Error* out_param_error_code) {}

void FileSystemManagerProxy::Remove(
    const ::GURL& in_path, bool in_recursive, RemoveCallback callback) {}
bool FileSystemManagerProxy::ReadMetadata(
    const ::GURL& param_path, ::base::File::Info* out_param_file_info, ::base::File::Error* out_param_error_code) {}

void FileSystemManagerProxy::ReadMetadata(
    const ::GURL& in_path, ReadMetadataCallback callback) {}
bool FileSystemManagerProxy::Create(
    const ::GURL& param_path, bool param_exclusive, bool param_is_directory, bool param_recursive, ::base::File::Error* out_param_error_code) {}

void FileSystemManagerProxy::Create(
    const ::GURL& in_path, bool in_exclusive, bool in_is_directory, bool in_recursive, CreateCallback callback) {}
bool FileSystemManagerProxy::Exists(
    const ::GURL& param_path, bool param_is_directory, ::base::File::Error* out_param_error_code) {}

void FileSystemManagerProxy::Exists(
    const ::GURL& in_path, bool in_is_directory, ExistsCallback callback) {}

void FileSystemManagerProxy::ReadDirectory(
    const ::GURL& in_path, ::mojo::PendingRemote<FileSystemOperationListener> in_listener) {}
bool FileSystemManagerProxy::ReadDirectorySync(
    const ::GURL& param_path, std::vector<::filesystem::mojom::DirectoryEntryPtr>* out_param_entries, ::base::File::Error* out_param_error_code) {}

void FileSystemManagerProxy::ReadDirectorySync(
    const ::GURL& in_path, ReadDirectorySyncCallback callback) {}

void FileSystemManagerProxy::Write(
    const ::GURL& in_file_path, ::mojo::PendingRemote<::blink::mojom::Blob> in_blob, int64_t in_position, ::mojo::PendingReceiver<FileSystemCancellableOperation> in_op_receiver, ::mojo::PendingRemote<FileSystemOperationListener> in_listener) {}
bool FileSystemManagerProxy::WriteSync(
    const ::GURL& param_file_path, ::mojo::PendingRemote<::blink::mojom::Blob> param_blob, int64_t param_position, int64_t* out_param_byte_count, ::base::File::Error* out_param_error_code) {}

void FileSystemManagerProxy::WriteSync(
    const ::GURL& in_file_path, ::mojo::PendingRemote<::blink::mojom::Blob> in_blob, int64_t in_position, WriteSyncCallback callback) {}

void FileSystemManagerProxy::Truncate(
    const ::GURL& in_file_path, int64_t in_length, ::mojo::PendingReceiver<FileSystemCancellableOperation> in_op_receiver, TruncateCallback callback) {}
bool FileSystemManagerProxy::TruncateSync(
    const ::GURL& param_file_path, int64_t param_length, ::base::File::Error* out_param_error_code) {}

void FileSystemManagerProxy::TruncateSync(
    const ::GURL& in_file_path, int64_t in_length, TruncateSyncCallback callback) {}
bool FileSystemManagerProxy::CreateSnapshotFile(
    const ::GURL& param_file_path, ::base::File::Info* out_param_file_info, ::base::FilePath* out_param_platform_path, ::base::File::Error* out_param_error_code, ::mojo::PendingRemote<ReceivedSnapshotListener>* out_param_snapshot_listener) {}

void FileSystemManagerProxy::CreateSnapshotFile(
    const ::GURL& in_file_path, CreateSnapshotFileCallback callback) {}
bool FileSystemManagerProxy::GetPlatformPath(
    const ::GURL& param_file_path, ::base::FilePath* out_param_platform_path) {}

void FileSystemManagerProxy::GetPlatformPath(
    const ::GURL& in_file_path, GetPlatformPathCallback callback) {}
bool FileSystemManagerProxy::RegisterBlob(
    const std::string& param_content_type, const ::GURL& param_url, uint64_t param_length, std::optional<::base::Time> param_expected_modification_time, ::blink::mojom::SerializedBlobPtr* out_param_blob) {}

void FileSystemManagerProxy::RegisterBlob(
    const std::string& in_content_type, const ::GURL& in_url, uint64_t in_length, std::optional<::base::Time> in_expected_modification_time, RegisterBlobCallback callback) {}
class FileSystemManager_Open_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_Open_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_Open_ProxyToResponder::Run(
    const std::string& in_name, const ::GURL& in_root_url, ::base::File::Error in_error_code) {}
bool FileSystemManager_Open_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class FileSystemManager_ResolveURL_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_ResolveURL_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_ResolveURL_ProxyToResponder::Run(
    FileSystemInfoPtr in_info, const ::base::FilePath& in_file_path, bool in_is_directory, ::base::File::Error in_error_code) {}
bool FileSystemManager_ResolveURL_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class FileSystemManager_Move_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_Move_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_Move_ProxyToResponder::Run(
    ::base::File::Error in_error_code) {}
bool FileSystemManager_Move_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class FileSystemManager_Copy_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_Copy_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_Copy_ProxyToResponder::Run(
    ::base::File::Error in_error_code) {}
bool FileSystemManager_Copy_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class FileSystemManager_Remove_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_Remove_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_Remove_ProxyToResponder::Run(
    ::base::File::Error in_error_code) {}
bool FileSystemManager_Remove_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class FileSystemManager_ReadMetadata_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_ReadMetadata_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_ReadMetadata_ProxyToResponder::Run(
    const ::base::File::Info& in_file_info, ::base::File::Error in_error_code) {}
bool FileSystemManager_ReadMetadata_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class FileSystemManager_Create_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_Create_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_Create_ProxyToResponder::Run(
    ::base::File::Error in_error_code) {}
bool FileSystemManager_Create_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class FileSystemManager_Exists_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_Exists_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_Exists_ProxyToResponder::Run(
    ::base::File::Error in_error_code) {}
bool FileSystemManager_Exists_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class FileSystemManager_ReadDirectorySync_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_ReadDirectorySync_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_ReadDirectorySync_ProxyToResponder::Run(
    std::vector<::filesystem::mojom::DirectoryEntryPtr> in_entries, ::base::File::Error in_error_code) {}
bool FileSystemManager_ReadDirectorySync_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class FileSystemManager_WriteSync_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_WriteSync_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_WriteSync_ProxyToResponder::Run(
    int64_t in_byte_count, ::base::File::Error in_error_code) {}
bool FileSystemManager_WriteSync_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class FileSystemManager_Truncate_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_Truncate_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_Truncate_ProxyToResponder::Run(
    ::base::File::Error in_error_code) {}
class FileSystemManager_TruncateSync_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_TruncateSync_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_TruncateSync_ProxyToResponder::Run(
    ::base::File::Error in_error_code) {}
bool FileSystemManager_TruncateSync_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class FileSystemManager_CreateSnapshotFile_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_CreateSnapshotFile_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_CreateSnapshotFile_ProxyToResponder::Run(
    const ::base::File::Info& in_file_info, const ::base::FilePath& in_platform_path, ::base::File::Error in_error_code, ::mojo::PendingRemote<ReceivedSnapshotListener> in_snapshot_listener) {}
bool FileSystemManager_CreateSnapshotFile_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class FileSystemManager_GetPlatformPath_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_GetPlatformPath_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_GetPlatformPath_ProxyToResponder::Run(
    const ::base::FilePath& in_platform_path) {}
bool FileSystemManager_GetPlatformPath_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class FileSystemManager_RegisterBlob_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool FileSystemManager_RegisterBlob_ForwardToCallback::Accept(
    mojo::Message* message) {}

void FileSystemManager_RegisterBlob_ProxyToResponder::Run(
    ::blink::mojom::SerializedBlobPtr in_blob) {}
bool FileSystemManager_RegisterBlob_HandleSyncResponse::Accept(
    mojo::Message* message) {}

// static
bool FileSystemManagerStubDispatch::Accept(
    FileSystemManager* impl,
    mojo::Message* message) {}

// static
bool FileSystemManagerStubDispatch::AcceptWithResponder(
    FileSystemManager* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kFileSystemManagerValidationInfo[] =;

bool FileSystemManagerRequestValidator::Accept(mojo::Message* message) {}

bool FileSystemManagerResponseValidator::Accept(mojo::Message* message) {}


}  // blink::mojom


namespace mojo {


// static
bool StructTraits<::blink::mojom::FileSystemInfo::DataView, ::blink::mojom::FileSystemInfoPtr>::Read(
    ::blink::mojom::FileSystemInfo::DataView input,
    ::blink::mojom::FileSystemInfoPtr* output) {}

}  // namespace mojo


// Symbols declared in the -test-utils.h header are defined here instead of a
// separate .cc file to save compile time.


namespace blink::mojom {


void FileSystemCancellableOperationInterceptorForTesting::Cancel(CancelCallback callback) {}
FileSystemCancellableOperationAsyncWaiter::FileSystemCancellableOperationAsyncWaiter(
    FileSystemCancellableOperation* proxy) :{}

FileSystemCancellableOperationAsyncWaiter::~FileSystemCancellableOperationAsyncWaiter() = default;

void FileSystemCancellableOperationAsyncWaiter::Cancel(
    ::base::File::Error* out_error_code) {}

::base::File::Error FileSystemCancellableOperationAsyncWaiter::Cancel(
    ) {}




void FileSystemOperationListenerInterceptorForTesting::ResultsRetrieved(std::vector<::filesystem::mojom::DirectoryEntryPtr> entries, bool has_more) {}
void FileSystemOperationListenerInterceptorForTesting::DidWrite(int64_t byte_count, bool complete) {}
void FileSystemOperationListenerInterceptorForTesting::ErrorOccurred(::base::File::Error error_code) {}
FileSystemOperationListenerAsyncWaiter::FileSystemOperationListenerAsyncWaiter(
    FileSystemOperationListener* proxy) :{}

FileSystemOperationListenerAsyncWaiter::~FileSystemOperationListenerAsyncWaiter() = default;




void ReceivedSnapshotListenerInterceptorForTesting::DidReceiveSnapshotFile() {}
ReceivedSnapshotListenerAsyncWaiter::ReceivedSnapshotListenerAsyncWaiter(
    ReceivedSnapshotListener* proxy) :{}

ReceivedSnapshotListenerAsyncWaiter::~ReceivedSnapshotListenerAsyncWaiter() = default;




void FileSystemManagerInterceptorForTesting::Open(const ::url::Origin& origin, FileSystemType file_system_type, OpenCallback callback) {}
void FileSystemManagerInterceptorForTesting::ResolveURL(const ::GURL& filesystem_url, ResolveURLCallback callback) {}
void FileSystemManagerInterceptorForTesting::Move(const ::GURL& src_path, const ::GURL& dest_path, MoveCallback callback) {}
void FileSystemManagerInterceptorForTesting::Copy(const ::GURL& src_path, const ::GURL& dest_path, CopyCallback callback) {}
void FileSystemManagerInterceptorForTesting::Remove(const ::GURL& path, bool recursive, RemoveCallback callback) {}
void FileSystemManagerInterceptorForTesting::ReadMetadata(const ::GURL& path, ReadMetadataCallback callback) {}
void FileSystemManagerInterceptorForTesting::Create(const ::GURL& path, bool exclusive, bool is_directory, bool recursive, CreateCallback callback) {}
void FileSystemManagerInterceptorForTesting::Exists(const ::GURL& path, bool is_directory, ExistsCallback callback) {}
void FileSystemManagerInterceptorForTesting::ReadDirectory(const ::GURL& path, ::mojo::PendingRemote<FileSystemOperationListener> listener) {}
void FileSystemManagerInterceptorForTesting::ReadDirectorySync(const ::GURL& path, ReadDirectorySyncCallback callback) {}
void FileSystemManagerInterceptorForTesting::Write(const ::GURL& file_path, ::mojo::PendingRemote<::blink::mojom::Blob> blob, int64_t position, ::mojo::PendingReceiver<FileSystemCancellableOperation> op_receiver, ::mojo::PendingRemote<FileSystemOperationListener> listener) {}
void FileSystemManagerInterceptorForTesting::WriteSync(const ::GURL& file_path, ::mojo::PendingRemote<::blink::mojom::Blob> blob, int64_t position, WriteSyncCallback callback) {}
void FileSystemManagerInterceptorForTesting::Truncate(const ::GURL& file_path, int64_t length, ::mojo::PendingReceiver<FileSystemCancellableOperation> op_receiver, TruncateCallback callback) {}
void FileSystemManagerInterceptorForTesting::TruncateSync(const ::GURL& file_path, int64_t length, TruncateSyncCallback callback) {}
void FileSystemManagerInterceptorForTesting::CreateSnapshotFile(const ::GURL& file_path, CreateSnapshotFileCallback callback) {}
void FileSystemManagerInterceptorForTesting::GetPlatformPath(const ::GURL& file_path, GetPlatformPathCallback callback) {}
void FileSystemManagerInterceptorForTesting::RegisterBlob(const std::string& content_type, const ::GURL& url, uint64_t length, std::optional<::base::Time> expected_modification_time, RegisterBlobCallback callback) {}
FileSystemManagerAsyncWaiter::FileSystemManagerAsyncWaiter(
    FileSystemManager* proxy) :{}

FileSystemManagerAsyncWaiter::~FileSystemManagerAsyncWaiter() = default;

void FileSystemManagerAsyncWaiter::Open(
    const ::url::Origin& origin, FileSystemType file_system_type, std::string* out_name, ::GURL* out_root_url, ::base::File::Error* out_error_code) {}



void FileSystemManagerAsyncWaiter::ResolveURL(
    const ::GURL& filesystem_url, FileSystemInfoPtr* out_info, ::base::FilePath* out_file_path, bool* out_is_directory, ::base::File::Error* out_error_code) {}



void FileSystemManagerAsyncWaiter::Move(
    const ::GURL& src_path, const ::GURL& dest_path, ::base::File::Error* out_error_code) {}

::base::File::Error FileSystemManagerAsyncWaiter::Move(
    const ::GURL& src_path, const ::GURL& dest_path) {}

void FileSystemManagerAsyncWaiter::Copy(
    const ::GURL& src_path, const ::GURL& dest_path, ::base::File::Error* out_error_code) {}

::base::File::Error FileSystemManagerAsyncWaiter::Copy(
    const ::GURL& src_path, const ::GURL& dest_path) {}

void FileSystemManagerAsyncWaiter::Remove(
    const ::GURL& path, bool recursive, ::base::File::Error* out_error_code) {}

::base::File::Error FileSystemManagerAsyncWaiter::Remove(
    const ::GURL& path, bool recursive) {}

void FileSystemManagerAsyncWaiter::ReadMetadata(
    const ::GURL& path, ::base::File::Info* out_file_info, ::base::File::Error* out_error_code) {}



void FileSystemManagerAsyncWaiter::Create(
    const ::GURL& path, bool exclusive, bool is_directory, bool recursive, ::base::File::Error* out_error_code) {}

::base::File::Error FileSystemManagerAsyncWaiter::Create(
    const ::GURL& path, bool exclusive, bool is_directory, bool recursive) {}

void FileSystemManagerAsyncWaiter::Exists(
    const ::GURL& path, bool is_directory, ::base::File::Error* out_error_code) {}

::base::File::Error FileSystemManagerAsyncWaiter::Exists(
    const ::GURL& path, bool is_directory) {}

void FileSystemManagerAsyncWaiter::ReadDirectorySync(
    const ::GURL& path, std::vector<::filesystem::mojom::DirectoryEntryPtr>* out_entries, ::base::File::Error* out_error_code) {}



void FileSystemManagerAsyncWaiter::WriteSync(
    const ::GURL& file_path, ::mojo::PendingRemote<::blink::mojom::Blob> blob, int64_t position, int64_t* out_byte_count, ::base::File::Error* out_error_code) {}



void FileSystemManagerAsyncWaiter::Truncate(
    const ::GURL& file_path, int64_t length, ::mojo::PendingReceiver<FileSystemCancellableOperation> op_receiver, ::base::File::Error* out_error_code) {}

::base::File::Error FileSystemManagerAsyncWaiter::Truncate(
    const ::GURL& file_path, int64_t length, ::mojo::PendingReceiver<FileSystemCancellableOperation> op_receiver) {}

void FileSystemManagerAsyncWaiter::TruncateSync(
    const ::GURL& file_path, int64_t length, ::base::File::Error* out_error_code) {}

::base::File::Error FileSystemManagerAsyncWaiter::TruncateSync(
    const ::GURL& file_path, int64_t length) {}

void FileSystemManagerAsyncWaiter::CreateSnapshotFile(
    const ::GURL& file_path, ::base::File::Info* out_file_info, ::base::FilePath* out_platform_path, ::base::File::Error* out_error_code, ::mojo::PendingRemote<ReceivedSnapshotListener>* out_snapshot_listener) {}



void FileSystemManagerAsyncWaiter::GetPlatformPath(
    const ::GURL& file_path, ::base::FilePath* out_platform_path) {}

::base::FilePath FileSystemManagerAsyncWaiter::GetPlatformPath(
    const ::GURL& file_path) {}

void FileSystemManagerAsyncWaiter::RegisterBlob(
    const std::string& content_type, const ::GURL& url, uint64_t length, std::optional<::base::Time> expected_modification_time, ::blink::mojom::SerializedBlobPtr* out_blob) {}

::blink::mojom::SerializedBlobPtr FileSystemManagerAsyncWaiter::RegisterBlob(
    const std::string& content_type, const ::GURL& url, uint64_t length, std::optional<::base::Time> expected_modification_time) {}






}  // blink::mojom


#if defined(__clang__)
#pragma clang diagnostic pop
#endif