// 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. #ifndef COMPONENTS_DOWNLOAD_INTERNAL_BACKGROUND_SERVICE_SCHEDULER_DEVICE_STATUS_H_ #define COMPONENTS_DOWNLOAD_INTERNAL_BACKGROUND_SERVICE_SCHEDULER_DEVICE_STATUS_H_ #include "components/download/public/background_service/download_params.h" namespace download { // Battery status used in download service. enum class BatteryStatus { … }; // NetworkStatus should mostly one to one map to // SchedulingParams::NetworkRequirements. Has coarser granularity than // network connection type. enum class NetworkStatus { … }; // Contains battery and network status. struct DeviceStatus { … }; // The criteria when the background download task should start. struct Criteria { … }; } // namespace download #endif // COMPONENTS_DOWNLOAD_INTERNAL_BACKGROUND_SERVICE_SCHEDULER_DEVICE_STATUS_H_