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

Unified Diff: components/ntp_tiles/most_visited_sites_unittest.cc

Issue 2695713004: Add baked-in favicons for default popular sites on NTP (Closed)
Patch Set: Have python script adhere to guidelines 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/most_visited_sites_unittest.cc
diff --git a/components/ntp_tiles/most_visited_sites_unittest.cc b/components/ntp_tiles/most_visited_sites_unittest.cc
index a4c040626ce2c9fffdd549d1369038f595958f8d..75eaa8c7765848a3c6a5930bd1bcdb984cb9b109 100644
--- a/components/ntp_tiles/most_visited_sites_unittest.cc
+++ b/components/ntp_tiles/most_visited_sites_unittest.cc
@@ -195,6 +195,8 @@ class MockIconCacher : public IconCacher {
MOCK_METHOD2(StartFetch,
void(PopularSites::Site site,
const base::Callback<void(bool)>& done));
+ MOCK_METHOD2(AddDefaultImage,
+ void(const PopularSites::Site& site, int image_resource_id));
};
class PopularSitesFactoryForTest {

Powered by Google App Engine
This is Rietveld 408576698