#include "tools/memory/simulator/contiguous_memory_holder.h"
#include <cstdint>
#include "base/check_op.h"
#include "base/debug/alias.h"
#include "base/memory/page_size.h"
#include "partition_alloc/page_allocator.h"
namespace memory_simulator {
ContiguousMemoryHolder::ContiguousMemoryHolder(size_t max_pages)
: … { … }
ContiguousMemoryHolder::~ContiguousMemoryHolder() { … }
void ContiguousMemoryHolder::Allocate() { … }
void ContiguousMemoryHolder::Read() { … }
void ContiguousMemoryHolder::Write() { … }
}