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

Unified Diff: components/ntp_tiles/icon_cacher_unittest.cc

Issue 2715153006: Set desired_image_size when decoding images for NTP Tile icons. (Closed)
Patch Set: ax Created 3 years, 10 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: components/ntp_tiles/icon_cacher_unittest.cc
diff --git a/components/ntp_tiles/icon_cacher_unittest.cc b/components/ntp_tiles/icon_cacher_unittest.cc
index 2a65f959445adb5d0c5cccc8aacdc110115ad3e3..2176b984572c173a6d09e33294493c77041602e6 100644
--- a/components/ntp_tiles/icon_cacher_unittest.cc
+++ b/components/ntp_tiles/icon_cacher_unittest.cc
@@ -37,6 +37,7 @@ class MockImageFetcher : public image_fetcher::ImageFetcher {
const GURL& image_url,
base::Callback<void(const std::string& id,
const gfx::Image& image)> callback));
+ MOCK_METHOD1(SetDesiredImageFrameSize, void(const gfx::Size&));
};
class IconCacherTest : public ::testing::Test {

Powered by Google App Engine
This is Rietveld 408576698