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

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

Issue 446003002: Title: Same Bookmark url is getting pasted on the Bookmarkbar with same title. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 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.

Powered by Google App Engine
This is Rietveld 408576698