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

#include <algorithm>
#include <cstdint>
#include <limits>
#include <utility>

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

namespace ipcz {

DriverMemory::DriverMemory() = default;

DriverMemory::DriverMemory(DriverObject memory) :{}

DriverMemory::DriverMemory(const IpczDriver& driver, size_t num_bytes)
    :{}

DriverMemory::DriverMemory(DriverMemory&& other) = default;

DriverMemory& DriverMemory::operator=(DriverMemory&& other) = default;

DriverMemory::~DriverMemory() = default;

DriverMemory DriverMemory::Clone() {}

DriverMemoryMapping DriverMemory::Map() {}

DriverMemoryWithMapping::DriverMemoryWithMapping() = default;

DriverMemoryWithMapping::DriverMemoryWithMapping(DriverMemory memory,
                                                 DriverMemoryMapping mapping)
    :{}

DriverMemoryWithMapping::DriverMemoryWithMapping(DriverMemoryWithMapping&&) =
    default;

DriverMemoryWithMapping& DriverMemoryWithMapping::operator=(
    DriverMemoryWithMapping&&) = default;

DriverMemoryWithMapping::~DriverMemoryWithMapping() = default;

}  // namespace ipcz