Chromium Code Reviews| Index: components/history/core/browser/history_backend.h |
| diff --git a/components/history/core/browser/history_backend.h b/components/history/core/browser/history_backend.h |
| index 76d4b50b0b0c64248453f8b46bd3a76228dcc150..620bf1e28e67f04b50101fa09bf9b5fcf63409e6 100644 |
| --- a/components/history/core/browser/history_backend.h |
| +++ b/components/history/core/browser/history_backend.h |
| @@ -484,6 +484,8 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>, |
| FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, |
| SetFaviconMappingsForPageAndRedirects); |
| FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, |
| + SetFaviconMappingsForPageAndRedirectsWithFragment); |
| + FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, |
| SetFaviconMappingsForPageDuplicates); |
| FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, SetFaviconsDeleteBitmaps); |
| FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, SetFaviconsReplaceBitmapData); |
| @@ -693,6 +695,13 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>, |
| favicon_base::IconType icon_type, |
| const std::vector<favicon_base::FaviconID>& icon_ids); |
| + // Maps the favicon ids in |icon_ids| to URLs in |page_urls| for |icon_type|. |
| + // Returns true if the function changed some of the |page_urls| mappings. |
|
sky
2015/06/19 14:49:53
some->at least one
beaudoin
2015/07/06 18:27:24
Done.
|
| + bool SetFaviconMappingsForPages( |
| + const std::vector<GURL>& page_urls, |
| + favicon_base::IconType icon_type, |
| + const std::vector<favicon_base::FaviconID>& icon_ids); |
| + |
| // Maps the favicon ids in |icon_ids| to |page_url| for |icon_type|. |
| // Returns true if the function changed some of |page_url|'s mappings. |
| bool SetFaviconMappingsForPage( |