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

#include "third_party/abseil-cpp/absl/synchronization/mutex.h"
#include "util/log.h"
#include "util/safe_math.h"

namespace ipcz {

BlockAllocatorPool::BlockAllocatorPool() = default;

BlockAllocatorPool::~BlockAllocatorPool() = default;

size_t BlockAllocatorPool::GetCapacity() {}

bool BlockAllocatorPool::Add(BufferId buffer_id,
                             absl::Span<uint8_t> buffer_memory,
                             const BlockAllocator& allocator) {}

Fragment BlockAllocatorPool::Allocate() {}

bool BlockAllocatorPool::Free(const Fragment& fragment) {}

BlockAllocatorPool::Entry::Entry(BufferId buffer_id,
                                 absl::Span<uint8_t> buffer_memory,
                                 const BlockAllocator& allocator)
    :{}

BlockAllocatorPool::Entry::~Entry() = default;

}  // namespace ipcz