chromium/base/files/important_file_writer_cleaner.cc

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

#include "base/files/important_file_writer_cleaner.h"

#include <algorithm>
#include <functional>
#include <iterator>
#include <utility>

#include "base/files/file_enumerator.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/no_destructor.h"
#include "base/process/process.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/task_traits.h"
#include "base/task/thread_pool.h"
#include "base/time/time.h"
#include "build/build_config.h"

namespace base {

namespace {

base::Time GetUpperBoundTime() {}

}  // namespace

// static
ImportantFileWriterCleaner& ImportantFileWriterCleaner::GetInstance() {}

// static
void ImportantFileWriterCleaner::AddDirectory(const FilePath& directory) {}

void ImportantFileWriterCleaner::Initialize() {}

void ImportantFileWriterCleaner::Start() {}

void ImportantFileWriterCleaner::Stop() {}

void ImportantFileWriterCleaner::UninitializeForTesting() {}

base::Time ImportantFileWriterCleaner::GetUpperBoundTimeForTest() const {}

ImportantFileWriterCleaner::ImportantFileWriterCleaner()
    :{}

void ImportantFileWriterCleaner::AddDirectoryImpl(const FilePath& directory) {}

void ImportantFileWriterCleaner::ScheduleTask() {}

// static
bool ImportantFileWriterCleaner::CleanInBackground(
    Time upper_bound_time,
    std::vector<FilePath> directories,
    std::atomic_bool& stop_flag) {}

void ImportantFileWriterCleaner::OnBackgroundTaskFinished(
    bool processing_completed) {}

void ImportantFileWriterCleaner::DoStop() {}

}  // namespace base