chromium/third_party/ipcz/src/ipcz/fragment.h

// 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.

#ifndef IPCZ_SRC_IPCZ_FRAGMENT_H_
#define IPCZ_SRC_IPCZ_FRAGMENT_H_

#include <cstdint>

#include "ipcz/buffer_id.h"
#include "ipcz/fragment_descriptor.h"
#include "third_party/abseil-cpp/absl/base/macros.h"
#include "third_party/abseil-cpp/absl/types/span.h"

namespace ipcz {

class DriverMemoryMapping;

// Represents a span of memory located within the shared memory regions owned by
// a NodeLinkMemory, via BufferPool. This is essentially a FragmentDescriptor
// plus the actual mapped address of the given buffer and offset.
struct Fragment {};

}  // namespace ipcz

#endif  // IPCZ_SRC_IPCZ_FRAGMENT_H_