Index: chrome/browser/favicon/favicon_service.cc |
diff --git a/chrome/browser/favicon/favicon_service.cc b/chrome/browser/favicon/favicon_service.cc |
index b55bb29fe2bf44e5e2448a3282a504cf0a83e501..a45c6afe181f7f827c210e7665e90eb5392f1860 100644 |
--- a/chrome/browser/favicon/favicon_service.cc |
+++ b/chrome/browser/favicon/favicon_service.cc |
@@ -12,6 +12,7 @@ |
#include "chrome/browser/history/history_service.h" |
#include "chrome/browser/history/history_service_factory.h" |
#include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" |
+#include "chrome/common/importer/imported_favicon_usage.h" |
#include "chrome/common/url_constants.h" |
#include "components/favicon_base/favicon_types.h" |
#include "components/favicon_base/favicon_util.h" |
@@ -283,6 +284,12 @@ |
history_service_->CloneFavicons(old_page_url, new_page_url); |
} |
+void FaviconService::SetImportedFavicons( |
+ const std::vector<ImportedFaviconUsage>& favicon_usage) { |
+ if (history_service_) |
+ history_service_->SetImportedFavicons(favicon_usage); |
+} |
+ |
void FaviconService::MergeFavicon( |
const GURL& page_url, |
const GURL& icon_url, |