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

Side by Side Diff: components/ntp_snippets/bookmarks/bookmark_last_visit_utils.h

Issue 2303713002: Implement ClearHistory for all ntp_snippets providers (Closed)
Patch Set: Marc's nits. Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/ntp_snippets/bookmarks/bookmark_last_visit_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | components/ntp_snippets/bookmarks/bookmark_last_visit_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698