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

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

Issue 2625873004: Delete and try to recreate localstorage database on invalid schema version. (Closed)
Patch Set: fix windows build 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);
jam 2017/01/12 17:24:42 nit: indentation also please add documentation to
Marijn Kruisselbrink 2017/01/13 19:25:11 Fixed, also added (minimal) documentation to the v
};
// A leveldb database.
« no previous file with comments | « components/leveldb/leveldb_service_impl.cc ('k') | content/browser/dom_storage/local_storage_context_mojo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698