#include "base/allocator/dispatcher/internal/dispatch_data.h"
#include "partition_alloc/buildflags.h"
namespace base::allocator::dispatcher::internal {
#if PA_BUILDFLAG(USE_PARTITION_ALLOC)
DispatchData& DispatchData::SetAllocationObserverHooks(
AllocationObserverHook* allocation_observer_hook,
FreeObserverHook* free_observer_hook) { … }
DispatchData::AllocationObserverHook* DispatchData::GetAllocationObserverHook()
const { … }
DispatchData::FreeObserverHook* DispatchData::GetFreeObserverHook() const { … }
#endif
#if PA_BUILDFLAG(USE_ALLOCATOR_SHIM)
DispatchData& DispatchData::SetAllocatorDispatch(
AllocatorDispatch* allocator_dispatch) { … }
AllocatorDispatch* DispatchData::GetAllocatorDispatch() const { … }
#endif
}