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

Unified Diff: components/bookmarks/browser/bookmark_utils.h

Issue 302313005: Show the Managed Bookmarks folder in the views UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased on model changes Created 6 years, 6 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/bookmarks/browser/bookmark_utils.h
diff --git a/components/bookmarks/browser/bookmark_utils.h b/components/bookmarks/browser/bookmark_utils.h
index c798e17d10e4f72f16d7bb0245fefa9c66c1feb4..c7ed69835b7faafdb1e67438b5ed34278c4f40df 100644
--- a/components/bookmarks/browser/bookmark_utils.h
+++ b/components/bookmarks/browser/bookmark_utils.h
@@ -60,11 +60,11 @@ void PasteFromClipboard(BookmarkModel* model,
int index);
// Returns true if the user can copy from the pasteboard.
-bool CanPasteFromClipboard(const BookmarkNode* node);
+bool CanPasteFromClipboard(BookmarkModel* model, const BookmarkNode* node);
// Returns a vector containing up to |max_count| of the most recently modified
-// folders. This never returns an empty vector.
-std::vector<const BookmarkNode*> GetMostRecentlyModifiedFolders(
+// user folders. This never returns an empty vector.
+std::vector<const BookmarkNode*> GetMostRecentlyModifiedUserFolders(
BookmarkModel* model, size_t max_count);
// Returns the most recently added bookmarks. This does not return folders,
@@ -101,7 +101,7 @@ const BookmarkNode* GetParentForNewNodes(
// Deletes the bookmark folders for the given list of |ids|.
void DeleteBookmarkFolders(BookmarkModel* model, const std::vector<int64>& ids);
-// If there are no bookmarks for url, a bookmark is created.
+// If there are no user bookmarks for url, a bookmark is created.
void AddIfNotBookmarked(BookmarkModel* model,
const GURL& url,
const base::string16& title);

Powered by Google App Engine
This is Rietveld 408576698