7 #include <packager/app/single_thread_job_manager.h>
9 #include <packager/media/chunking/sync_point_queue.h>
10 #include <packager/media/origin/origin_handler.h>
15 SingleThreadJobManager::SingleThreadJobManager(
16 std::unique_ptr<SyncPointQueue> sync_points)
17 : JobManager(std::move(sync_points)) {}
19 Status SingleThreadJobManager::RunJobs() {
22 for (
auto& job : jobs_)
23 status.Update(job->Run());
All the methods that are virtual are virtual for mocking.