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

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

Issue 175853002: Revert of Add a Restore() method to ValueStore and make StorageAPI use it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chrome/browser/extensions/api/storage/settings_storage_factory.h
diff --git a/chrome/browser/extensions/api/storage/settings_storage_factory.h b/chrome/browser/extensions/api/storage/settings_storage_factory.h
index 86c8b8bdb09588ba463ba58963b2246690ef07f0..7fd28cf0862bb62cc6851ab8b14d11f20328a109 100644
--- a/chrome/browser/extensions/api/storage/settings_storage_factory.h
+++ b/chrome/browser/extensions/api/storage/settings_storage_factory.h
@@ -26,12 +26,6 @@
virtual ValueStore* Create(const base::FilePath& base_path,
const std::string& extension_id) = 0;
- // Deletes the database for the extension, if one exists.
- // Note: it is important to delete references to the database if any are
- // held, because ValueStores will create themselves if there is no file.
- virtual void DeleteDatabaseIfExists(const base::FilePath& base_path,
- const std::string& extension_id) = 0;
-
protected:
friend class base::RefCountedThreadSafe<SettingsStorageFactory>;
virtual ~SettingsStorageFactory() {}

Powered by Google App Engine
This is Rietveld 408576698