chromium/media/mojo/services/webrtc_video_perf_recorder.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "media/mojo/services/webrtc_video_perf_recorder.h"

#include "base/functional/callback.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"

namespace media {
namespace {
constexpr int EncodeOrDecodeIndex(bool is_decode) {}
}  // namespace

// static
void WebrtcVideoPerfRecorder::Create(
    media::WebrtcVideoPerfHistory* webrtc_video_perf_history,
    mojo::PendingReceiver<media::mojom::WebrtcVideoPerfRecorder> receiver) {}

WebrtcVideoPerfRecorder::WebrtcVideoPerfRecorder(
    WebrtcVideoPerfHistory::SaveCallback save_cb)
    :{}

WebrtcVideoPerfRecorder::~WebrtcVideoPerfRecorder() {}

void WebrtcVideoPerfRecorder::UpdateRecord(
    media::mojom::WebrtcPredictionFeaturesPtr features,
    media::mojom::WebrtcVideoStatsPtr video_stats) {}

void WebrtcVideoPerfRecorder::StartNewRecord(
    media::mojom::WebrtcPredictionFeaturesPtr features) {}

void WebrtcVideoPerfRecorder::FinalizeRecord(int encode_or_decode_index) {}

}  // namespace media