#include "base/task/sequence_manager/test/sequence_manager_for_test.h"
#include "base/task/sequence_manager/thread_controller_impl.h"
namespace base {
namespace sequence_manager {
namespace {
class ThreadControllerForTest : public internal::ThreadControllerImpl { … };
}
SequenceManagerForTest::SequenceManagerForTest(
std::unique_ptr<internal::ThreadController> thread_controller,
SequenceManager::Settings settings)
: … { … }
std::unique_ptr<SequenceManagerForTest> SequenceManagerForTest::Create(
SequenceManagerImpl* funneled_sequence_manager,
scoped_refptr<SingleThreadTaskRunner> task_runner,
const TickClock* clock,
SequenceManager::Settings settings) { … }
std::unique_ptr<SequenceManagerForTest> SequenceManagerForTest::Create(
std::unique_ptr<internal::ThreadController> thread_controller,
SequenceManager::Settings settings) { … }
std::unique_ptr<SequenceManagerForTest>
SequenceManagerForTest::CreateOnCurrentThread(
SequenceManager::Settings settings) { … }
size_t SequenceManagerForTest::ActiveQueuesCount() const { … }
bool SequenceManagerForTest::HasImmediateWork() const { … }
size_t SequenceManagerForTest::PendingTasksCount() const { … }
size_t SequenceManagerForTest::QueuesToDeleteCount() const { … }
}
}