// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_BASE_SERIAL_RUNNER_H_ #define MEDIA_BASE_SERIAL_RUNNER_H_ #include <memory> #include "base/containers/circular_deque.h" #include "base/functional/callback.h" #include "base/memory/scoped_refptr.h" #include "base/memory/weak_ptr.h" #include "base/task/sequenced_task_runner.h" #include "media/base/media_export.h" #include "media/base/pipeline_status.h" namespace media { // Runs a series of bound functions accepting Closures or // PipelineStatusCallback. SerialRunner doesn't use regular // OnceClosure/PipelineStatusCallbacks as it late binds the completion callback // as the series progresses. class MEDIA_EXPORT SerialRunner { … }; } // namespace media #endif // MEDIA_BASE_SERIAL_RUNNER_H_