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

Unified Diff: chrome/browser/search/suggestions/image_fetcher_impl_browsertest.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/search/suggestions/image_fetcher_impl_browsertest.cc
diff --git a/chrome/browser/search/suggestions/image_fetcher_impl_browsertest.cc b/chrome/browser/search/suggestions/image_fetcher_impl_browsertest.cc
index 29c4583b4dd86aff92d49532155578b8bc74b80d..df02b3caf01e794d2622460a3e11954d62d7014a 100644
--- a/chrome/browser/search/suggestions/image_fetcher_impl_browsertest.cc
+++ b/chrome/browser/search/suggestions/image_fetcher_impl_browsertest.cc
@@ -12,9 +12,9 @@
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/search/suggestions/image_decoder_impl.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/in_process_browser_test.h"
+#include "components/image_fetcher/content/image_decoder_impl.h"
#include "components/image_fetcher/core/image_fetcher_delegate.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -75,10 +75,9 @@ class ImageFetcherImplBrowserTest : public InProcessBrowserTest {
}
ImageFetcherImpl* CreateImageFetcher() {
- ImageFetcherImpl* fetcher =
- new ImageFetcherImpl(
- base::MakeUnique<suggestions::ImageDecoderImpl>(),
- browser()->profile()->GetRequestContext());
+ ImageFetcherImpl* fetcher = new ImageFetcherImpl(
+ base::MakeUnique<image_fetcher::ImageDecoderImpl>(),
+ browser()->profile()->GetRequestContext());
fetcher->SetImageFetcherDelegate(&delegate_);
return fetcher;
}

Powered by Google App Engine
This is Rietveld 408576698