Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Unified Diff: content/browser/indexed_db/indexed_db_factory.h

Issue 203833003: Add the IndexedDBActiveBlobRegistry, currently unused, to enable future blob (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix override mismatch Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/indexed_db/indexed_db_factory.h
diff --git a/content/browser/indexed_db/indexed_db_factory.h b/content/browser/indexed_db/indexed_db_factory.h
index de2e1dd75aae858715456e821ca8f530cd9aa832..3b5a947fa4a0a4a9f663a03c857e4f1e1d23608c 100644
--- a/content/browser/indexed_db/indexed_db_factory.h
+++ b/content/browser/indexed_db/indexed_db_factory.h
@@ -61,6 +61,10 @@ class CONTENT_EXPORT IndexedDBFactory
// Called by the IndexedDBContext destructor so the factory can do cleanup.
void ContextDestroyed();
+ // Called by the IndexedDBActiveBlobRegistry.
+ virtual void ReportOutstandingBlobs(const GURL& origin_url,
+ bool blobs_outstanding);
+
// Called by an IndexedDBDatabase when it is actually deleted.
void DatabaseDeleted(const IndexedDBDatabase::Identifier& identifier);
@@ -120,6 +124,7 @@ class CONTENT_EXPORT IndexedDBFactory
IndexedDBBackingStoreMap backing_store_map_;
std::set<scoped_refptr<IndexedDBBackingStore> > session_only_backing_stores_;
+ IndexedDBBackingStoreMap backing_stores_with_active_blobs_;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698