Chromium Code Reviews| 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..41f367baf10e5d893d6d9dbe6cfb0d387e9bac01 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 GetLastVisitDateForNotDismissedBookmark( |
|
Marc Treib
2016/08/11 15:24:54
Hm, not super happy with this name, but I also can
jkrcal
2016/08/11 15:41:35
Better, thanks. Done.
|
| + const bookmarks::BookmarkNode* node); |
| + |
| // Marks all bookmarks with the given URL as dismissed. |
| void MarkBookmarksDismissed(bookmarks::BookmarkModel* bookmark_model, |
| const GURL& url); |