Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Unified Diff: components/ntp_snippets/bookmarks/bookmark_last_visit_utils.h

Issue 2234393002: Marking last_visited date for bookmarks created from an open tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Marc's comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..bbea0bdb3eff360902e6a8f657ebed4f840be146 100644
--- a/components/ntp_snippets/bookmarks/bookmark_last_visit_utils.h
+++ b/components/ntp_snippets/bookmarks/bookmark_last_visit_utils.h
@@ -27,8 +27,8 @@ void UpdateBookmarkOnURLVisitedInMainFrame(
bookmarks::BookmarkModel* bookmark_model,
const GURL& url);
-// Gets the last visit date for a given bookmark |node|. If the bookmark lacks
-// this info, it returns it creation date.
+// Gets the last visit date for a given bookmark |node|. The visit when the
+// bookmark is created also counts.
base::Time GetLastVisitDateForBookmark(const bookmarks::BookmarkNode* node);
// Marks all bookmarks with the given URL as dismissed.

Powered by Google App Engine
This is Rietveld 408576698