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

Unified Diff: components/suggestions/image_manager_unittest.cc

Issue 1974013002: Replace SkBitmap with gfx::Image in the ImageFetcher API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync again Created 4 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
« no previous file with comments | « components/suggestions/image_manager.cc ('k') | ios/chrome/browser/suggestions/image_fetcher_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/suggestions/image_manager_unittest.cc
diff --git a/components/suggestions/image_manager_unittest.cc b/components/suggestions/image_manager_unittest.cc
index 76562b9effa6bd7cb7a57174aa463d1e4c13fd4c..9ac3f08934e70068eada64be6e7ca94704490547 100644
--- a/components/suggestions/image_manager_unittest.cc
+++ b/components/suggestions/image_manager_unittest.cc
@@ -19,6 +19,7 @@
#include "components/suggestions/proto/suggestions.pb.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "ui/gfx/image/image.h"
#include "ui/gfx/image/image_skia.h"
#include "url/gurl.h"
@@ -48,7 +49,7 @@ class MockImageFetcher : public ImageFetcher {
virtual ~MockImageFetcher() {}
MOCK_METHOD3(StartOrQueueNetworkRequest,
void(const GURL&, const GURL&,
- base::Callback<void(const GURL&, const SkBitmap*)>));
+ base::Callback<void(const GURL&, const gfx::Image&)>));
MOCK_METHOD1(SetImageFetcherDelegate, void(ImageFetcherDelegate*));
};
« no previous file with comments | « components/suggestions/image_manager.cc ('k') | ios/chrome/browser/suggestions/image_fetcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698