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

Unified Diff: chrome/browser/android/logo_bridge.cc

Issue 2763103002: Move ImageDecoder to components/image_fetcher/content (Closed)
Patch Set: Rebased. Created 3 years, 9 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
« no previous file with comments | « chrome/browser/android/download/ui/thumbnail_provider.cc ('k') | chrome/browser/android/logo_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/logo_bridge.cc
diff --git a/chrome/browser/android/logo_bridge.cc b/chrome/browser/android/logo_bridge.cc
index 82de78ae10bd0aa5aa311c157e8d6b369282dc15..f7ce7f64940e6b70ed4e94234503b4bb2daa5130 100644
--- a/chrome/browser/android/logo_bridge.cc
+++ b/chrome/browser/android/logo_bridge.cc
@@ -19,7 +19,7 @@
#include "chrome/browser/doodle/doodle_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_android.h"
-#include "chrome/browser/search/suggestions/image_decoder_impl.h"
+#include "components/image_fetcher/content/image_decoder_impl.h"
#include "components/image_fetcher/core/image_fetcher_impl.h"
#include "components/search_provider_logos/logo_tracker.h"
#include "jni/LogoBridge_jni.h"
@@ -199,7 +199,7 @@ LogoBridge::LogoBridge(jobject j_profile)
if (base::FeatureList::IsEnabled(chrome::android::kUseNewDoodleApi)) {
doodle_service_ = DoodleServiceFactory::GetForProfile(profile);
image_fetcher_ = base::MakeUnique<image_fetcher::ImageFetcherImpl>(
- base::MakeUnique<suggestions::ImageDecoderImpl>(),
+ base::MakeUnique<image_fetcher::ImageDecoderImpl>(),
profile->GetRequestContext());
doodle_observer_.Add(doodle_service_);
« no previous file with comments | « chrome/browser/android/download/ui/thumbnail_provider.cc ('k') | chrome/browser/android/logo_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698