// 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. #ifndef BASE_TASK_SEQUENCE_MANAGER_THREAD_CONTROLLER_POWER_MONITOR_H_ #define BASE_TASK_SEQUENCE_MANAGER_THREAD_CONTROLLER_POWER_MONITOR_H_ #include "base/base_export.h" #include "base/power_monitor/power_observer.h" namespace base { namespace sequence_manager { namespace internal { // A helper class that keeps track of the power state and handles power // notifications. The class register itself to the PowerMonitor and receives // notifications on the bound thread (see BindToCurrentThread(...)). class BASE_EXPORT ThreadControllerPowerMonitor : public PowerSuspendObserver { … }; } // namespace internal } // namespace sequence_manager } // namespace base #endif // BASE_TASK_SEQUENCE_MANAGER_THREAD_CONTROLLER_POWER_MONITOR_H_