chromium/chrome/services/media_gallery_util/ipc_data_source.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 "chrome/services/media_gallery_util/ipc_data_source.h"

#include "base/functional/bind.h"
#include "base/ranges/algorithm.h"
#include "base/task/single_thread_task_runner.h"

IPCDataSource::IPCDataSource(
    mojo::PendingRemote<chrome::mojom::MediaDataSource> media_data_source,
    int64_t total_size)
    :{}

IPCDataSource::~IPCDataSource() {}

void IPCDataSource::Stop() {}

void IPCDataSource::Abort() {}

void IPCDataSource::Read(int64_t position,
                         int size,
                         uint8_t* destination,
                         DataSource::ReadCB callback) {}

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

bool IPCDataSource::IsStreaming() {}

void IPCDataSource::SetBitrate(int bitrate) {}

void IPCDataSource::ReadMediaData(uint8_t* destination,
                                  DataSource::ReadCB callback,
                                  int64_t position,
                                  int size) {}

void IPCDataSource::ReadDone(uint8_t* destination,
                             DataSource::ReadCB callback,
                             const std::vector<uint8_t>& data) {}

bool IPCDataSource::PassedTimingAllowOriginCheck() {}

bool IPCDataSource::WouldTaintOrigin() {}