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

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

Issue 302433010: Pass an instance of FaviconClient to FaviconService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@latest2
Patch Set: Created 6 years, 7 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 e2374e7cf2342e6e630b511c10cd98c4859092ae..0fc2cf4867337e7518bf8bf5e07bd9e5c93b9851 100644
--- a/chrome/browser/favicon/favicon_service.cc
+++ b/chrome/browser/favicon/favicon_service.cc
@@ -64,10 +64,12 @@ base::CancelableTaskTracker::TaskId GetFaviconForChromeURL(
} // namespace
-FaviconService::FaviconService(Profile* profile)
- : history_service_(HistoryServiceFactory::GetForProfile(
- profile, Profile::EXPLICIT_ACCESS)),
- profile_(profile) {
+FaviconService::FaviconService(Profile* profile, FaviconClient* favicon_client)
+ : history_service_(
+ HistoryServiceFactory::GetForProfile(profile,
+ Profile::EXPLICIT_ACCESS)),
+ profile_(profile),
+ favicon_client_(favicon_client) {
}
// static

Powered by Google App Engine
This is Rietveld 408576698