[Icon cacher] Add metrics for downloading favicons for NTP Tiles
This CL adds metrics that report success for downloading favicons on
demand (both for existing code for PopularSites and for the new code for
MostLikely).
BUG=536988
Review-Url: https://codereview.chromium.org/2888393002
Cr-Commit-Position: refs/heads/master@{#473941}
diff --git a/components/ntp_tiles/icon_cacher_impl.h b/components/ntp_tiles/icon_cacher_impl.h
index 85d02b7..a124b2c 100644
--- a/components/ntp_tiles/icon_cacher_impl.h
+++ b/components/ntp_tiles/icon_cacher_impl.h
@@ -83,6 +83,8 @@
const GURL& page_url,
const favicon_base::LargeIconResult& result);
+ void OnMostLikelyFaviconDownloaded(const GURL& request_url, bool success);
+
bool StartRequest(const GURL& request_url,
const base::Closure& icon_available);
void FinishRequestAndNotifyIconAvailable(const GURL& request_url,