chromium/media/filters/blocking_url_protocol.cc

// Copyright 2012 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/filters/blocking_url_protocol.h"

#include <stddef.h>

#include "base/functional/bind.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/thread_restrictions.h"
#include "media/base/data_source.h"
#include "media/ffmpeg/ffmpeg_common.h"

namespace media {

BlockingUrlProtocol::BlockingUrlProtocol(DataSource* data_source,
                                         const base::RepeatingClosure& error_cb)
    :{}

BlockingUrlProtocol::~BlockingUrlProtocol() = default;

void BlockingUrlProtocol::Abort() {}

int BlockingUrlProtocol::Read(int size, uint8_t* data) {}

bool BlockingUrlProtocol::GetPosition(int64_t* position_out) {}

bool BlockingUrlProtocol::SetPosition(int64_t position) {}

bool BlockingUrlProtocol::GetSize(int64_t* size_out) {}

bool BlockingUrlProtocol::IsStreaming() {}

void BlockingUrlProtocol::SignalReadCompleted(int size) {}

}  // namespace media