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

Unified Diff: trunk/src/content/browser/indexed_db/indexed_db_factory.h

Issue 216433007: Revert 260147 "Handling LevelDB errors encountered after open." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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: trunk/src/content/browser/indexed_db/indexed_db_factory.h
===================================================================
--- trunk/src/content/browser/indexed_db/indexed_db_factory.h (revision 260206)
+++ trunk/src/content/browser/indexed_db/indexed_db_factory.h (working copy)
@@ -50,12 +50,12 @@
const base::FilePath& data_directory);
void HandleBackingStoreFailure(const GURL& origin_url);
- void HandleBackingStoreCorruption(const GURL& origin_url,
- const IndexedDBDatabaseError& error);
std::pair<OriginDBMapIterator, OriginDBMapIterator> GetOpenDatabasesForOrigin(
const GURL& origin_url) const;
+ // Called by IndexedDBContext after all connections are closed, to
+ // ensure the backing store closed immediately.
void ForceClose(const GURL& origin_url);
// Called by the IndexedDBContext destructor so the factory can do cleanup.

Powered by Google App Engine
This is Rietveld 408576698