#include "components/download/public/common/download_task_runner.h"
#include "base/lazy_instance.h"
#include "base/no_destructor.h"
#include "base/synchronization/lock.h"
#include "base/task/lazy_thread_pool_task_runner.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/single_thread_task_runner.h"
#include "build/build_config.h"
namespace download {
namespace …
scoped_refptr<base::SequencedTaskRunner> GetDownloadTaskRunner() { … }
void SetIOTaskRunner(
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) { … }
scoped_refptr<base::SingleThreadTaskRunner> GetIOTaskRunner() { … }
void SetDownloadDBTaskRunnerForTesting(
const scoped_refptr<base::SequencedTaskRunner>& task_runner) { … }
scoped_refptr<base::SequencedTaskRunner> GetDownloadDBTaskRunnerForTesting() { … }
}