#ifndef COMPONENTS_DOWNLOAD_PUBLIC_COMMON_DOWNLOAD_TASK_RUNNER_H_
#define COMPONENTS_DOWNLOAD_PUBLIC_COMMON_DOWNLOAD_TASK_RUNNER_H_
#include "base/task/sequenced_task_runner.h"
#include "base/task/single_thread_task_runner.h"
#include "components/download/public/common/download_export.h"
namespace download {
COMPONENTS_DOWNLOAD_EXPORT scoped_refptr<base::SequencedTaskRunner>
GetDownloadTaskRunner();
COMPONENTS_DOWNLOAD_EXPORT void SetIOTaskRunner(
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner);
COMPONENTS_DOWNLOAD_EXPORT scoped_refptr<base::SingleThreadTaskRunner>
GetIOTaskRunner();
COMPONENTS_DOWNLOAD_EXPORT void SetDownloadDBTaskRunnerForTesting(
const scoped_refptr<base::SequencedTaskRunner>& task_runner);
COMPONENTS_DOWNLOAD_EXPORT scoped_refptr<base::SequencedTaskRunner>
GetDownloadDBTaskRunnerForTesting();
}
#endif