chromium/third_party/blink/renderer/modules/peerconnection/thermal_uma_listener.cc

// 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.

#include "third_party/blink/renderer/modules/peerconnection/thermal_uma_listener.h"

#include <memory>
#include <utility>

#include "base/memory/scoped_refptr.h"
#include "base/metrics/histogram_macros.h"
#include "base/notreached.h"
#include "base/task/sequenced_task_runner.h"
#include "third_party/blink/public/mojom/peerconnection/peer_connection_tracker.mojom-blink.h"

namespace blink {

namespace {

const base::TimeDelta kStatsReportingPeriod =;

enum class ThermalStateUMA {};

ThermalStateUMA ToThermalStateUMA(mojom::blink::DeviceThermalState state) {}

}  // namespace

// static
std::unique_ptr<ThermalUmaListener> ThermalUmaListener::Create(
    scoped_refptr<base::SequencedTaskRunner> task_runner) {}

ThermalUmaListener::ThermalUmaListener(
    scoped_refptr<base::SequencedTaskRunner> task_runner)
    :{}

void ThermalUmaListener::OnThermalMeasurement(
    mojom::blink::DeviceThermalState measurement) {}

void ThermalUmaListener::ScheduleReport() {}

void ThermalUmaListener::ReportStats() {}

}  // namespace blink