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

Unified Diff: chrome/browser/extensions/api/storage/settings_test_util.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
Index: chrome/browser/extensions/api/storage/settings_test_util.h
diff --git a/chrome/browser/extensions/api/storage/settings_test_util.h b/chrome/browser/extensions/api/storage/settings_test_util.h
index e4d3ea2e422f9b984a41857694d957b550e56a23..4f38dc18dcb5eebc2c751c4d4fbd0e8e08d06752 100644
--- a/chrome/browser/extensions/api/storage/settings_test_util.h
+++ b/chrome/browser/extensions/api/storage/settings_test_util.h
@@ -102,6 +102,9 @@ class ScopedSettingsStorageFactory : public SettingsStorageFactory {
// SettingsStorageFactory implementation.
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.

Powered by Google App Engine
This is Rietveld 408576698