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

Unified Diff: chrome/browser/extensions/api/storage/settings_sync_unittest.cc

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_sync_unittest.cc
diff --git a/chrome/browser/extensions/api/storage/settings_sync_unittest.cc b/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
index afd33baa503a9f2fe35967c1b3820eef649a19b5..c8822d1a9f2bdd26bb203d4ebe171805c5148cdc 100644
--- a/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
+++ b/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
@@ -176,6 +176,12 @@ class TestingValueStoreFactory : public SettingsStorageFactory {
return new_storage;
}
+ // Testing value stores don't actually create a real database. Don't delete
+ // any files.
+ virtual void DeleteDatabaseIfExists(
+ const base::FilePath& base_path,
+ const std::string& extension_id) OVERRIDE {}
+
private:
// SettingsStorageFactory is refcounted.
virtual ~TestingValueStoreFactory() {}

Powered by Google App Engine
This is Rietveld 408576698