#include "content/browser/indexed_db/indexed_db_active_blob_registry.h"
#include "base/containers/contains.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/task/task_runner.h"
#include "content/browser/indexed_db/indexed_db_backing_store.h"
#include "content/browser/indexed_db/indexed_db_leveldb_coding.h"
namespace content {
IndexedDBActiveBlobRegistry::IndexedDBActiveBlobRegistry(
ReportOutstandingBlobsCallback report_outstanding_blobs,
ReportUnusedBlobCallback report_unused_blob)
: … { … }
IndexedDBActiveBlobRegistry::~IndexedDBActiveBlobRegistry() { … }
bool IndexedDBActiveBlobRegistry::MarkDatabaseDeletedAndCheckIfReferenced(
int64_t database_id) { … }
bool IndexedDBActiveBlobRegistry::MarkBlobInfoDeletedAndCheckIfReferenced(
int64_t database_id,
int64_t blob_number) { … }
base::RepeatingClosure IndexedDBActiveBlobRegistry::GetFinalReleaseCallback(
int64_t database_id,
int64_t blob_number) { … }
base::RepeatingClosure IndexedDBActiveBlobRegistry::GetMarkBlobActiveCallback(
int64_t database_id,
int64_t blob_number) { … }
void IndexedDBActiveBlobRegistry::ForceShutdown() { … }
void IndexedDBActiveBlobRegistry::MarkBlobActive(int64_t database_id,
int64_t blob_number) { … }
void IndexedDBActiveBlobRegistry::MarkBlobInactive(int64_t database_id,
int64_t blob_number) { … }
}