#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 {
SettingsStorageQuotaEnforcer::Limits GetLocalQuotaLimits() { … }
}
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) { … }
}