// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_POWER_MONITOR_POWER_MONITOR_DEVICE_SOURCE_LINUX_H_ #define COMPONENTS_POWER_MONITOR_POWER_MONITOR_DEVICE_SOURCE_LINUX_H_ #include "base/memory/scoped_refptr.h" #include "base/memory/weak_ptr.h" #include "base/power_monitor/power_monitor_source.h" #include <string> namespace dbus { class Bus; class Signal; } // namespace dbus // A PowerMonitorSource that observes sleep/resume signals issued by systemd on // Linux systems. class PowerMonitorDeviceSourceLinux : public base::PowerMonitorSource { … }; #endif // COMPONENTS_POWER_MONITOR_POWER_MONITOR_DEVICE_SOURCE_LINUX_H_