chromium/chrome/browser/battery/battery_metrics.cc

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

#include "chrome/browser/battery/battery_metrics.h"

#include <cmath>
#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/metrics/histogram_macros.h"
#include "base/no_destructor.h"
#include "build/build_config.h"
#include "content/public/browser/device_service.h"
#include "services/device/public/mojom/battery_status.mojom.h"

namespace {

BatteryMetrics::BatteryMonitorBinder& GetBinderOverride() {}

}  // namespace

BatteryMetrics::BatteryMetrics() {}

BatteryMetrics::~BatteryMetrics() = default;

// static
void BatteryMetrics::OverrideBatteryMonitorBinderForTesting(
    BatteryMonitorBinder binder) {}

void BatteryMetrics::QueryNextStatus() {}

void BatteryMetrics::StartRecording() {}

void BatteryMetrics::DidChange(device::mojom::BatteryStatusPtr battery_status) {}

void BatteryMetrics::RecordBatteryDropUMA(
    const device::mojom::BatteryStatus& battery_status) {}