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

Side by Side Diff: components/download/internal/background_download_service_impl.cc

Issue 2851303003: Add the download component and initial setup (Closed)
Patch Set: Removed accidental rename Created 3 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "components/download/internal/background_download_service_impl.h"
6
7 namespace download {
8
9 // static
10 BackgroundDownloadService* BackgroundDownloadService::Create(
11 const base::FilePath& storage_dir,
12 const scoped_refptr<base::SequencedTaskRunner>& background_task_runner) {
13 return new BackgroundDownloadServiceImpl();
14 }
15
16 BackgroundDownloadServiceImpl::BackgroundDownloadServiceImpl() = default;
17 BackgroundDownloadServiceImpl::~BackgroundDownloadServiceImpl() = default;
18
19 void BackgroundDownloadServiceImpl::StartDownload(
20 const DownloadParams& download_params) {}
21 void BackgroundDownloadServiceImpl::PauseDownload(const std::string& guid) {}
22 void BackgroundDownloadServiceImpl::ResumeDownload(const std::string& guid) {}
23 void BackgroundDownloadServiceImpl::CancelDownload(const std::string& guid) {}
24 void BackgroundDownloadServiceImpl::ChangeDownloadCriteria(
25 const std::string& guid,
26 const SchedulingParams& params) {}
27
28 } // namespace download
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698