// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_DEVICE_BATTERY_BATTERY_STATUS_MANAGER_LINUX_H_ #define SERVICES_DEVICE_BATTERY_BATTERY_STATUS_MANAGER_LINUX_H_ #include "services/device/battery/battery_status_manager.h" namespace base { class Thread; } namespace dbus { class Bus; } // namespace dbus namespace device { // UPowerDeviceState reflects the possible UPower.Device.State values, // see upower.freedesktop.org/docs/Device.html#Device:State. enum UPowerDeviceState { … }; // UPowerDeviceType reflects the possible UPower.Device.Type values, // see upower.freedesktop.org/docs/Device.html#Device:Type. enum UPowerDeviceType { … }; // Creates a notification thread and delegates Start/Stop calls to it. class BatteryStatusManagerLinux : public BatteryStatusManager { … }; } // namespace device #endif // SERVICES_DEVICE_BATTERY_BATTERY_STATUS_MANAGER_LINUX_H_