#include "services/device/battery/battery_monitor_impl.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
namespace device {
void BatteryMonitorImpl::Create(
mojo::PendingReceiver<mojom::BatteryMonitor> receiver) { … }
BatteryMonitorImpl::BatteryMonitorImpl() : … { … }
BatteryMonitorImpl::~BatteryMonitorImpl() { … }
void BatteryMonitorImpl::QueryNextStatus(QueryNextStatusCallback callback) { … }
void BatteryMonitorImpl::RegisterSubscription() { … }
void BatteryMonitorImpl::DidChange(const mojom::BatteryStatus& battery_status) { … }
void BatteryMonitorImpl::ReportStatus() { … }
}