chromium/third_party/blink/renderer/platform/scheduler/main_thread/idle_time_estimator.cc

// Copyright 2015 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/main_thread/idle_time_estimator.h"

#include "base/time/default_tick_clock.h"

namespace blink {
namespace scheduler {

IdleTimeEstimator::IdleTimeEstimator(const base::TickClock* time_source,
                                     int sample_count,
                                     double estimation_percentile)
    :{}

IdleTimeEstimator::~IdleTimeEstimator() = default;

base::TimeDelta IdleTimeEstimator::GetExpectedIdleDuration(
    base::TimeDelta compositor_frame_interval) const {}

void IdleTimeEstimator::DidCommitFrameToCompositor() {}

void IdleTimeEstimator::Clear() {}

void IdleTimeEstimator::WillProcessTask(const base::PendingTask& pending_task,
                                        bool was_blocked_or_low_priority) {}

void IdleTimeEstimator::DidProcessTask(const base::PendingTask& pending_task) {}

void IdleTimeEstimator::AddCompositorTaskQueue(
    scoped_refptr<MainThreadTaskQueue> compositor_task_queue) {}

void IdleTimeEstimator::RemoveCompositorTaskQueue(
    scoped_refptr<MainThreadTaskQueue> compositor_task_queue) {}

}  // namespace scheduler
}  // namespace blink