chromium/third_party/ipcz/src/ipcz/parcel.cc

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

#include "ipcz/parcel.h"

#include <cctype>
#include <cstddef>
#include <cstdint>
#include <sstream>
#include <string>
#include <utility>

#include "ipcz/node_link.h"
#include "ipcz/node_link_memory.h"
#include "third_party/abseil-cpp/absl/base/macros.h"
#include "third_party/abseil-cpp/absl/types/span.h"

namespace ipcz {

Parcel::Parcel() = default;

Parcel::Parcel(SequenceNumber sequence_number)
    :{}

Parcel::~Parcel() {}

void Parcel::SetDataFromMessage(Message::ReceivedDataBuffer buffer,
                                absl::Span<uint8_t> data_view) {}

void Parcel::AllocateData(size_t num_bytes,
                          bool allow_partial,
                          NodeLinkMemory* memory) {}

bool Parcel::AdoptDataFragment(Ref<NodeLinkMemory> memory,
                               const Fragment& fragment) {}

void Parcel::SetObjects(std::vector<Ref<APIObject>> objects) {}

void Parcel::CommitData(size_t num_bytes) {}

void Parcel::ReleaseDataFragment() {}

void Parcel::ConsumeHandles(absl::Span<IpczHandle> out_handles) {}

std::string Parcel::Describe() const {}

Parcel::DataFragment::~DataFragment() {}

Fragment Parcel::DataFragment::release() {}

void Parcel::DataFragment::reset() {}

}  // namespace ipcz