Index: chrome/browser/favicon/favicon_service.h |
diff --git a/chrome/browser/favicon/favicon_service.h b/chrome/browser/favicon/favicon_service.h |
index 4fb313b3531c6fe5beed118976ce5eeee230f303..d8d2c1c7464f9f39382b02ac91d29ea2ba3b23a0 100644 |
--- a/chrome/browser/favicon/favicon_service.h |
+++ b/chrome/browser/favicon/favicon_service.h |
@@ -82,6 +82,13 @@ class FaviconService : public CancelableRequestProvider { |
// Marks all types of favicon for the page as being out of date. |
void SetFaviconOutOfDateForPage(const GURL& page_url); |
+ // Clones all icons from an existing page. This associates the icons from |
+ // |old_page_url| with |new_page_url|, provided |new_page_url| has no |
+ // recorded associations to any other icons. |
+ // Needed if you want to declare favicons (tentatively) in advance, before a |
+ // page is ever visited. |
+ void CloneFavicon(const GURL& old_page_url, const GURL& new_page_url); |
+ |
// Allows the importer to set many favicons for many pages at once. The pages |
// must exist, any favicon sets for unknown pages will be discarded. Existing |
// favicons will not be overwritten. |