/* * Copyright (c) 2024-2025, Shannon Booth * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include #include namespace Web::StorageAPI { // https://storage.spec.whatwg.org/#storage-shelf // A storage shelf exists for each storage key within a storage shed. It holds a bucket map, which is a map of strings to storage buckets. using BucketMap = OrderedHashMap; struct StorageShelf { explicit StorageShelf(StorageType); BucketMap bucket_map; }; }