// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/power_monitor/battery_level_provider.h" #include "base/power_monitor/power_monitor_buildflags.h" #include "base/ranges/algorithm.h" namespace base { #if !BUILDFLAG(HAS_BATTERY_LEVEL_PROVIDER_IMPL) std::unique_ptr<BatteryLevelProvider> BatteryLevelProvider::Create() { … } #endif BatteryLevelProvider::BatteryState BatteryLevelProvider::MakeBatteryState( const std::vector<BatteryDetails>& battery_details) { … } } // namespace base