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

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

Issue 2642943002: Allow closing IndexedDB database before deleting (Closed)
Patch Set: Allow closing IndexedDB database before deleting 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_dispatcher_host.h
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.h b/content/browser/indexed_db/indexed_db_dispatcher_host.h
index ed511b7fa445006838fa042b3672144abeb53c21..e24caf71e26f8294c4ca2ba6b4cf471dd6d7c83d 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.h
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.h
@@ -77,7 +77,8 @@ class IndexedDBDispatcherHost
void DeleteDatabase(
::indexed_db::mojom::CallbacksAssociatedPtrInfo callbacks_info,
const url::Origin& origin,
- const base::string16& name) override;
+ const base::string16& name,
+ bool force_close) override;
void GetDatabaseNamesOnIDBThread(scoped_refptr<IndexedDBCallbacks> callbacks,
const url::Origin& origin);
@@ -90,7 +91,8 @@ class IndexedDBDispatcherHost
int64_t transaction_id);
void DeleteDatabaseOnIDBThread(scoped_refptr<IndexedDBCallbacks> callbacks,
const url::Origin& origin,
- const base::string16& name);
+ const base::string16& name,
+ bool force_close);
void ResetDispatcherHosts();

Powered by Google App Engine
This is Rietveld 408576698