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

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

Issue 93873017: IndexedDBFactory now ForceCloses databases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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_database.h
diff --git a/content/browser/indexed_db/indexed_db_database.h b/content/browser/indexed_db/indexed_db_database.h
index 8693a1a6ba1e54092655b0d6de6db74e37abbfed..6fcb23633f792af27450f8b3164df25564874ff0 100644
--- a/content/browser/indexed_db/indexed_db_database.h
+++ b/content/browser/indexed_db/indexed_db_database.h
@@ -97,6 +97,7 @@ class CONTENT_EXPORT IndexedDBDatabase
const std::vector<int64>& object_store_ids,
uint16 mode);
void Close(IndexedDBConnection* connection, bool forced);
+ virtual void ForceClose();
void Commit(int64 transaction_id);
void Abort(int64 transaction_id);
@@ -246,7 +247,7 @@ class CONTENT_EXPORT IndexedDBDatabase
IndexedDBBackingStore* backing_store,
IndexedDBFactory* factory,
const Identifier& unique_identifier);
- ~IndexedDBDatabase();
+ virtual ~IndexedDBDatabase();
bool IsOpenConnectionBlocked() const;
bool OpenInternal();

Powered by Google App Engine
This is Rietveld 408576698