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

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

Issue 2851303003: Add the download component and initial setup (Closed)
Patch Set: Addressed comments 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/download_service_impl.h"
6
7 namespace download {
8
9 // static
10 DownloadService* DownloadService::Create(
11 const base::FilePath& storage_dir,
12 const scoped_refptr<base::SequencedTaskRunner>& background_task_runner) {
13 return new DownloadServiceImpl();
14 }
15
16 DownloadServiceImpl::DownloadServiceImpl() = default;
17 DownloadServiceImpl::~DownloadServiceImpl() = default;
18
19 void DownloadServiceImpl::StartDownload(const DownloadParams& download_params) {
20 }
21 void DownloadServiceImpl::PauseDownload(const std::string& guid) {}
22 void DownloadServiceImpl::ResumeDownload(const std::string& guid) {}
23 void DownloadServiceImpl::CancelDownload(const std::string& guid) {}
24 void DownloadServiceImpl::ChangeDownloadCriteria(
25 const std::string& guid,
26 const SchedulingParams& params) {}
27
28 } // namespace download
OLDNEW
« no previous file with comments | « components/download/internal/download_service_impl.h ('k') | components/download/internal/download_service_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698