chromium/net/server/http_connection.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.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40284755): Remove this and spanify to fix the errors.
#pragma allow_unsafe_buffers
#endif

#include "net/server/http_connection.h"

#include <utility>

#include "base/logging.h"
#include "net/server/web_socket.h"
#include "net/socket/stream_socket.h"

namespace net {

HttpConnection::ReadIOBuffer::ReadIOBuffer()
    :{}

HttpConnection::ReadIOBuffer::~ReadIOBuffer() {}

int HttpConnection::ReadIOBuffer::GetCapacity() const {}

void HttpConnection::ReadIOBuffer::SetCapacity(int capacity) {}

bool HttpConnection::ReadIOBuffer::IncreaseCapacity() {}

char* HttpConnection::ReadIOBuffer::StartOfBuffer() const {}

int HttpConnection::ReadIOBuffer::GetSize() const {}

void HttpConnection::ReadIOBuffer::DidRead(int bytes) {}

int HttpConnection::ReadIOBuffer::RemainingCapacity() const {}

void HttpConnection::ReadIOBuffer::DidConsume(int bytes) {}

HttpConnection::QueuedWriteIOBuffer::QueuedWriteIOBuffer() = default;

HttpConnection::QueuedWriteIOBuffer::~QueuedWriteIOBuffer() {}

bool HttpConnection::QueuedWriteIOBuffer::IsEmpty() const {}

bool HttpConnection::QueuedWriteIOBuffer::Append(const std::string& data) {}

void HttpConnection::QueuedWriteIOBuffer::DidConsume(int size) {}

int HttpConnection::QueuedWriteIOBuffer::GetSizeToWrite() const {}

HttpConnection::HttpConnection(int id, std::unique_ptr<StreamSocket> socket)
    :{}

HttpConnection::~HttpConnection() = default;

void HttpConnection::SetWebSocket(std::unique_ptr<WebSocket> web_socket) {}

}  // namespace net