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

Unified Diff: components/offline_pages/offline_page_item.cc

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.cc
diff --git a/components/offline_pages/offline_page_item.cc b/components/offline_pages/offline_page_item.cc
index 0a8a76311b63d1f5a5d044703355b8ed62b0082f..a0f0cc2f1a38304d3a45fc6dc209168a03c8e5e6 100644
--- a/components/offline_pages/offline_page_item.cc
+++ b/components/offline_pages/offline_page_item.cc
@@ -66,15 +66,10 @@ bool OfflinePageItem::operator==(const OfflinePageItem& other) const {
file_path == other.file_path &&
creation_time == other.creation_time &&
last_access_time == other.last_access_time &&
- expiration_time == other.expiration_time &&
access_count == other.access_count &&
title == other.title &&
flags == other.flags &&
original_url == other.original_url;
}
-bool OfflinePageItem::IsExpired() const {
- return creation_time < expiration_time;
-}
-
} // namespace offline_pages
« no previous file with comments | « components/offline_pages/offline_page_item.h ('k') | components/offline_pages/offline_page_metadata_store_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698