#include "services/network/throttling/throttling_upload_data_stream.h"
#include "base/functional/bind.h"
#include "net/base/net_errors.h"
namespace network {
ThrottlingUploadDataStream::ThrottlingUploadDataStream(
net::UploadDataStream* upload_data_stream)
: … { … }
ThrottlingUploadDataStream::~ThrottlingUploadDataStream() { … }
void ThrottlingUploadDataStream::SetInterceptor(
ThrottlingNetworkInterceptor* interceptor) { … }
bool ThrottlingUploadDataStream::IsInMemory() const { … }
int ThrottlingUploadDataStream::InitInternal(
const net::NetLogWithSource& net_log) { … }
void ThrottlingUploadDataStream::StreamInitCallback(int result) { … }
int ThrottlingUploadDataStream::ReadInternal(net::IOBuffer* buf, int buf_len) { … }
void ThrottlingUploadDataStream::StreamReadCallback(int result) { … }
int ThrottlingUploadDataStream::ThrottleRead(int result) { … }
void ThrottlingUploadDataStream::ThrottleCallback(int result, int64_t bytes) { … }
void ThrottlingUploadDataStream::ResetInternal() { … }
}