chromium/components/download/internal/background_service/scheduler/device_status_listener.cc

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

#include "components/download/internal/background_service/scheduler/device_status_listener.h"
#include "base/functional/bind.h"
#include "build/build_config.h"

namespace download {

namespace {

// Converts |on_battery_power| to battery status.
BatteryStatus ToBatteryStatus(bool on_battery_power) {}

// Converts a ConnectionType to NetworkStatus.
NetworkStatus ToNetworkStatus(network::mojom::ConnectionType type) {}

}  // namespace

DeviceStatusListener::DeviceStatusListener(
    const base::TimeDelta& startup_delay,
    const base::TimeDelta& online_delay,
    std::unique_ptr<BatteryStatusListener> battery_listener,
    std::unique_ptr<NetworkStatusListener> network_listener)
    :{}

DeviceStatusListener::~DeviceStatusListener() {}

const DeviceStatus& DeviceStatusListener::CurrentDeviceStatus() {}

void DeviceStatusListener::SetObserver(
    DeviceStatusListener::Observer* observer) {}

void DeviceStatusListener::Start(const base::TimeDelta& start_delay) {}

void DeviceStatusListener::StartAfterDelay() {}

void DeviceStatusListener::Stop() {}

void DeviceStatusListener::OnNetworkStatusReady(
    network::mojom::ConnectionType type) {}

void DeviceStatusListener::OnNetworkChanged(
    network::mojom::ConnectionType type) {}

void DeviceStatusListener::OnPowerStateChange(bool on_battery_power) {}

void DeviceStatusListener::NotifyStatusChange() {}

void DeviceStatusListener::NotifyNetworkChange() {}

}  // namespace download