#include "storage/browser/file_system/recursive_operation_delegate.h"
#include <stddef.h>
#include "base/check_op.h"
#include "base/containers/queue.h"
#include "base/files/file.h"
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "storage/browser/file_system/file_system_context.h"
#include "storage/browser/file_system/file_system_operation_runner.h"
namespace storage {
RecursiveOperationDelegate::RecursiveOperationDelegate(
FileSystemContext* file_system_context)
: … { … }
RecursiveOperationDelegate::~RecursiveOperationDelegate() = default;
void RecursiveOperationDelegate::Cancel() { … }
void RecursiveOperationDelegate::StartRecursiveOperation(
const FileSystemURL& root,
ErrorBehavior error_behavior,
StatusCallback callback) { … }
void RecursiveOperationDelegate::TryProcessFile(const FileSystemURL& root) { … }
FileSystemOperationRunner* RecursiveOperationDelegate::operation_runner() { … }
void RecursiveOperationDelegate::OnCancel() { … }
void RecursiveOperationDelegate::DidTryProcessFile(const FileSystemURL& root,
base::File::Error error) { … }
void RecursiveOperationDelegate::ProcessNextDirectory() { … }
void RecursiveOperationDelegate::DidProcessDirectory(base::File::Error error) { … }
void RecursiveOperationDelegate::DidReadDirectory(const FileSystemURL& parent,
base::File::Error error,
FileEntryList entries,
bool has_more) { … }
void RecursiveOperationDelegate::ProcessPendingFiles() { … }
void RecursiveOperationDelegate::DidProcessFile(const FileSystemURL& url,
base::File::Error error) { … }
void RecursiveOperationDelegate::ProcessSubDirectory() { … }
void RecursiveOperationDelegate::DidPostProcessDirectory(
base::File::Error error) { … }
void RecursiveOperationDelegate::SetPreviousError(base::File::Error error) { … }
void RecursiveOperationDelegate::Done(base::File::Error error) { … }
}