| Index: chrome/browser/favicon/favicon_service_factory.cc
|
| diff --git a/chrome/browser/favicon/favicon_service_factory.cc b/chrome/browser/favicon/favicon_service_factory.cc
|
| index 81528e4c69df599acce840c7d20146b536b1bbb4..00139213bcd91a9a7378ceaba1d11cbd367b12b6 100644
|
| --- a/chrome/browser/favicon/favicon_service_factory.cc
|
| +++ b/chrome/browser/favicon/favicon_service_factory.cc
|
| @@ -9,8 +9,11 @@
|
| #include "chrome/browser/favicon/chrome_favicon_client.h"
|
| #include "chrome/browser/history/history_service_factory.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| +#include "chrome/browser/search/suggestions/image_decoder_impl.h"
|
| #include "components/favicon/core/favicon_service.h"
|
| #include "components/history/core/browser/history_service.h"
|
| +#include "components/image_fetcher/image_decoder.h"
|
| +#include "components/image_fetcher/image_fetcher_impl.h"
|
| #include "components/keyed_service/content/browser_context_dependency_manager.h"
|
| #include "components/prefs/pref_service.h"
|
|
|
| @@ -19,10 +22,14 @@ namespace {
|
| std::unique_ptr<KeyedService> BuildFaviconService(
|
| content::BrowserContext* context) {
|
| Profile* profile = Profile::FromBrowserContext(context);
|
| +
|
| return base::MakeUnique<favicon::FaviconService>(
|
| base::WrapUnique(new ChromeFaviconClient(profile)),
|
| HistoryServiceFactory::GetForProfile(profile,
|
| - ServiceAccessType::EXPLICIT_ACCESS));
|
| + ServiceAccessType::EXPLICIT_ACCESS),
|
| + base::MakeUnique<image_fetcher::ImageFetcherImpl>(
|
| + base::MakeUnique<suggestions::ImageDecoderImpl>(),
|
| + profile->GetRequestContext()));
|
| }
|
|
|
| } // namespace
|
|
|