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

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

Issue 2642943002: Allow closing IndexedDB database before deleting (Closed)
Patch Set: Actually pass the flag Created 3 years, 11 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_database.h
diff --git a/content/browser/indexed_db/indexed_db_database.h b/content/browser/indexed_db/indexed_db_database.h
index 3a40282a51c761743a69bbbefb49404862c7ba26..73478a42ff8f807cfe705de783e2243d5aac10f9 100644
--- a/content/browser/indexed_db/indexed_db_database.h
+++ b/content/browser/indexed_db/indexed_db_database.h
@@ -79,7 +79,8 @@ class CONTENT_EXPORT IndexedDBDatabase
const base::string16& name);
void OpenConnection(std::unique_ptr<IndexedDBPendingConnection> connection);
- void DeleteDatabase(scoped_refptr<IndexedDBCallbacks> callbacks);
+ void DeleteDatabase(scoped_refptr<IndexedDBCallbacks> callbacks,
+ bool force_close);
const IndexedDBDatabaseMetadata& metadata() const { return metadata_; }
void CreateObjectStore(IndexedDBTransaction* transaction,
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_database.cc » ('j') | content/common/indexed_db/indexed_db.mojom » ('J')

Powered by Google App Engine
This is Rietveld 408576698