chromium/base/task/sequence_manager/thread_controller_power_monitor.cc

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

#include "base/task/sequence_manager/thread_controller_power_monitor.h"

#include "base/feature_list.h"
#include "base/power_monitor/power_monitor.h"
#include "base/trace_event/base_tracing.h"

namespace base {
namespace sequence_manager {
namespace internal {

namespace {

// Activate the power management events that affect task scheduling.
BASE_FEATURE();

// TODO(crbug.com/40127966): Remove this when the experiment becomes the
// default.
bool g_use_thread_controller_power_monitor_ =;

}  // namespace

ThreadControllerPowerMonitor::ThreadControllerPowerMonitor() = default;

ThreadControllerPowerMonitor::~ThreadControllerPowerMonitor() {}

void ThreadControllerPowerMonitor::BindToCurrentThread() {}

bool ThreadControllerPowerMonitor::IsProcessInPowerSuspendState() {}

// static
void ThreadControllerPowerMonitor::InitializeFeatures() {}

// static
void ThreadControllerPowerMonitor::OverrideUsePowerMonitorForTesting(
    bool use_power_monitor) {}

// static
void ThreadControllerPowerMonitor::ResetForTesting() {}

void ThreadControllerPowerMonitor::OnSuspend() {}

void ThreadControllerPowerMonitor::OnResume() {}

}  // namespace internal
}  // namespace sequence_manager
}  // namespace base