chromium/third_party/blink/renderer/platform/media/power_status_helper.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 "third_party/blink/renderer/platform/media/power_status_helper.h"

#include <utility>

#include "base/check.h"
#include "base/check_op.h"
#include "base/metrics/histogram_macros.h"
#include "media/base/pipeline_metadata.h"
#include "services/device/public/mojom/battery_status.mojom-blink.h"

namespace blink {
PowerStatusHelper::PowerStatusHelper(
    CreateBatteryMonitorCB create_battery_monitor_cb)
    :{}

PowerStatusHelper::~PowerStatusHelper() = default;

// static
std::optional<int> PowerStatusHelper::BucketFor(
    bool is_playing,
    bool has_video,
    media::VideoCodec codec,
    media::VideoCodecProfile profile,
    gfx::Size natural_size,
    bool is_fullscreen,
    std::optional<int> average_fps) {}

void PowerStatusHelper::SetIsPlaying(bool is_playing) {}

void PowerStatusHelper::SetMetadata(const media::PipelineMetadata& metadata) {}

void PowerStatusHelper::SetIsFullscreen(bool is_fullscreen) {}

void PowerStatusHelper::SetAverageFrameRate(std::optional<int> average_fps) {}

void PowerStatusHelper::UpdatePowerExperimentState(bool state) {}

void PowerStatusHelper::OnAnyStateChange() {}

void PowerStatusHelper::OnBatteryStatus(
    device::mojom::blink::BatteryStatusPtr battery_status) {}

void PowerStatusHelper::StartMonitoring() {}

void PowerStatusHelper::StopMonitoring() {}

void PowerStatusHelper::QueryNextStatus() {}

}  // namespace blink