| Index: components/ntp_snippets/bookmarks/bookmark_last_visit_utils.h
|
| diff --git a/components/ntp_snippets/bookmarks/bookmark_last_visit_utils.h b/components/ntp_snippets/bookmarks/bookmark_last_visit_utils.h
|
| index 36ff7db1177532b10786341900df29872ae984fa..8dc6a987ac1278fc4538cfff4aa2e17e8f3a8f55 100644
|
| --- a/components/ntp_snippets/bookmarks/bookmark_last_visit_utils.h
|
| +++ b/components/ntp_snippets/bookmarks/bookmark_last_visit_utils.h
|
| @@ -31,6 +31,11 @@ void UpdateBookmarkOnURLVisitedInMainFrame(
|
| // this info, it returns it creation date.
|
| base::Time GetLastVisitDateForBookmark(const bookmarks::BookmarkNode* node);
|
|
|
| +// Like GetLastVisitDateForBookmark, but it returns the unix epoch if the
|
| +// bookmark is dismissed from NTP.
|
| +base::Time GetLastVisitDateForBookmarkIfNotDismissed(
|
| + const bookmarks::BookmarkNode* node);
|
| +
|
| // Marks all bookmarks with the given URL as dismissed.
|
| void MarkBookmarksDismissed(bookmarks::BookmarkModel* bookmark_model,
|
| const GURL& url);
|
|
|