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

Unified Diff: components/offline_pages/offline_page_model.h

Issue 2512073002: [Offline Pages] Removes two-step expiration related. (Closed)
Patch Set: Addressed comments. Created 4 years, 1 month 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 5eb2cba101a33f482e921869bda0cf1c5a211452..6beeb92461803bf85734a36efe220e0b50f3e9e3 100644
--- a/components/offline_pages/offline_page_model.h
+++ b/components/offline_pages/offline_page_model.h
@@ -155,10 +155,6 @@ 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,
@@ -176,12 +172,6 @@ class OfflinePageModel : public base::SupportsUserData {
URLSearchMode url_search_mode,
const MultipleOfflinePageItemCallback& callback) = 0;
- // Marks pages with |offline_ids| as expired and deletes the associated
- // archive files.
- virtual void ExpirePages(const std::vector<int64_t>& offline_ids,
- const base::Time& expiration_time,
- const base::Callback<void(bool)>& callback) = 0;
-
// Returns the policy controller.
virtual ClientPolicyController* GetPolicyController() = 0;

Powered by Google App Engine
This is Rietveld 408576698