// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_POWER_MONITOR_BATTERY_LEVEL_PROVIDER_H_ #define BASE_POWER_MONITOR_BATTERY_LEVEL_PROVIDER_H_ #include <stdint.h> #include <memory> #include <optional> #include <vector> #include "base/functional/callback.h" #include "base/time/time.h" #include "build/build_config.h" namespace base { // BatteryLevelProvider provides an interface for querying battery state. // A platform specific implementation is obtained with // BatteryLevelProvider::Create(). class BASE_EXPORT BatteryLevelProvider { … }; } // namespace base #endif // BASE_POWER_MONITOR_BATTERY_LEVEL_PROVIDER_H_