| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_ITEM_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_ITEM_H_ |
| 6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_ITEM_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_ITEM_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 // Version of the offline page item. | 40 // Version of the offline page item. |
| 41 int version; | 41 int version; |
| 42 // The file path to the archive with a local copy of the page. | 42 // The file path to the archive with a local copy of the page. |
| 43 base::FilePath file_path; | 43 base::FilePath file_path; |
| 44 // The size of the offline copy. | 44 // The size of the offline copy. |
| 45 int64 file_size; | 45 int64 file_size; |
| 46 // The time when the offline archive was created. | 46 // The time when the offline archive was created. |
| 47 base::Time creation_time; | 47 base::Time creation_time; |
| 48 // The time when the offline archive was last accessed. | 48 // The time when the offline archive was last accessed. |
| 49 base::Time last_access_time; | 49 base::Time last_access_time; |
| 50 // Number of times that the offline archive has been accessed. |
| 51 int access_count; |
| 50 }; | 52 }; |
| 51 | 53 |
| 52 } // namespace offline_pages | 54 } // namespace offline_pages |
| 53 | 55 |
| 54 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_ITEM_H_ | 56 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_ITEM_H_ |
| OLD | NEW |