#include "components/background_task_scheduler/background_task_scheduler_factory.h"
#include <memory>
#include "base/memory/singleton.h"
#include "build/build_config.h"
#include "components/background_task_scheduler/background_task_scheduler.h"
#include "components/keyed_service/core/simple_dependency_manager.h"
#if BUILDFLAG(IS_ANDROID)
#include "components/background_task_scheduler/internal/android/native_task_scheduler.h"
#endif
namespace background_task {
BackgroundTaskSchedulerFactory* BackgroundTaskSchedulerFactory::GetInstance() { … }
BackgroundTaskScheduler* BackgroundTaskSchedulerFactory::GetForKey(
SimpleFactoryKey* key) { … }
BackgroundTaskSchedulerFactory::BackgroundTaskSchedulerFactory()
: … { … }
BackgroundTaskSchedulerFactory::~BackgroundTaskSchedulerFactory() = default;
std::unique_ptr<KeyedService>
BackgroundTaskSchedulerFactory::BuildServiceInstanceFor(
SimpleFactoryKey* key) const { … }
SimpleFactoryKey* BackgroundTaskSchedulerFactory::GetKeyToUse(
SimpleFactoryKey* key) const { … }
}