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

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

Issue 317333004: Added BookmarkClient::CanBeEditedByUser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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_model.h
diff --git a/components/bookmarks/browser/bookmark_model.h b/components/bookmarks/browser/bookmark_model.h
index ef640cbe9d68fff8f4c6a17dbd441b3456d07bb5..e8c39ac1fb48cda695842d0d9216bb97988c6775 100644
--- a/components/bookmarks/browser/bookmark_model.h
+++ b/components/bookmarks/browser/bookmark_model.h
@@ -166,9 +166,10 @@ class BookmarkModel {
// Returns the set of nodes with the |url|.
void GetNodesByURL(const GURL& url, std::vector<const BookmarkNode*>* nodes);
- // Returns the most recently added node for the |url|. Returns NULL if |url|
- // is not bookmarked.
- const BookmarkNode* GetMostRecentlyAddedNodeForURL(const GURL& url);
+ // Returns the most recently added user node for the |url|; urls from any
+ // nodes that are not editable by the user are never returned by this call.
+ // Returns NULL if |url| is not bookmarked.
+ const BookmarkNode* GetMostRecentlyAddedUserNodeForURL(const GURL& url);
// Returns true if there are bookmarks, otherwise returns false.
// This method is thread safe.

Powered by Google App Engine
This is Rietveld 408576698