// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_DOWNLOAD_PUBLIC_BACKGROUND_SERVICE_BASIC_TASK_SCHEDULER_H_ #define COMPONENTS_DOWNLOAD_PUBLIC_BACKGROUND_SERVICE_BASIC_TASK_SCHEDULER_H_ #include <map> #include "base/cancelable_callback.h" #include "base/functional/callback.h" #include "base/memory/weak_ptr.h" #include "components/download/public/task/task_scheduler.h" namespace download { class BackgroundDownloadService; // A TaskScheduler implementation that doesn't do anything but posts the task // after the specified delay. class BasicTaskScheduler : public download::TaskScheduler { … }; } // namespace download #endif // COMPONENTS_DOWNLOAD_PUBLIC_BACKGROUND_SERVICE_BASIC_TASK_SCHEDULER_H_