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

Unified Diff: components/suggestions/image_manager_unittest.cc

Issue 2715153006: Set desired_image_size when decoding images for NTP Tile icons. (Closed)
Patch Set: comment formatting 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/suggestions/image_manager_unittest.cc
diff --git a/components/suggestions/image_manager_unittest.cc b/components/suggestions/image_manager_unittest.cc
index a5869e8c8f206853e5db9370aa0ee7fe8f38e011..8846aefaeca9b6446db51345d67e9ce43cc4b1f4 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/geometry/size.h"
#include "ui/gfx/image/image.h"
#include "ui/gfx/image/image_skia.h"
#include "url/gurl.h"
@@ -53,6 +54,7 @@ class MockImageFetcher : public ImageFetcher {
const gfx::Image&)>));
MOCK_METHOD1(SetImageFetcherDelegate, void(ImageFetcherDelegate*));
MOCK_METHOD1(SetDataUseServiceName, void(DataUseServiceName));
+ MOCK_METHOD1(SetDesiredImageFrameSize, void(const gfx::Size&));
};
class ImageManagerTest : public testing::Test {
« no previous file with comments | « components/ntp_tiles/icon_cacher_impl_unittest.cc ('k') | ios/chrome/browser/suggestions/ios_image_decoder_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698