| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_NTP_SNIPPETS_BOOKMARKS_BOOKMARK_LAST_VISIT_UTILS_H_ | 5 #ifndef COMPONENTS_NTP_SNIPPETS_BOOKMARKS_BOOKMARK_LAST_VISIT_UTILS_H_ |
| 6 #define COMPONENTS_NTP_SNIPPETS_BOOKMARKS_BOOKMARK_LAST_VISIT_UTILS_H_ | 6 #define COMPONENTS_NTP_SNIPPETS_BOOKMARKS_BOOKMARK_LAST_VISIT_UTILS_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 class GURL; | 10 class GURL; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 bookmarks::BookmarkModel* bookmark_model, | 59 bookmarks::BookmarkModel* bookmark_model, |
| 60 int min_count, | 60 int min_count, |
| 61 int max_count, | 61 int max_count, |
| 62 const base::Time& min_visit_time, | 62 const base::Time& min_visit_time, |
| 63 bool creation_date_fallback); | 63 bool creation_date_fallback); |
| 64 | 64 |
| 65 // Returns the list of all dismissed bookmarks. Only used for debugging. | 65 // Returns the list of all dismissed bookmarks. Only used for debugging. |
| 66 std::vector<const bookmarks::BookmarkNode*> GetDismissedBookmarksForDebugging( | 66 std::vector<const bookmarks::BookmarkNode*> GetDismissedBookmarksForDebugging( |
| 67 bookmarks::BookmarkModel* bookmark_model); | 67 bookmarks::BookmarkModel* bookmark_model); |
| 68 | 68 |
| 69 // Removes last visited date metadata for all bookmarks. |
| 70 void RemoveAllLastVisitDates(bookmarks::BookmarkModel* bookmark_model); |
| 71 |
| 69 } // namespace ntp_snippets | 72 } // namespace ntp_snippets |
| 70 | 73 |
| 71 #endif // COMPONENTS_NTP_SNIPPETS_BOOKMARKS_BOOKMARK_LAST_VISIT_UTILS_H_ | 74 #endif // COMPONENTS_NTP_SNIPPETS_BOOKMARKS_BOOKMARK_LAST_VISIT_UTILS_H_ |
| OLD | NEW |