chromium/net/socket/read_buffering_stream_socket.cc

// Copyright 2020 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/socket/read_buffering_stream_socket.h"

#include <algorithm>

#include "base/check_op.h"
#include "base/notreached.h"
#include "net/base/io_buffer.h"

namespace net {

ReadBufferingStreamSocket::ReadBufferingStreamSocket(
    std::unique_ptr<StreamSocket> transport)
    :{}

ReadBufferingStreamSocket::~ReadBufferingStreamSocket() = default;

void ReadBufferingStreamSocket::BufferNextRead(int size) {}

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

int ReadBufferingStreamSocket::ReadIfReady(IOBuffer* buf,
                                           int buf_len,
                                           CompletionOnceCallback callback) {}

int ReadBufferingStreamSocket::DoLoop(int result) {}

int ReadBufferingStreamSocket::DoRead() {}

int ReadBufferingStreamSocket::DoReadComplete(int result) {}

void ReadBufferingStreamSocket::OnReadCompleted(int result) {}

int ReadBufferingStreamSocket::CopyToCaller(IOBuffer* buf, int buf_len) {}

}  // namespace net