Index: components/leveldb_proto/testing/fake_db.h |
diff --git a/components/leveldb_proto/testing/fake_db.h b/components/leveldb_proto/testing/fake_db.h |
index 273778a8bc161430af391bc6b9671fcb445d4d00..2a58f52ba6501af85d427d2ac9fb52cfeb54df91 100644 |
--- a/components/leveldb_proto/testing/fake_db.h |
+++ b/components/leveldb_proto/testing/fake_db.h |
@@ -37,6 +37,8 @@ class FakeDB : public ProtoDatabase<T> { |
const typename ProtoDatabase<T>::UpdateCallback& callback) override; |
void LoadEntries( |
const typename ProtoDatabase<T>::LoadCallback& callback) override; |
+ void Destroy( |
+ const typename ProtoDatabase<T>::DestroyCallback& callback) override; |
base::FilePath& GetDirectory(); |
@@ -103,6 +105,11 @@ void FakeDB<T>::LoadEntries( |
} |
template <typename T> |
+void FakeDB<T>::Destroy( |
+ const typename ProtoDatabase<T>::DestroyCallback& callback) { |
+} |
+ |
+template <typename T> |
base::FilePath& FakeDB<T>::GetDirectory() { |
return dir_; |
} |