Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: chrome/browser/engagement/important_sites_util.h

Issue 2716333002: Implement important sites dialog for desktop. (Closed)
Patch Set: change element.$.someId to element.$$(#someId) Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_important_sites_util.cc ('k') | chrome/browser/engagement/important_sites_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698