#include "components/download/public/common/input_stream.h"
namespace download {
InputStream::~InputStream() = default;
void InputStream::Initialize() { … }
bool InputStream::IsEmpty() { … }
void InputStream::RegisterDataReadyCallback(
const mojo::SimpleWatcher::ReadyCallback& callback) { … }
void InputStream::ClearDataReadyCallback() { … }
void InputStream::RegisterCompletionCallback(base::OnceClosure callback) { … }
InputStream::StreamState InputStream::Read(scoped_refptr<net::IOBuffer>* data,
size_t* length) { … }
DownloadInterruptReason InputStream::GetCompletionStatus() { … }
}