#include "third_party/blink/renderer/modules/peerconnection/webrtc_video_perf_reporter.h"
#include "base/check.h"
#include "base/task/single_thread_task_runner.h"
#include "media/base/video_codecs.h"
#include "third_party/blink/renderer/platform/heap/cross_thread_handle.h"
namespace blink {
WebrtcVideoPerfReporter::WebrtcVideoPerfReporter(
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
ContextLifecycleNotifier* notifier,
mojo::PendingRemote<media::mojom::blink::WebrtcVideoPerfRecorder>
perf_recorder)
: … { … }
void WebrtcVideoPerfReporter::StoreWebrtcVideoStats(
const StatsCollector::StatsKey& stats_key,
const StatsCollector::VideoStats& video_stats) { … }
void WebrtcVideoPerfReporter::StoreWebrtcVideoStatsOnTaskRunner(
const StatsCollector::StatsKey& stats_key,
const StatsCollector::VideoStats& video_stats) { … }
}