#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"
void BlobReader::Read(mojo::PendingRemote<blink::mojom::Blob> blob,
BlobReadCallback callback,
uint64_t offset,
uint64_t length) { … }
void BlobReader::Read(mojo::PendingRemote<blink::mojom::Blob> blob,
BlobReadCallback callback) { … }
BlobReader::~BlobReader() { … }
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() { … }