Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1668)

Unified Diff: chrome/browser/favicon/favicon_service.cc

Issue 375613002: Bypass the favicon_service when importing favicons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed friend. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/favicon/favicon_service.cc
diff --git a/chrome/browser/favicon/favicon_service.cc b/chrome/browser/favicon/favicon_service.cc
index a45c6afe181f7f827c210e7665e90eb5392f1860..b55bb29fe2bf44e5e2448a3282a504cf0a83e501 100644
--- a/chrome/browser/favicon/favicon_service.cc
+++ b/chrome/browser/favicon/favicon_service.cc
@@ -12,7 +12,6 @@
#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"
@@ -284,12 +283,6 @@ void FaviconService::CloneFavicon(const GURL& old_page_url,
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,

Powered by Google App Engine
This is Rietveld 408576698