Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(496)

Unified Diff: components/download/internal/background_download_service_impl.cc

Issue 2851303003: Add the download component and initial setup (Closed)
Patch Set: Build break Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/download/internal/background_download_service_impl.cc
diff --git a/components/download/internal/background_download_service_impl.cc b/components/download/internal/background_download_service_impl.cc
new file mode 100644
index 0000000000000000000000000000000000000000..4d187fa8b99c0e45c96974b37cd4e71f756222ca
--- /dev/null
+++ b/components/download/internal/background_download_service_impl.cc
@@ -0,0 +1,28 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/download/internal/background_download_service_impl.h"
+
+namespace download {
+
+// static
+BackgroundDownloadService* BackgroundDownloadService::Create(
+ const base::FilePath& storage_dir,
+ const scoped_refptr<base::SequencedTaskRunner>& background_task_runner) {
+ return new BackgroundDownloadServiceImpl();
+}
+
+BackgroundDownloadServiceImpl::BackgroundDownloadServiceImpl() = default;
+BackgroundDownloadServiceImpl::~BackgroundDownloadServiceImpl() = default;
+
+void BackgroundDownloadServiceImpl::StartDownload(
+ const DownloadParams& download_params) {}
+void BackgroundDownloadServiceImpl::PauseDownload(const std::string& guid) {}
+void BackgroundDownloadServiceImpl::ResumeDownload(const std::string& guid) {}
+void BackgroundDownloadServiceImpl::CancelDownload(const std::string& guid) {}
+void BackgroundDownloadServiceImpl::ChangeDownloadCriteria(
+ const std::string& guid,
+ const SchedulingParams& params) {}
+
+} // namespace download

Powered by Google App Engine
This is Rietveld 408576698