| 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 7bbb48ad34980f46ef3a9df719d8c59fbf462a20..469c822212d4b9a5ecdf582c834920baebb3489b 100644
|
| --- a/components/offline_pages/offline_page_item.h
|
| +++ b/components/offline_pages/offline_page_item.h
|
| @@ -55,6 +55,9 @@ struct OfflinePageItem {
|
| // Gets a URL of the file under |file_path|.
|
| GURL GetOfflineURL() const;
|
|
|
| + // Returns whether the offline page is expired.
|
| + bool IsExpired() const;
|
| +
|
| // The URL of the page.
|
| GURL url;
|
| // The primary key/ID for this page in offline pages internal database.
|
| @@ -75,6 +78,8 @@ 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;
|
| // Flags about the state and behavior of the offline page.
|
|
|