Chromium Code Reviews| 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(); |
|
jsbell
2013/12/20 00:24:42
Why is this virtual?
cmumford
2013/12/20 18:09:26
Woops - long story, but it (and the destructor) do
|
| 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(); |
|
jsbell
2013/12/20 00:24:42
Why is this virtual?
|
| bool IsOpenConnectionBlocked() const; |
| bool OpenInternal(); |