Index: components/download/internal/download_service_impl.h |
diff --git a/components/download/internal/download_service_impl.h b/components/download/internal/download_service_impl.h |
index e54ab3e64ff9a18640c4b5892b2dcce7dff7be72..319aea1976b78b2692419696e30937540185bc85 100644 |
--- a/components/download/internal/download_service_impl.h |
+++ b/components/download/internal/download_service_impl.h |
@@ -5,9 +5,11 @@ |
#ifndef COMPONENTS_DOWNLOAD_INTERNAL_DOWNLOAD_SERVICE_IMPL_H_ |
#define COMPONENTS_DOWNLOAD_INTERNAL_DOWNLOAD_SERVICE_IMPL_H_ |
+#include <memory> |
#include <string> |
#include "base/macros.h" |
+#include "components/download/internal/config.h" |
#include "components/download/public/download_service.h" |
namespace download { |
@@ -18,7 +20,7 @@ struct SchedulingParams; |
// The internal implementation of the DownloadService. |
class DownloadServiceImpl : public DownloadService { |
public: |
- DownloadServiceImpl(); |
+ DownloadServiceImpl(std::unique_ptr<Configuration> config); |
~DownloadServiceImpl() override; |
// DownloadService implementation. |
@@ -30,6 +32,8 @@ class DownloadServiceImpl : public DownloadService { |
const SchedulingParams& params) override; |
private: |
+ std::unique_ptr<Configuration> config_; |
+ |
DISALLOW_COPY_AND_ASSIGN(DownloadServiceImpl); |
}; |