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

Unified Diff: components/offline_pages/offline_page_model.h

Issue 2142703002: [Offline Pages] Showing expired pages in internal page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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_model.h
diff --git a/components/offline_pages/offline_page_model.h b/components/offline_pages/offline_page_model.h
index c7ea6b0220cf52fd24319f969507aa396d53294d..9c6efb7aaca737e960f67ac1ce10672776b32f3a 100644
--- a/components/offline_pages/offline_page_model.h
+++ b/components/offline_pages/offline_page_model.h
@@ -119,6 +119,10 @@ class OfflinePageModel : public base::SupportsUserData {
// Gets all offline pages.
virtual void GetAllPages(const MultipleOfflinePageItemCallback& callback) = 0;
+ // Gets all offline pages including expired ones.
+ virtual void GetAllPagesWithExpired(
+ const MultipleOfflinePageItemCallback& callback) = 0;
+
// Gets all offline ids where the offline page has the matching client id.
virtual void GetOfflineIdsForClientId(
const ClientId& client_id,

Powered by Google App Engine
This is Rietveld 408576698