// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef PARTITION_ALLOC_INTERNAL_ALLOCATOR_H_ #define PARTITION_ALLOC_INTERNAL_ALLOCATOR_H_ #include <new> #include <type_traits> #include "partition_alloc/internal_allocator_forward.h" #include "partition_alloc/partition_alloc_base/component_export.h" #include "partition_alloc/partition_root.h" // Internal Allocator can be used to get heap allocations required to // implement PartitionAlloc's feature. // As Internal Allocator being PartitionAlloc with minimal configuration, // it is not allowed to use this allocator for PA's core implementation to avoid // reentrancy issues. Also don't use this when satisfying the very first PA-E // allocation of the process. namespace partition_allocinternal // namespace partition_alloc::internal #endif // PARTITION_ALLOC_INTERNAL_ALLOCATOR_H_