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

Unified Diff: components/leveldb/leveldb_service_impl.h

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/leveldb_service_impl.h
diff --git a/components/leveldb/leveldb_service_impl.h b/components/leveldb/leveldb_service_impl.h
index bf413dbfa5b948f03baea8549965cd5ccf942f9a..e8bec686aeb760680dfbcac57f438196920ad6d2 100644
--- a/components/leveldb/leveldb_service_impl.h
+++ b/components/leveldb/leveldb_service_impl.h
@@ -30,6 +30,9 @@ class LevelDBServiceImpl : public mojom::LevelDBService {
const OpenCallback& callback) override;
void OpenInMemory(leveldb::mojom::LevelDBDatabaseRequest database,
const OpenInMemoryCallback& callback) override;
+ void Destroy(filesystem::mojom::DirectoryPtr directory,
+ const std::string& dbname,
+ const DestroyCallback& callback) override;
private:
// Thread to own the mojo message pipe. Because leveldb spawns multiple
« no previous file with comments | « no previous file | components/leveldb/leveldb_service_impl.cc » ('j') | content/browser/dom_storage/local_storage_context_mojo.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698