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

Unified Diff: chrome/browser/value_store/testing_value_store.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
« no previous file with comments | « chrome/browser/value_store/testing_value_store.h ('k') | chrome/browser/value_store/value_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/value_store/testing_value_store.cc
diff --git a/chrome/browser/value_store/testing_value_store.cc b/chrome/browser/value_store/testing_value_store.cc
index c8d177c55147d5f26d0d2ef15853853dbc36cc4d..2745c754b46b39cb9c2eaeb95929e48413689004 100644
--- a/chrome/browser/value_store/testing_value_store.cc
+++ b/chrome/browser/value_store/testing_value_store.cc
@@ -124,6 +124,14 @@ ValueStore::WriteResult TestingValueStore::Clear() {
return Remove(keys);
}
+bool TestingValueStore::Restore() {
+ return true;
+}
+
+bool TestingValueStore::RestoreKey(const std::string& key) {
+ return true;
+}
+
scoped_ptr<ValueStore::Error> TestingValueStore::TestingError() {
return make_scoped_ptr(new ValueStore::Error(
error_code_, kGenericErrorMessage, scoped_ptr<std::string>()));
« no previous file with comments | « chrome/browser/value_store/testing_value_store.h ('k') | chrome/browser/value_store/value_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698