#include "third_party/blink/renderer/platform/testing/testing_platform_support_with_mock_scheduler.h"
#include "base/functional/bind.h"
#include "base/task/sequence_manager/test/sequence_manager_for_test.h"
#include "base/test/test_mock_time_task_runner.h"
#include "third_party/blink/renderer/platform/scheduler/common/task_priority.h"
#include "third_party/blink/renderer/platform/scheduler/main_thread/main_thread_scheduler_impl.h"
#include "third_party/blink/renderer/platform/wtf/wtf.h"
namespace blink {
TestingPlatformSupportWithMockScheduler::
TestingPlatformSupportWithMockScheduler()
: … { … }
TestingPlatformSupportWithMockScheduler::
~TestingPlatformSupportWithMockScheduler() { … }
void TestingPlatformSupportWithMockScheduler::RunSingleTask() { … }
void TestingPlatformSupportWithMockScheduler::RunUntilIdle() { … }
const base::Clock* TestingPlatformSupportWithMockScheduler::GetClock() const { … }
const base::TickClock* TestingPlatformSupportWithMockScheduler::GetTickClock()
const { … }
base::TimeTicks TestingPlatformSupportWithMockScheduler::NowTicks() const { … }
void TestingPlatformSupportWithMockScheduler::RunForPeriodSeconds(
double seconds) { … }
void TestingPlatformSupportWithMockScheduler::RunForPeriod(
base::TimeDelta period) { … }
void TestingPlatformSupportWithMockScheduler::AdvanceClockSeconds(
double seconds) { … }
void TestingPlatformSupportWithMockScheduler::AdvanceClock(
base::TimeDelta duration) { … }
void TestingPlatformSupportWithMockScheduler::SetAutoAdvanceNowToPendingTasks(
bool auto_advance) { … }
scheduler::MainThreadSchedulerImpl*
TestingPlatformSupportWithMockScheduler::GetMainThreadScheduler() const { … }
}