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

Unified Diff: content/browser/indexed_db/indexed_db_factory.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_factory.h
diff --git a/content/browser/indexed_db/indexed_db_factory.h b/content/browser/indexed_db/indexed_db_factory.h
index 40c3765b3e5d636c67971493320b0b6fc5b98e96..40f2d64c5ba3c5aa7f22bb26dc4a94d0389c135a 100644
--- a/content/browser/indexed_db/indexed_db_factory.h
+++ b/content/browser/indexed_db/indexed_db_factory.h
@@ -61,7 +61,8 @@ class CONTENT_EXPORT IndexedDBFactory
scoped_refptr<net::URLRequestContextGetter> request_context_getter,
scoped_refptr<IndexedDBCallbacks> callbacks,
const url::Origin& origin,
- const base::FilePath& data_directory) = 0;
+ const base::FilePath& data_directory,
+ bool force_close) = 0;
virtual void HandleBackingStoreFailure(const url::Origin& origin) = 0;
virtual void HandleBackingStoreCorruption(

Powered by Google App Engine
This is Rietveld 408576698