#include "chrome/browser/sync_file_system/local/syncable_file_operation_runner.h"
#include <stddef.h>
#include <algorithm>
#include "base/functional/callback.h"
#include "content/public/browser/browser_thread.h"
FileSystemURL;
namespace sync_file_system {
bool SyncableFileOperationRunner::Task::IsRunnable(
LocalFileSyncStatus* status) const { … }
void SyncableFileOperationRunner::Task::Start(LocalFileSyncStatus* status) { … }
SyncableFileOperationRunner::SyncableFileOperationRunner(
int64_t max_inflight_tasks,
LocalFileSyncStatus* sync_status)
: … { … }
SyncableFileOperationRunner::~SyncableFileOperationRunner() { … }
void SyncableFileOperationRunner::OnSyncEnabled(const FileSystemURL& url) { … }
void SyncableFileOperationRunner::OnWriteEnabled(const FileSystemURL& url) { … }
void SyncableFileOperationRunner::PostOperationTask(
std::unique_ptr<Task> task) { … }
void SyncableFileOperationRunner::RunNextRunnableTask() { … }
void SyncableFileOperationRunner::OnOperationCompleted(
const std::vector<FileSystemURL>& target_paths) { … }
bool SyncableFileOperationRunner::ShouldStartMoreTasks() const { … }
}