Index: components/favicon/core/favicon_handler.h |
diff --git a/components/favicon/core/favicon_handler.h b/components/favicon/core/favicon_handler.h |
index 9e6e22b9f97126bc1762aa49db194d4225a8f635..82aa0237b75bb5a68117b71326acfa42f8472d60 100644 |
--- a/components/favicon/core/favicon_handler.h |
+++ b/components/favicon/core/favicon_handler.h |
@@ -75,6 +75,13 @@ class FaviconService; |
class FaviconHandler { |
public: |
+ // Outcome of a single favicon download. |
+ // Recorded as Favicons.DownloadOutcome and public for testing. |
+ // |
+ // These values must stay in sync with the FaviconCacheStatus enum |
jkrcal
2017/04/10 12:29:38
nit: FaviconDownloadStatus
fhorschig
2017/04/10 13:45:37
Done.
|
+ // in histograms.xml. |
+ enum DownloadOutcome { SUCCEEDED = 0, FAILED = 1, SKIPPED = 2 }; |
+ |
class Delegate { |
public: |
// Mimics WebContents::ImageDownloadCallback. |