#include "components/download/internal/background_service/test/test_device_status_listener.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "components/download/internal/background_service/scheduler/battery_status_listener_impl.h"
#include "components/download/network/network_status_listener_impl.h"
#include "services/network/test/test_network_connection_tracker.h"
namespace download {
namespace test {
class FakeBatteryStatusListener : public BatteryStatusListenerImpl { … };
TestDeviceStatusListener::TestDeviceStatusListener()
: … { … }
TestDeviceStatusListener::~TestDeviceStatusListener() { … }
void TestDeviceStatusListener::NotifyObserver(
const DeviceStatus& device_status) { … }
void TestDeviceStatusListener::SetDeviceStatus(const DeviceStatus& status) { … }
void TestDeviceStatusListener::Start(const base::TimeDelta& start_delay) { … }
void TestDeviceStatusListener::StartAfterDelay() { … }
void TestDeviceStatusListener::Stop() { … }
}
}