| Index: chrome/browser/engagement/important_sites_util.cc
|
| diff --git a/chrome/browser/engagement/important_sites_util.cc b/chrome/browser/engagement/important_sites_util.cc
|
| index 96b8b01bd4058fa950c848b103280ec0594fca90..e31a809d8242b91e6264d4cd2497911401ca6cff 100644
|
| --- a/chrome/browser/engagement/important_sites_util.cc
|
| +++ b/chrome/browser/engagement/important_sites_util.cc
|
| @@ -36,6 +36,7 @@
|
| namespace {
|
| using bookmarks::BookmarkModel;
|
| using ImportantDomainInfo = ImportantSitesUtil::ImportantDomainInfo;
|
| +using ImportantReason = ImportantSitesUtil::ImportantReason;
|
|
|
| // Note: These values are stored on both the per-site content settings
|
| // dictionary and the dialog preference dictionary.
|
| @@ -51,16 +52,6 @@ static const int kTimesIgnoredForBlacklist = 3;
|
| // bookmarks on site engagement > 0, sort, and trim to kMaxBookmarks.
|
| static const int kMaxBookmarks = 5;
|
|
|
| -// 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
|
| -};
|
| -
|
| // We need this to be a macro, as the histogram macros cache their pointers
|
| // after the first call, so when we change the uma name we check fail if we're
|
| // just a method.
|
|
|