#include "storage/browser/test/fake_blob_data_handle.h"
#include "base/containers/span.h"
#include "base/functional/bind.h"
#include "base/numerics/safe_conversions.h"
#include "net/base/net_errors.h"
namespace storage {
FakeBlobDataHandle::FakeBlobDataHandle(std::string body_data,
std::string side_data)
: … { … }
uint64_t FakeBlobDataHandle::GetSize() const { … }
void FakeBlobDataHandle::Read(mojo::ScopedDataPipeProducerHandle producer,
uint64_t src_offset,
uint64_t bytes_to_read,
base::OnceCallback<void(int)> callback) { … }
uint64_t FakeBlobDataHandle::GetSideDataSize() const { … }
void FakeBlobDataHandle::ReadSideData(
base::OnceCallback<void(int, mojo_base::BigBuffer)> callback) { … }
FakeBlobDataHandle::~FakeBlobDataHandle() = default;
}