#include "third_party/blink/renderer/platform/disk_data_allocator.h"
#include <cstring>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/files/file.h"
#include "base/files/file_util.h"
#include "base/rand_util.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/renderer/platform/disk_data_allocator_test_utils.h"
#include "third_party/blink/renderer/platform/disk_data_metadata.h"
ThreadPoolExecutionMode;
namespace blink {
class DiskDataAllocatorTest : public ::testing::Test { … };
TEST_F(DiskDataAllocatorTest, ReserveChunk) { … }
TEST_F(DiskDataAllocatorTest, ReadWrite) { … }
TEST_F(DiskDataAllocatorTest, ReadWriteDiscardMultiple) { … }
TEST_F(DiskDataAllocatorTest, WriteEventuallyFail) { … }
TEST_F(DiskDataAllocatorTest, CanReuseFreedChunk) { … }
TEST_F(DiskDataAllocatorTest, ExactThenWorstFit) { … }
TEST_F(DiskDataAllocatorTest, FreeChunksMerging) { … }
TEST_F(DiskDataAllocatorTest, ProvideInvalidFile) { … }
TEST_F(DiskDataAllocatorTest, ProvideValidFile) { … }
TEST_F(DiskDataAllocatorTest, WriteWithLimitedCapacity) { … }
}