Index: components/bookmarks/browser/bookmark_model.h |
diff --git a/components/bookmarks/browser/bookmark_model.h b/components/bookmarks/browser/bookmark_model.h |
index dbaf6070e6d202222d32f93d67893c8a0d323796..27837703d0adc6719ef330fb483cd6afe1d1bcb7 100644 |
--- a/components/bookmarks/browser/bookmark_model.h |
+++ b/components/bookmarks/browser/bookmark_model.h |
@@ -297,15 +297,20 @@ class BookmarkModel : public KeyedService { |
void SetNodeSyncTransactionVersion(const BookmarkNode* node, |
int64_t sync_transaction_version); |
- // Notify BookmarkModel that the favicons for |urls| have changed and have to |
- // be refetched. This notification is sent by BookmarkClient. |
- void OnFaviconChanged(const std::set<GURL>& urls); |
+ // Notify BookmarkModel that the favicons for the given page URLs (e.g. |
+ // http://www.google.com) and the given icon URL (e.g. |
+ // http://www.google.com/favicon.ico) have changed. It is valid to call |
+ // OnFaviconsChanged() with non-empty |page_urls| and an empty |icon_url| and |
+ // vice versa. |
+ void OnFaviconsChanged(const std::set<GURL>& page_urls, |
+ const GURL& icon_url); |
// Returns the client used by this BookmarkModel. |
BookmarkClient* client() const { return client_; } |
private: |
friend class BookmarkCodecTest; |
+ friend class BookmarkModelFaviconTest; |
friend class BookmarkStorage; |
friend class ScopedGroupBookmarkActions; |
friend class TestBookmarkClient; |