chromium/storage/browser/test/fake_blob.cc

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

#include "storage/browser/test/fake_blob.h"

#include "mojo/public/cpp/bindings/self_owned_receiver.h"

namespace storage {

FakeBlob::FakeBlob(const std::string& uuid) :{}

mojo::PendingRemote<blink::mojom::Blob> FakeBlob::Clone() {}

void FakeBlob::Clone(mojo::PendingReceiver<blink::mojom::Blob> receiver) {}

void FakeBlob::AsDataPipeGetter(
    mojo::PendingReceiver<network::mojom::DataPipeGetter>) {}

void FakeBlob::ReadRange(uint64_t offset,
                         uint64_t size,
                         mojo::ScopedDataPipeProducerHandle,
                         mojo::PendingRemote<blink::mojom::BlobReaderClient>) {}

void FakeBlob::ReadAll(mojo::ScopedDataPipeProducerHandle,
                       mojo::PendingRemote<blink::mojom::BlobReaderClient>) {}

void FakeBlob::Load(mojo::PendingReceiver<network::mojom::URLLoader>,
                    const std::string& method,
                    const net::HttpRequestHeaders&,
                    mojo::PendingRemote<network::mojom::URLLoaderClient>) {}

void FakeBlob::ReadSideData(ReadSideDataCallback) {}

void FakeBlob::CaptureSnapshot(CaptureSnapshotCallback) {}

void FakeBlob::GetInternalUUID(GetInternalUUIDCallback callback) {}

}  // namespace storage