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

Unified Diff: components/offline_pages/offline_page_storage_manager_unittest.cc

Issue 1977853004: [Offline pages] Adding ArchiveManager to abstract offline archives management (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding a missing destructor for OfflinePageStorageManager::Client Created 4 years, 7 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 | « components/offline_pages/offline_page_storage_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/offline_page_storage_manager_unittest.cc
diff --git a/components/offline_pages/offline_page_storage_manager_unittest.cc b/components/offline_pages/offline_page_storage_manager_unittest.cc
index 3f4890c4bf8f88b5068e89571b094a4ea998f3ff..65c2bc60cfc22af190529750882fdb9ca6836770 100644
--- a/components/offline_pages/offline_page_storage_manager_unittest.cc
+++ b/components/offline_pages/offline_page_storage_manager_unittest.cc
@@ -50,6 +50,8 @@ class StorageManagerTestClient : public OfflinePageStorageManager::Client {
AddPages(setting);
}
+ ~StorageManagerTestClient() override;
+
void GetAllPages(const MultipleOfflinePageItemCallback& callback) override {
callback.Run(pages_);
}
@@ -79,6 +81,8 @@ class StorageManagerTestClient : public OfflinePageStorageManager::Client {
int64_t next_offline_id_;
};
+StorageManagerTestClient::~StorageManagerTestClient() {}
+
void StorageManagerTestClient::AddPages(const PageSettings& setting) {
std::string name_space = setting.name_space;
int fresh_pages_count = setting.fresh_pages_count;
« no previous file with comments | « components/offline_pages/offline_page_storage_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698