Index: components/bookmarks/browser/bookmark_model.h |
diff --git a/components/bookmarks/browser/bookmark_model.h b/components/bookmarks/browser/bookmark_model.h |
index e222790c4dc1a74035bc837566ef089f1e770ef0..14353de1dcb1fa2220547043b2bf9e5b0151c800 100644 |
--- a/components/bookmarks/browser/bookmark_model.h |
+++ b/components/bookmarks/browser/bookmark_model.h |
@@ -166,6 +166,10 @@ class BookmarkModel : public KeyedService { |
// Returns the set of nodes with the |url|. |
void GetNodesByURL(const GURL& url, std::vector<const BookmarkNode*>* nodes); |
+ // Returns the set of nodes which use the favicon at |icon_url|. |
+ void GetNodesByIconURL(const GURL& icon_url, |
+ std::vector<const BookmarkNode*>* nodes); |
+ |
// 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. |
@@ -296,9 +300,12 @@ class BookmarkModel : public KeyedService { |
void SetNodeSyncTransactionVersion(const BookmarkNode* node, |
int64 sync_transaction_version); |
- // Notify BookmarkModel that the favicons for |urls| have changed and have to |
+ // Notify BookmarkModel that the favicons for the given page URLs |
+ // (e.g. http://www.google.com) and the given icon URLs (e.g. |
+ // http://www.google.com/favicon.ico) have changed and have to |
// be refetched. This notification is sent by BookmarkClient. |
- void OnFaviconChanged(const std::set<GURL>& urls); |
+ void OnFaviconChanged(const std::vector<GURL>& page_urls, |
Roger McFarlane (Chromium)
2015/05/13 16:07:05
you've used OnFaviconsChanged elsewhere
pkotwicz
2015/05/13 17:26:49
Done.
|
+ const std::vector<GURL>& icon_urls); |
// Returns the client used by this BookmarkModel. |
BookmarkClient* client() const { return client_; } |