chromium/media/cast/openscreen/decoder_buffer_reader.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.

#include "media/cast/openscreen/decoder_buffer_reader.h"

#include "base/functional/bind.h"

namespace media::cast {

DecoderBufferReader::DecoderBufferReader(
    NewBufferCb new_buffer_cb,
    mojo::ScopedDataPipeConsumerHandle data_pipe)
    :{}

DecoderBufferReader::DecoderBufferReader(
    DecoderBufferReader&& other,
    mojo::ScopedDataPipeConsumerHandle data_pipe)
    :{}

DecoderBufferReader::~DecoderBufferReader() = default;

void DecoderBufferReader::ProvideBuffer(media::mojom::DecoderBufferPtr buffer) {}

void DecoderBufferReader::ClearReadPending() {}

void DecoderBufferReader::ReadBufferAsync() {}

void DecoderBufferReader::CompletePendingRead() {}

void DecoderBufferReader::TryGetNextBuffer() {}

void DecoderBufferReader::OnBufferReadFromDataPipe(
    scoped_refptr<media::DecoderBuffer> buffer) {}

}  // namespace media::cast