chromium/media/remoting/fake_media_resource.cc

// Copyright 2016 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/remoting/fake_media_resource.h"

#include <vector>

#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "media/base/decoder_buffer.h"
#include "media/base/media_util.h"
#include "testing/gtest/include/gtest/gtest.h"

_;
Invoke;
Return;

namespace media {
namespace remoting {

FakeDemuxerStream::FakeDemuxerStream(bool is_audio) {}

FakeDemuxerStream::~FakeDemuxerStream() = default;

// Only return one buffer at a time so we ignore the count.
void FakeDemuxerStream::FakeRead(uint32_t /*count*/, ReadCB read_cb) {}

AudioDecoderConfig FakeDemuxerStream::audio_decoder_config() {}

VideoDecoderConfig FakeDemuxerStream::video_decoder_config() {}

DemuxerStream::Type FakeDemuxerStream::type() const {}

StreamLiveness FakeDemuxerStream::liveness() const {}

bool FakeDemuxerStream::SupportsConfigChanges() {}

void FakeDemuxerStream::CreateFakeFrame(size_t size,
                                        bool key_frame,
                                        int pts_ms) {}

FakeMediaResource::FakeMediaResource()
    :{}

FakeMediaResource::~FakeMediaResource() = default;

std::vector<DemuxerStream*> FakeMediaResource::GetAllStreams() {}

}  // namespace remoting
}  // namespace media