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

Unified Diff: components/favicon/core/test/mock_favicon_service.h

Issue 2721363002: Extend LargeIconService to fetch missing favicons from a Google server (Closed)
Patch Set: Add fallback_opts=TYPE Created 3 years, 9 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/favicon/core/test/mock_favicon_service.h
diff --git a/components/favicon/core/test/mock_favicon_service.h b/components/favicon/core/test/mock_favicon_service.h
index 376a266a12b3277a0592b78e247883803146006a..fcd1a99dd652152a987054ab503b0de15a50b5df 100644
--- a/components/favicon/core/test/mock_favicon_service.h
+++ b/components/favicon/core/test/mock_favicon_service.h
@@ -102,6 +102,12 @@ class MockFaviconService : public FaviconService {
const GURL& icon_url,
favicon_base::IconType icon_type,
const gfx::Image& image));
+ MOCK_METHOD5(SetLastResortFavicons,
+ void(const GURL& page_url,
+ const GURL& icon_url,
+ favicon_base::IconType icon_type,
+ const gfx::Image& image,
+ base::Callback<void(bool)> callback));
MOCK_METHOD1(UnableToDownloadFavicon, void(const GURL& icon_url));
MOCK_CONST_METHOD1(WasUnableToDownloadFavicon, bool(const GURL& icon_url));
MOCK_METHOD0(ClearUnableToDownloadFavicons, void());
« no previous file with comments | « components/favicon/core/large_icon_service_unittest.cc ('k') | ios/chrome/app/spotlight/spotlight_manager_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698