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

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

Issue 197333009: Handling LevelDB errors encountered after open. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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: 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 af2ba5427fdc672f22ff4eadbbd269703942f2eb..de2e1dd75aae858715456e821ca8f530cd9aa832 100644
--- a/content/browser/indexed_db/indexed_db_factory.h
+++ b/content/browser/indexed_db/indexed_db_factory.h
@@ -50,12 +50,12 @@ class CONTENT_EXPORT IndexedDBFactory
const base::FilePath& data_directory);
void HandleBackingStoreFailure(const GURL& origin_url);
jsbell 2014/03/26 18:16:58 Maybe we should rename this to ...IOError ?
cmumford 2014/03/26 21:40:36 Well a full disk is an IOError, but that won't res
jsbell 2014/03/26 22:49:00 SGTM.
+ 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