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

Unified Diff: components/leveldb/public/interfaces/leveldb.mojom

Issue 2625873004: Delete and try to recreate localstorage database on invalid schema version. (Closed)
Patch Set: 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: components/leveldb/public/interfaces/leveldb.mojom
diff --git a/components/leveldb/public/interfaces/leveldb.mojom b/components/leveldb/public/interfaces/leveldb.mojom
index cf62f675f90266d1c6bd92c97ccd0a2ae41ff258..7ea8dfe5e396aea4f3fb99584ce17847ec781a75 100644
--- a/components/leveldb/public/interfaces/leveldb.mojom
+++ b/components/leveldb/public/interfaces/leveldb.mojom
@@ -71,6 +71,9 @@ interface LevelDBService {
LevelDBDatabase& database) => (DatabaseError status);
OpenInMemory(LevelDBDatabase& database) => (DatabaseError status);
+
+ Destroy(filesystem.mojom.Directory directory,
+ string dbname) => (DatabaseError status);
};
// A leveldb database.

Powered by Google App Engine
This is Rietveld 408576698