// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef TOOLS_MEMORY_SIMULATOR_MEMORY_HOLDER_H_ #define TOOLS_MEMORY_SIMULATOR_MEMORY_HOLDER_H_ #include <stdint.h> #include "base/rand_util.h" namespace memory_simulator { // Interface for a class that supports these operations: // - Allocate a new memory page // - Read the next memory page // - Write the next memory page class MemoryHolder { … }; } // namespace memory_simulator #endif // TOOLS_MEMORY_SIMULATOR_MEMORY_HOLDER_H_