#include "components/download/internal/background_service/init_aware_background_download_service.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/strings/string_util.h"
#include "components/download/internal/background_service/initializable_background_download_service.h"
#include "components/download/internal/background_service/stats.h"
namespace download {
InitAwareBackgroundDownloadService::InitAwareBackgroundDownloadService(
std::unique_ptr<InitializableBackgroundDownloadService> service)
: … { … }
InitAwareBackgroundDownloadService::~InitAwareBackgroundDownloadService() =
default;
const ServiceConfig& InitAwareBackgroundDownloadService::GetConfig() { … }
void InitAwareBackgroundDownloadService::OnStartScheduledTask(
DownloadTaskType task_type,
TaskFinishedCallback callback) { … }
bool InitAwareBackgroundDownloadService::OnStopScheduledTask(
DownloadTaskType task_type) { … }
BackgroundDownloadService::ServiceStatus
InitAwareBackgroundDownloadService::GetStatus() { … }
void InitAwareBackgroundDownloadService::StartDownload(
DownloadParams download_params) { … }
void InitAwareBackgroundDownloadService::PauseDownload(
const std::string& guid) { … }
void InitAwareBackgroundDownloadService::ResumeDownload(
const std::string& guid) { … }
void InitAwareBackgroundDownloadService::CancelDownload(
const std::string& guid) { … }
void InitAwareBackgroundDownloadService::ChangeDownloadCriteria(
const std::string& guid,
const SchedulingParams& params) { … }
Logger* InitAwareBackgroundDownloadService::GetLogger() { … }
void InitAwareBackgroundDownloadService::OnServiceInitialized() { … }
}