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

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: 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 1e54aaf3ddb3f0492199a2f802738b6403ff8b19..4569f6dbe4666ea4168189be7e6e5078c6b4163f 100644
--- a/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
+++ b/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
@@ -202,6 +202,12 @@ class TestingValueStoreFactory : public SettingsStorageFactory {
return new_storage;
}
+ virtual base::FilePath GetDatabasePath(
+ const base::FilePath& base_path,
+ const std::string& extension_id) OVERRIDE {
+ return base_path.AppendASCII(extension_id);
+ }
+
private:
// SettingsStorageFactory is refcounted.
virtual ~TestingValueStoreFactory() {}

Powered by Google App Engine
This is Rietveld 408576698