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

#include <cstdint>

#include "ipcz/driver_memory_mapping.h"
#include "ipcz/fragment_descriptor.h"
#include "third_party/abseil-cpp/absl/base/macros.h"
#include "util/safe_math.h"

namespace ipcz {

// static
Fragment Fragment::MappedFromDescriptor(const FragmentDescriptor& descriptor,
                                        DriverMemoryMapping& mapping) {}

// static
Fragment Fragment::PendingFromDescriptor(const FragmentDescriptor& descriptor) {}

// static
Fragment Fragment::FromDescriptorUnsafe(const FragmentDescriptor& descriptor,
                                        void* base_address) {}

Fragment::Fragment(const FragmentDescriptor& descriptor, void* address)
    :{}

Fragment::Fragment(const Fragment&) = default;

Fragment& Fragment::operator=(const Fragment&) = default;

}  // namespace ipcz