#include "storage/browser/file_system/remove_operation_delegate.h"
#include "base/functional/bind.h"
#include "storage/browser/file_system/file_system_context.h"
#include "storage/browser/file_system/file_system_operation_runner.h"
namespace storage {
RemoveOperationDelegate::RemoveOperationDelegate(
FileSystemContext* file_system_context,
const FileSystemURL& url,
StatusCallback callback)
: … { … }
RemoveOperationDelegate::~RemoveOperationDelegate() = default;
void RemoveOperationDelegate::Run() { … }
void RemoveOperationDelegate::RunRecursively() { … }
void RemoveOperationDelegate::ProcessFile(const FileSystemURL& url,
StatusCallback callback) { … }
void RemoveOperationDelegate::ProcessDirectory(const FileSystemURL& url,
StatusCallback callback) { … }
void RemoveOperationDelegate::PostProcessDirectory(const FileSystemURL& url,
StatusCallback callback) { … }
base::WeakPtr<RecursiveOperationDelegate> RemoveOperationDelegate::AsWeakPtr() { … }
void RemoveOperationDelegate::DidTryRemoveFile(base::File::Error error) { … }
void RemoveOperationDelegate::DidTryRemoveDirectory(
base::File::Error remove_file_error,
base::File::Error remove_directory_error) { … }
void RemoveOperationDelegate::DidRemoveFile(StatusCallback callback,
base::File::Error error) { … }
}