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

Unified Diff: chrome/browser/extensions/api/storage/settings_test_util.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_test_util.cc
diff --git a/chrome/browser/extensions/api/storage/settings_test_util.cc b/chrome/browser/extensions/api/storage/settings_test_util.cc
index 262a3e181c980bf7840fe1225370b917993c3470..96843faf911b7eb8d29de8c2f50a35016f136a94 100644
--- a/chrome/browser/extensions/api/storage/settings_test_util.cc
+++ b/chrome/browser/extensions/api/storage/settings_test_util.cc
@@ -162,6 +162,12 @@ ValueStore* ScopedSettingsStorageFactory::Create(
return delegate_->Create(base_path, extension_id);
}
+void ScopedSettingsStorageFactory::DeleteDatabaseIfExists(
+ const base::FilePath& base_path,
+ const std::string& extension_id) {
+ delegate_->DeleteDatabaseIfExists(base_path, extension_id);
+}
+
} // namespace settings_test_util
} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/api/storage/settings_test_util.h ('k') | chrome/browser/extensions/api/storage/storage_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698