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

Unified Diff: components/offline_pages/offline_page_test_store.cc

Issue 2041983006: [Offline Pages] Filtering expired pages and fix consistency check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments and some naming changes. Created 4 years, 6 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/offline_pages/offline_page_test_store.cc
diff --git a/components/offline_pages/offline_page_test_store.cc b/components/offline_pages/offline_page_test_store.cc
index dcfc1c07b64f1eea763ee2e13240e7694a8e52b3..617387975cbf7ddc0f85ead666bb0c189d2b7816 100644
--- a/components/offline_pages/offline_page_test_store.cc
+++ b/components/offline_pages/offline_page_test_store.cc
@@ -84,4 +84,8 @@ std::vector<OfflinePageItem> OfflinePageTestStore::GetAllPages() const {
return offline_pages;
}
+void OfflinePageTestStore::ClearAllPages() {
+ offline_pages_.clear();
+}
+
} // namespace offline_pages

Powered by Google App Engine
This is Rietveld 408576698