#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 {
BASE_FEATURE(…);
bool g_use_thread_controller_power_monitor_ = …;
}
ThreadControllerPowerMonitor::ThreadControllerPowerMonitor() = default;
ThreadControllerPowerMonitor::~ThreadControllerPowerMonitor() { … }
void ThreadControllerPowerMonitor::BindToCurrentThread() { … }
bool ThreadControllerPowerMonitor::IsProcessInPowerSuspendState() { … }
void ThreadControllerPowerMonitor::InitializeFeatures() { … }
void ThreadControllerPowerMonitor::OverrideUsePowerMonitorForTesting(
bool use_power_monitor) { … }
void ThreadControllerPowerMonitor::ResetForTesting() { … }
void ThreadControllerPowerMonitor::OnSuspend() { … }
void ThreadControllerPowerMonitor::OnResume() { … }
}
}
}