chromium/media/formats/common/stream_parser_test_base.cc

// Copyright 2014 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/formats/common/stream_parser_test_base.h"

#include <memory>
#include <utility>

#include "base/functional/bind.h"
#include "media/base/media_log.h"
#include "media/base/media_track.h"
#include "media/base/media_tracks.h"
#include "media/base/stream_parser.h"
#include "media/base/test_data_util.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace media {

static std::string BufferQueueToString(
    const StreamParser::BufferQueue& buffers) {}

StreamParserTestBase::StreamParserTestBase(
    std::unique_ptr<StreamParser> stream_parser)
    :{}

StreamParserTestBase::~StreamParserTestBase() = default;

std::string StreamParserTestBase::ParseFile(const std::string& filename,
                                            int append_bytes) {}

std::string StreamParserTestBase::ParseData(base::span<const uint8_t> data) {}

bool StreamParserTestBase::AppendAllDataThenParseInPieces(
    base::span<const uint8_t> data,
    size_t piece_size) {}

void StreamParserTestBase::OnInitDone(
    const StreamParser::InitParameters& params) {}

bool StreamParserTestBase::OnNewConfig(std::unique_ptr<MediaTracks> tracks) {}

bool StreamParserTestBase::OnNewBuffers(
    const StreamParser::BufferQueueMap& buffer_queue_map) {}

void StreamParserTestBase::OnKeyNeeded(EmeInitDataType type,
                                       const std::vector<uint8_t>& init_data) {}

void StreamParserTestBase::OnNewSegment() {}

void StreamParserTestBase::OnEndOfSegment() {}

}  // namespace media