chromium/third_party/blink/renderer/platform/scheduler/common/cooperative_scheduling_manager.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/platform/scheduler/public/cooperative_scheduling_manager.h"

#include "base/auto_reset.h"
#include "base/run_loop.h"
#include "base/time/default_tick_clock.h"
#include "third_party/blink/renderer/platform/instrumentation/tracing/trace_event.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
#include "third_party/blink/renderer/platform/scheduler/public/thread.h"
#include "third_party/blink/renderer/platform/scheduler/public/thread_scheduler.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"
#include "third_party/blink/renderer/platform/wtf/thread_specific.h"

namespace blink {
namespace scheduler {

namespace {
// Minimum time interval between nested loop runs.
constexpr base::TimeDelta kNestedLoopMinimumInterval =;
}  // namespace

// static
CooperativeSchedulingManager* CooperativeSchedulingManager::Instance() {}

CooperativeSchedulingManager::AllowedStackScope::AllowedStackScope(
    CooperativeSchedulingManager* manager)
    :{}

CooperativeSchedulingManager::AllowedStackScope::~AllowedStackScope() {}

CooperativeSchedulingManager::CooperativeSchedulingManager()
    :{}

void CooperativeSchedulingManager::EnterAllowedStackScope() {}

void CooperativeSchedulingManager::LeaveAllowedStackScope() {}

void CooperativeSchedulingManager::SafepointSlow() {}

void CooperativeSchedulingManager::RunNestedLoop() {}

void CooperativeSchedulingManager::SetTickClockForTesting(
    const base::TickClock* clock) {}

}  // namespace scheduler
}  // namespace blink