chromium/third_party/ipcz/src/ipcz/parcel_wrapper.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_wrapper.h"

#include "ipcz/driver_object.h"
#include "ipcz/driver_transport.h"
#include "ipcz/ipcz.h"
#include "ipcz/node.h"
#include "ipcz/node_link.h"
#include "util/ref_counted.h"

namespace ipcz {

ParcelWrapper::ParcelWrapper(std::unique_ptr<Parcel> parcel)
    :{}

ParcelWrapper::~ParcelWrapper() = default;

IpczResult ParcelWrapper::Close() {}

IpczResult ParcelWrapper::Reject(uintptr_t context) {}

IpczResult ParcelWrapper::Get(IpczGetFlags flags,
                              void* data,
                              size_t* num_bytes,
                              IpczHandle* handles,
                              size_t* num_handles,
                              IpczHandle* parcel) {}

IpczResult ParcelWrapper::BeginGet(IpczBeginGetFlags flags,
                                   const volatile void** data,
                                   size_t* num_data_bytes,
                                   IpczHandle* handles,
                                   size_t* num_handles,
                                   IpczTransaction* transaction) {}

IpczResult ParcelWrapper::EndGet(IpczTransaction transaction,
                                 IpczEndGetFlags flags,
                                 IpczHandle* parcel) {}

}  // namespace ipcz