chromium/third_party/blink/renderer/modules/storage/storage_area_map.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/modules/storage/storage_area_map.h"

namespace blink {

namespace {

// For quota purposes we count each character as 2 bytes.
size_t QuotaForString(const String& s) {}

size_t MemoryForString(const String& s) {}

}  // namespace

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) {}

}  // namespace blink