chromium/components/download/internal/common/stream_handle_input_stream.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 "components/download/public/common/stream_handle_input_stream.h"

#include "base/containers/span.h"
#include "base/functional/bind.h"
#include "base/numerics/safe_conversions.h"
#include "components/download/public/common/download_interrupt_reasons_utils.h"
#include "components/download/public/common/download_stats.h"
#include "components/download/public/common/download_utils.h"
#include "mojo/public/c/system/types.h"

namespace download {

StreamHandleInputStream::StreamHandleInputStream(
    mojom::DownloadStreamHandlePtr stream_handle)
    :{}

StreamHandleInputStream::~StreamHandleInputStream() = default;

void StreamHandleInputStream::Initialize() {}

bool StreamHandleInputStream::IsEmpty() {}

void StreamHandleInputStream::RegisterDataReadyCallback(
    const mojo::SimpleWatcher::ReadyCallback& callback) {}

void StreamHandleInputStream::ClearDataReadyCallback() {}

void StreamHandleInputStream::RegisterCompletionCallback(
    base::OnceClosure callback) {}

InputStream::StreamState StreamHandleInputStream::Read(
    scoped_refptr<net::IOBuffer>* data,
    size_t* length) {}

DownloadInterruptReason StreamHandleInputStream::GetCompletionStatus() {}

void StreamHandleInputStream::OnStreamCompleted(
    mojom::NetworkRequestStatus status) {}

}  // namespace download