chromium/services/device/public/cpp/power_monitor/power_monitor_broadcast_source.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "services/device/public/cpp/power_monitor/power_monitor_broadcast_source.h"

#include "base/functional/bind.h"
#include "base/location.h"
#include "base/task/sequenced_task_runner.h"
#include "mojo/public/cpp/bindings/remote.h"

namespace device {

PowerMonitorBroadcastSource::PowerMonitorBroadcastSource(
    scoped_refptr<base::SequencedTaskRunner> task_runner)
    :{}

PowerMonitorBroadcastSource::PowerMonitorBroadcastSource(
    std::unique_ptr<Client> client,
    scoped_refptr<base::SequencedTaskRunner> task_runner)
    :{}

PowerMonitorBroadcastSource::~PowerMonitorBroadcastSource() {}

void PowerMonitorBroadcastSource::Init(
    mojo::PendingRemote<mojom::PowerMonitor> remote_monitor) {}

bool PowerMonitorBroadcastSource::IsOnBatteryPower() {}

PowerMonitorBroadcastSource::Client::Client() = default;

PowerMonitorBroadcastSource::Client::~Client() {}

void PowerMonitorBroadcastSource::Client::Init(
    mojo::PendingRemote<mojom::PowerMonitor> remote_monitor) {}

void PowerMonitorBroadcastSource::Client::PowerStateChange(
    bool on_battery_power) {}

void PowerMonitorBroadcastSource::Client::Suspend() {}

void PowerMonitorBroadcastSource::Client::Resume() {}

}  // namespace device