chromium/extensions/browser/api/storage/local_value_store_cache.cc

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

#include "extensions/browser/api/storage/local_value_store_cache.h"

#include <stddef.h>

#include <limits>
#include <utility>

#include "components/value_store/value_store_factory.h"
#include "content/public/browser/browser_thread.h"
#include "extensions/browser/api/storage/backend_task_runner.h"
#include "extensions/browser/api/storage/value_store_util.h"
#include "extensions/browser/api/storage/weak_unlimited_settings_storage.h"
#include "extensions/common/api/storage.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_id.h"
#include "extensions/common/permissions/permissions_data.h"

BrowserThread;

namespace extensions {

namespace {

// Returns the quota limit for local storage, taken from the schema in
// extensions/common/api/storage.json.
SettingsStorageQuotaEnforcer::Limits GetLocalQuotaLimits() {}

}  // namespace

LocalValueStoreCache::LocalValueStoreCache(
    scoped_refptr<value_store::ValueStoreFactory> factory)
    :{}

LocalValueStoreCache::~LocalValueStoreCache() {}

void LocalValueStoreCache::RunWithValueStoreForExtension(
    StorageCallback callback,
    scoped_refptr<const Extension> extension) {}

void LocalValueStoreCache::DeleteStorageSoon(const ExtensionId& extension_id) {}

value_store::ValueStore* LocalValueStoreCache::GetStorage(
    const Extension* extension) {}

}  // namespace extensions