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

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: 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..8284de3b3fe969503770c491901a23f4691f1895 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,12 @@ 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