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

Unified Diff: components/offline_pages/offline_page_model.h

Issue 2512073002: [Offline Pages] Removes two-step expiration related. (Closed)
Patch Set: adding unit in histograms. 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 9b4ac0dd7f87a9b0f98db516044e80612ff9c3a2..8c8142cf36e168e26ab4b069d25aeb64c8f580a2 100644
--- a/components/offline_pages/offline_page_model.h
+++ b/components/offline_pages/offline_page_model.h
@@ -20,9 +20,6 @@
#include "components/offline_pages/offline_page_types.h"
class GURL;
-namespace base {
-class Time;
-} // namespace base
namespace offline_pages {
@@ -154,10 +151,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,
@@ -175,12 +168,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;
« no previous file with comments | « components/offline_pages/offline_page_metadata_store_sql.cc ('k') | components/offline_pages/offline_page_model_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698