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

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: 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/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..27615e36e2a4c2bfb23ef9af1274f3ff600c9b21 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 base::FilePath GetDatabasePath(
+ const base::FilePath& base_path,
+ const std::string& extension_id) OVERRIDE;
not at google - send to devlin 2014/02/14 19:35:56 nit: blank line after this
Devlin 2014/02/18 23:55:22 Done.
private:
// SettingsStorageFactory is refcounted.
virtual ~LeveldbSettingsStorageFactory() {}

Powered by Google App Engine
This is Rietveld 408576698