Index: chrome/browser/engagement/important_sites_util.h |
diff --git a/chrome/browser/engagement/important_sites_util.h b/chrome/browser/engagement/important_sites_util.h |
index 408dff05d7c3f92d8115c2b426b2f2caca2629b0..364da285f30c9036214524bce3d0bdab493af516 100644 |
--- a/chrome/browser/engagement/important_sites_util.h |
+++ b/chrome/browser/engagement/important_sites_util.h |
@@ -26,6 +26,16 @@ class ImportantSitesUtil { |
int32_t reason_bitfield = 0; |
}; |
+ // Do not change the values here, as they are used for UMA histograms. |
+ enum ImportantReason { |
+ ENGAGEMENT = 0, |
+ DURABLE = 1, |
+ BOOKMARKS = 2, |
+ HOME_SCREEN = 3, |
+ NOTIFICATIONS = 4, |
+ REASON_BOUNDARY |
+ }; |
+ |
static bool IsDialogDisabled(Profile* profile); |
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |