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

Unified Diff: components/leveldb_proto/testing/fake_db.h

Issue 1420003004: Wipe out offline page data on clearing cookie and site data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address more feedback Created 5 years, 2 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: 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_;
}
« no previous file with comments | « components/leveldb_proto/proto_database_impl.h ('k') | components/offline_pages/offline_page_metadata_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698