| 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 dd55a7e623af4c897380b82904d4cfcc84583e05..648a0f4002758696ef7cafbc70a3291bf15c0b16 100644
|
| --- a/components/offline_pages/offline_page_model.h
|
| +++ b/components/offline_pages/offline_page_model.h
|
| @@ -130,6 +130,11 @@ class OfflinePageModel : public KeyedService,
|
| scoped_ptr<OfflinePageArchiver> archiver,
|
| const SavePageCallback& callback);
|
|
|
| + // Marks that the offline page related to the passed |bookmark_id| has been
|
| + // accessed. Its access info, including last access time and access count,
|
| + // will be updated. Requires that the model is loaded.
|
| + void MarkPageAccessed(int64 bookmark_id);
|
| +
|
| // Deletes an offline page related to the passed |bookmark_id|. Requires that
|
| // the model is loaded.
|
| void DeletePageByBookmarkId(int64 bookmark_id,
|
| @@ -203,6 +208,9 @@ class OfflinePageModel : public KeyedService,
|
| void InformDeletePageDone(const DeletePageCallback& callback,
|
| DeletePageResult result);
|
|
|
| + void OnUpdateOfflinePageDone(const OfflinePageItem& offline_page_item,
|
| + bool success);
|
| +
|
| // Persistent store for offline page metadata.
|
| scoped_ptr<OfflinePageMetadataStore> store_;
|
|
|
|
|