chromium/media/filters/file_data_source.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/file_data_source.h"

#include <algorithm>
#include <utility>

#include "base/check_op.h"
#include "base/functional/callback.h"

namespace media {

FileDataSource::FileDataSource()
    :{}

bool FileDataSource::Initialize(const base::FilePath& file_path) {}

bool FileDataSource::Initialize(base::File file) {}

void FileDataSource::Stop() {}

void FileDataSource::Abort() {}

void FileDataSource::Read(int64_t position,
                          int size,
                          uint8_t* data,
                          DataSource::ReadCB read_cb) {}

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

bool FileDataSource::IsStreaming() {}

void FileDataSource::SetBitrate(int bitrate) {}

FileDataSource::~FileDataSource() = default;

bool FileDataSource::PassedTimingAllowOriginCheck() {}

bool FileDataSource::WouldTaintOrigin() {}

}  // namespace media