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

Unified Diff: chrome/browser/extensions/api/storage/leveldb_settings_storage_factory.h

Issue 165223003: Add a Restore() method to ValueStore and make StorageAPI use it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 6 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/storage/leveldb_settings_storage_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/storage/leveldb_settings_storage_factory.h
diff --git a/chrome/browser/extensions/api/storage/leveldb_settings_storage_factory.h b/chrome/browser/extensions/api/storage/leveldb_settings_storage_factory.h
index e5a211d828fafbdf656dbf7094658f2028d4a488..6dc54cb92ea1d982bddb0786ad57ac3567c3703b 100644
--- a/chrome/browser/extensions/api/storage/leveldb_settings_storage_factory.h
+++ b/chrome/browser/extensions/api/storage/leveldb_settings_storage_factory.h
@@ -15,6 +15,9 @@ class LeveldbSettingsStorageFactory : public SettingsStorageFactory {
virtual ValueStore* Create(const base::FilePath& base_path,
const std::string& extension_id) OVERRIDE;
+ virtual void DeleteDatabaseIfExists(const base::FilePath& base_path,
+ const std::string& extension_id) OVERRIDE;
+
private:
// SettingsStorageFactory is refcounted.
virtual ~LeveldbSettingsStorageFactory() {}
« no previous file with comments | « no previous file | chrome/browser/extensions/api/storage/leveldb_settings_storage_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698