// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_TASK_DEFERRED_SEQUENCED_TASK_RUNNER_H_ #define BASE_TASK_DEFERRED_SEQUENCED_TASK_RUNNER_H_ #include <vector> #include "base/base_export.h" #include "base/compiler_specific.h" #include "base/functional/callback.h" #include "base/synchronization/lock.h" #include "base/task/sequenced_task_runner.h" #include "base/threading/platform_thread.h" #include "base/time/time.h" namespace base { // A DeferredSequencedTaskRunner is a subclass of SequencedTaskRunner that // queues up all requests until the first call to Start() is issued. // DeferredSequencedTaskRunner may be created in two ways: // . with an explicit SequencedTaskRunner that the events are flushed to // . without a SequencedTaskRunner. In this configuration the // SequencedTaskRunner is supplied in StartWithTaskRunner(). class BASE_EXPORT DeferredSequencedTaskRunner : public SequencedTaskRunner { … }; } // namespace base #endif // BASE_TASK_DEFERRED_SEQUENCED_TASK_RUNNER_H_