// Copyright 2020 Google LLC. All rights reserved. // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file or at // https://developers.google.com/open-source/licenses/bsd #include #include #include namespace shaka { namespace media { SingleThreadJobManager::SingleThreadJobManager( std::unique_ptr sync_points) : JobManager(std::move(sync_points)) {} Status SingleThreadJobManager::RunJobs() { Status status; for (auto& job : jobs_) status.Update(job->Run()); return status; } } // namespace media } // namespace shaka