Index: components/bookmarks/browser/bookmark_model.h |
diff --git a/components/bookmarks/browser/bookmark_model.h b/components/bookmarks/browser/bookmark_model.h |
index 0a2d9643c89ccf84d3604de102340a0e8b2b61e2..f24ebd0763de44d0f5e3321de8df06d1a1bcf221 100644 |
--- a/components/bookmarks/browser/bookmark_model.h |
+++ b/components/bookmarks/browser/bookmark_model.h |
@@ -167,6 +167,13 @@ class BookmarkModel : public KeyedService { |
// Returns the set of nodes with the |url|. |
void GetNodesByURL(const GURL& url, std::vector<const BookmarkNode*>* nodes); |
+ // Return the set of nodes and titles with the |url| and |title|. |
+ void GetNodesByURLAndTitle(const GURL& url, |
+ const base::string16 title, |
tfarina
2014/08/13 13:40:52
const base::string16&
Deepak
2014/08/14 02:54:50
Done.
|
+ const BookmarkNode* parent, |
+ std::vector<const BookmarkNode*>* nodes, |
+ std::vector<base::string16>* titles); |
tfarina
2014/08/13 13:40:52
why you here titles here?
Deepak
2014/08/14 02:54:50
As I am making a vector that have titles of the n
|
+ |
// 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. |