Index: components/favicon/core/favicon_handler.h |
diff --git a/components/favicon/core/favicon_handler.h b/components/favicon/core/favicon_handler.h |
index 24d849e0900f8c30c39c4f6cb4eaa8bbdc538e89..30c0b1df498a75d7fa63229de28d3941d0af158e 100644 |
--- a/components/favicon/core/favicon_handler.h |
+++ b/components/favicon/core/favicon_handler.h |
@@ -75,6 +75,19 @@ class FaviconService; |
class FaviconHandler { |
public: |
+ // Outcome of a favicon download. |
+ // Recorded as Favicons.DownloadOutcome and public for testing. |
+ // |
+ // These values must stay in sync with the FaviconDownloadStatus enum |
+ // in histograms.xml and should be treated as append-only, since it backs an |
+ // UMA histogram.. |
+ enum class DownloadOutcome { |
+ SUCCEEDED = 0, |
+ FAILED = 1, |
+ SKIPPED = 2, |
+ DOWNLOAD_OUTCOME_COUNT = 3 |
+ }; |
+ |
class Delegate { |
public: |
// Mimics WebContents::ImageDownloadCallback. |