#include "components/download/internal/background_service/empty_file_monitor.h"
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
namespace download {
EmptyFileMonitor::EmptyFileMonitor() { … }
EmptyFileMonitor::~EmptyFileMonitor() = default;
void EmptyFileMonitor::Initialize(InitCallback callback) { … }
void EmptyFileMonitor::DeleteUnknownFiles(
const Model::EntryList& known_entries,
const std::vector<DriverEntry>& known_driver_entries,
base::OnceClosure completion_callback) { … }
void EmptyFileMonitor::CleanupFilesForCompletedEntries(
const Model::EntryList& entries,
base::OnceClosure completion_callback) { … }
void EmptyFileMonitor::DeleteFiles(
const std::set<base::FilePath>& files_to_remove,
stats::FileCleanupReason reason) { … }
void EmptyFileMonitor::HardRecover(InitCallback callback) { … }
}