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

Unified Diff: chrome/browser/chromeos/hats/hats_notification_controller.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
Index: chrome/browser/chromeos/hats/hats_notification_controller.cc
diff --git a/chrome/browser/chromeos/hats/hats_notification_controller.cc b/chrome/browser/chromeos/hats/hats_notification_controller.cc
index 817f13ddd1b639043806591e0c37ba27989417a5..1b836fe03dd72d63bc96bf9f0d7a68744cd99232 100644
--- a/chrome/browser/chromeos/hats/hats_notification_controller.cc
+++ b/chrome/browser/chromeos/hats/hats_notification_controller.cc
@@ -18,12 +18,12 @@
#include "chrome/browser/chromeos/profiles/profile_helper.h"
#include "chrome/browser/notifications/notification_ui_manager.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/search/suggestions/image_decoder_impl.h"
#include "chrome/common/chrome_features.h"
#include "chrome/common/pref_names.h"
#include "chrome/grit/theme_resources.h"
#include "chromeos/chromeos_switches.h"
#include "chromeos/network/network_state.h"
+#include "components/image_fetcher/content/image_decoder_impl.h"
#include "components/image_fetcher/core/image_fetcher_impl.h"
#include "components/prefs/pref_service.h"
#include "ui/base/l10n/l10n_util.h"
@@ -227,7 +227,7 @@ void HatsNotificationController::OnPortalDetectionCompleted(
if (!image_fetcher_)
image_fetcher_.reset(new image_fetcher::ImageFetcherImpl(
- base::MakeUnique<suggestions::ImageDecoderImpl>(),
+ base::MakeUnique<image_fetcher::ImageDecoderImpl>(),
profile_->GetRequestContext()));
completed_requests_ = 0;

Powered by Google App Engine
This is Rietveld 408576698