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

Unified Diff: chrome/browser/extensions/api/storage/weak_unlimited_settings_storage.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/weak_unlimited_settings_storage.cc
diff --git a/chrome/browser/extensions/api/storage/weak_unlimited_settings_storage.cc b/chrome/browser/extensions/api/storage/weak_unlimited_settings_storage.cc
index 241ae2f5d2ecb334e58df6f41f12cf345f055750..14a5c88d41b71f48dae1465f051f0926d198c1d6 100644
--- a/chrome/browser/extensions/api/storage/weak_unlimited_settings_storage.cc
+++ b/chrome/browser/extensions/api/storage/weak_unlimited_settings_storage.cc
@@ -64,4 +64,10 @@ ValueStore::WriteResult WeakUnlimitedSettingsStorage::Clear() {
return delegate_->Clear();
}
+bool WeakUnlimitedSettingsStorage::Restore() { return delegate_->Restore(); }
+
+bool WeakUnlimitedSettingsStorage::RestoreKey(const std::string& key) {
+ return delegate_->RestoreKey(key);
+}
+
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698