#include "services/device/power_monitor/power_monitor_message_broadcaster.h"
#include "base/power_monitor/power_monitor.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
namespace device {
PowerMonitorMessageBroadcaster::PowerMonitorMessageBroadcaster() { … }
PowerMonitorMessageBroadcaster::~PowerMonitorMessageBroadcaster() { … }
void PowerMonitorMessageBroadcaster::Bind(
mojo::PendingReceiver<device::mojom::PowerMonitor> receiver) { … }
void PowerMonitorMessageBroadcaster::AddClient(
mojo::PendingRemote<device::mojom::PowerMonitorClient>
power_monitor_client) { … }
void PowerMonitorMessageBroadcaster::OnPowerStateChange(bool on_battery_power) { … }
void PowerMonitorMessageBroadcaster::OnSuspend() { … }
void PowerMonitorMessageBroadcaster::OnResume() { … }
}