#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) { … }
DriverObject DriverObject::Deserialize(
const DriverTransport& transport,
absl::Span<const uint8_t> data,
absl::Span<const IpczDriverHandle> handles) { … }
}