| Index: components/download/internal/download_service_impl.cc
|
| diff --git a/components/download/internal/download_service_impl.cc b/components/download/internal/download_service_impl.cc
|
| index bdce730bad678a113d605d4f5a75fb8f6105762d..44610a9a2083439ac19343e0c289de16cd841d32 100644
|
| --- a/components/download/internal/download_service_impl.cc
|
| +++ b/components/download/internal/download_service_impl.cc
|
| @@ -10,10 +10,12 @@ namespace download {
|
| DownloadService* DownloadService::Create(
|
| const base::FilePath& storage_dir,
|
| const scoped_refptr<base::SequencedTaskRunner>& background_task_runner) {
|
| - return new DownloadServiceImpl();
|
| + return new DownloadServiceImpl(Configuration::CreateFromFinch());
|
| }
|
|
|
| -DownloadServiceImpl::DownloadServiceImpl() = default;
|
| +DownloadServiceImpl::DownloadServiceImpl(std::unique_ptr<Configuration> config)
|
| + : config_(std::move(config)) {}
|
| +
|
| DownloadServiceImpl::~DownloadServiceImpl() = default;
|
|
|
| void DownloadServiceImpl::StartDownload(const DownloadParams& download_params) {
|
|
|