chromium/net/base/upload_data_stream.cc

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

#include "net/base/upload_data_stream.h"

#include "base/check_op.h"
#include "base/values.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
#include "net/log/net_log_event_type.h"

namespace net {

namespace {

base::Value::Dict NetLogInitEndInfoParams(int result,
                                          int total_size,
                                          bool is_chunked) {}

base::Value::Dict CreateReadInfoParams(int current_position) {}

}  // namespace

UploadDataStream::UploadDataStream(bool is_chunked, int64_t identifier)
    :{}
UploadDataStream::UploadDataStream(bool is_chunked,
                                   bool has_null_source,
                                   int64_t identifier)
    :{}

UploadDataStream::~UploadDataStream() = default;

int UploadDataStream::Init(CompletionOnceCallback callback,
                           const NetLogWithSource& net_log) {}

int UploadDataStream::Read(IOBuffer* buf,
                           int buf_len,
                           CompletionOnceCallback callback) {}

bool UploadDataStream::IsEOF() const {}

void UploadDataStream::Reset() {}

void UploadDataStream::SetSize(uint64_t size) {}

void UploadDataStream::SetIsFinalChunk() {}

bool UploadDataStream::IsInMemory() const {}

const std::vector<std::unique_ptr<UploadElementReader>>*
UploadDataStream::GetElementReaders() const {}

void UploadDataStream::OnInitCompleted(int result) {}

void UploadDataStream::OnReadCompleted(int result) {}

UploadProgress UploadDataStream::GetUploadProgress() const {}

bool UploadDataStream::AllowHTTP1() const {}

}  // namespace net