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

Unified Diff: components/offline_pages/offline_page_item.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_item.h
diff --git a/components/offline_pages/offline_page_item.h b/components/offline_pages/offline_page_item.h
index 2ec13e17998f440895d1dcba8550f5a38c9b1d13..34c586c5274a24427a384311960a440c30d128b9 100644
--- a/components/offline_pages/offline_page_item.h
+++ b/components/offline_pages/offline_page_item.h
@@ -56,9 +56,6 @@ struct OfflinePageItem {
bool operator==(const OfflinePageItem& other) const;
- // Returns whether the offline page is expired.
- bool IsExpired() const;
-
// The URL of the page. This is the last committed URL. In the case that
// redirects occur, access |original_url| for the original URL.
GURL url;
@@ -78,8 +75,6 @@ struct OfflinePageItem {
base::Time creation_time;
// The time when the offline archive was last accessed.
base::Time last_access_time;
- // The time when the offline page was expired.
- base::Time expiration_time;
// Number of times that the offline archive has been accessed.
int access_count;
// The title of the page at the time it was saved.
« no previous file with comments | « components/offline_pages/downloads/download_ui_adapter.cc ('k') | components/offline_pages/offline_page_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698