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

#include <cstdint>
#include <tuple>
#include <utility>
#include <vector>

#include "ipcz/driver_transport.h"
#include "ipcz/ipcz.h"
#include "third_party/abseil-cpp/absl/base/macros.h"
#include "third_party/abseil-cpp/absl/container/inlined_vector.h"

namespace ipcz {

DriverObject::DriverObject() = default;

DriverObject::DriverObject(const IpczDriver& driver, IpczDriverHandle handle)
    :{}

DriverObject::DriverObject(DriverObject&& other)
    :{}

DriverObject& DriverObject::operator=(DriverObject&& other) {}

DriverObject::~DriverObject() {}

void DriverObject::reset() {}

IpczDriverHandle DriverObject::release() {}

bool DriverObject::IsSerializable() const {}

bool DriverObject::CanTransmitOn(const DriverTransport& transport) const {}

DriverObject::SerializedDimensions DriverObject::GetSerializedDimensions(
    const DriverTransport& transport) const {}

bool DriverObject::Serialize(const DriverTransport& transport,
                             absl::Span<uint8_t> data,
                             absl::Span<IpczDriverHandle> handles) {}

// static
DriverObject DriverObject::Deserialize(
    const DriverTransport& transport,
    absl::Span<const uint8_t> data,
    absl::Span<const IpczDriverHandle> handles) {}

}  // namespace ipcz