#include "third_party/blink/renderer/modules/storage/storage_area_map.h"
namespace blink {
namespace {
size_t QuotaForString(const String& s) { … }
size_t MemoryForString(const String& s) { … }
}
StorageAreaMap::StorageAreaMap(size_t quota) : … { … }
unsigned StorageAreaMap::GetLength() const { … }
String StorageAreaMap::GetKey(unsigned index) const { … }
String StorageAreaMap::GetItem(const String& key) const { … }
bool StorageAreaMap::SetItem(const String& key,
const String& value,
String* old_value) { … }
void StorageAreaMap::SetItemIgnoringQuota(const String& key,
const String& value) { … }
bool StorageAreaMap::RemoveItem(const String& key, String* old_value) { … }
void StorageAreaMap::ResetKeyIterator() const { … }
bool StorageAreaMap::SetItemInternal(const String& key,
const String& value,
String* old_value,
bool check_quota) { … }
}