chromium/extensions/browser/blob_reader.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "extensions/browser/blob_reader.h"

#include <limits>
#include <utility>

#include "base/containers/span.h"
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "content/public/browser/browser_thread.h"

// static
void BlobReader::Read(mojo::PendingRemote<blink::mojom::Blob> blob,
                      BlobReadCallback callback,
                      uint64_t offset,
                      uint64_t length) {}

// static
void BlobReader::Read(mojo::PendingRemote<blink::mojom::Blob> blob,
                      BlobReadCallback callback) {}

BlobReader::~BlobReader() {}

// static
void BlobReader::Read(mojo::PendingRemote<blink::mojom::Blob> blob,
                      BlobReadCallback callback,
                      std::optional<BlobReader::Range> range) {}

BlobReader::BlobReader(mojo::PendingRemote<blink::mojom::Blob> blob,
                       std::optional<Range> range)
    :{}

void BlobReader::Start(base::OnceClosure callback) {}

void BlobReader::OnCalculatedSize(uint64_t total_size,
                                  uint64_t expected_content_size) {}

void BlobReader::OnDataAvailable(base::span<const uint8_t> data) {}

void BlobReader::OnDataComplete() {}

void BlobReader::Failed() {}

void BlobReader::Succeeded() {}