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

Unified Diff: chrome/browser/value_store/leveldb_value_store.h

Issue 175853002: Revert of 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/value_store/leveldb_value_store.h
diff --git a/chrome/browser/value_store/leveldb_value_store.h b/chrome/browser/value_store/leveldb_value_store.h
index b8ddd4f0d3d06d0823a322930c497f00d85ba394..91217e3c7a9a799963efd6688778cd11924a0d3c 100644
--- a/chrome/browser/value_store/leveldb_value_store.h
+++ b/chrome/browser/value_store/leveldb_value_store.h
@@ -45,12 +45,6 @@
virtual WriteResult Remove(const std::string& key) OVERRIDE;
virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
virtual WriteResult Clear() OVERRIDE;
- virtual bool Restore() OVERRIDE;
- virtual bool RestoreKey(const std::string& key) OVERRIDE;
-
- // Write directly to the backing levelDB. Only used for testing to cause
- // corruption in the database.
- bool WriteToDbForTest(leveldb::WriteBatch* batch);
private:
// Tries to open the database if it hasn't been opened already.
« no previous file with comments | « chrome/browser/extensions/test_extension_system.cc ('k') | chrome/browser/value_store/leveldb_value_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698