chromium/third_party/blink/renderer/platform/media/multi_buffer_reader.cc

// Copyright 2015 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/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/platform/media/multi_buffer_reader.h"

#include <stddef.h>

#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/location.h"
#include "base/task/single_thread_task_runner.h"
#include "net/base/net_errors.h"

namespace blink {

MultiBufferReader::MultiBufferReader(
    MultiBuffer* multibuffer,
    int64_t start,
    int64_t end,
    bool is_client_audio_element,
    base::RepeatingCallback<void(int64_t, int64_t)> progress_callback,
    scoped_refptr<base::SingleThreadTaskRunner> task_runner)
    :{}

MultiBufferReader::~MultiBufferReader() {}

void MultiBufferReader::Seek(int64_t pos) {}

void MultiBufferReader::SetMaxBuffer(int64_t buffer_size) {}

void MultiBufferReader::SetPinRange(int64_t backward, int64_t forward) {}

int64_t MultiBufferReader::AvailableAt(int64_t pos) const {}

int64_t MultiBufferReader::TryReadAt(int64_t pos, uint8_t* data, int64_t len) {}

int64_t MultiBufferReader::TryRead(uint8_t* data, int64_t len) {}

int MultiBufferReader::Wait(int64_t len, base::OnceClosure cb) {}

void MultiBufferReader::SetPreload(int64_t preload_high, int64_t preload_low) {}

bool MultiBufferReader::IsLoading() const {}

void MultiBufferReader::CheckWait() {}

void MultiBufferReader::Call(base::OnceClosure cb) const {}

void MultiBufferReader::UpdateEnd(MultiBufferBlockId p) {}

void MultiBufferReader::NotifyAvailableRange(
    const Interval<MultiBufferBlockId>& range) {}

void MultiBufferReader::UpdateInternalState() {}

void MultiBufferReader::PinRange(MultiBuffer::BlockId begin,
                                 MultiBuffer::BlockId end) {}

}  // namespace blink