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

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: Add default resource attribute to Site 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 0142bad46c121057f09f98857598861a1bd2a259..1e730fa7d2f40f643b8aea56add749f9b19aae6d 100644
--- a/components/ntp_tiles/most_visited_sites_unittest.cc
+++ b/components/ntp_tiles/most_visited_sites_unittest.cc
@@ -196,6 +196,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));
sfiera 2017/02/16 18:54:16 Obsolete?
fhorschig 2017/02/17 16:24:03 Gone.
};
class PopularSitesFactoryForTest {

Powered by Google App Engine
This is Rietveld 408576698