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

Unified Diff: components/offline_pages/offline_page_model.h

Issue 2512073002: [Offline Pages] Removes two-step expiration related. (Closed)
Patch Set: 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 272f6dc9c0cfe2744853758c7dca29c5b62b6a4c..1b0056dd2b7d26f88b2a0b924052c146c993588b 100644
--- a/components/offline_pages/offline_page_model.h
+++ b/components/offline_pages/offline_page_model.h
@@ -146,10 +146,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,
@@ -165,12 +161,6 @@ class OfflinePageModel : public base::SupportsUserData {
const GURL& online_url,
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