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

Unified Diff: chrome/browser/signin/signin_promo.h

Issue 568603002: Upstream changes for android signin promo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: todo added for experiment params Created 6 years, 3 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/signin/signin_promo.h
diff --git a/chrome/browser/signin/signin_promo.h b/chrome/browser/signin/signin_promo.h
index 61fc9aae670c890cc08d370193ead11334d1c91b..62bef7effeade04429f920801f1d51974c363656 100644
--- a/chrome/browser/signin/signin_promo.h
+++ b/chrome/browser/signin/signin_promo.h
@@ -43,6 +43,26 @@ enum Source {
SOURCE_UNKNOWN, // This must be last.
};
+// Enum values used for Android signin promo actions.
+enum AndroidSigninPromoAction {
+ // The promo was enabled.
+ HISTOGRAM_ANDROID_SIGNIN_PROMO_ENABLED = 0,
+
+ // The promo was shown.
+ HISTOGRAM_ANDROID_SIGNIN_PROMO_SHOWN,
+
+ // The promo was declined.
+ HISTOGRAM_ANDROID_SIGNIN_PROMO_DECLINED,
+
+ // The promo was accepted.
+ HISTOGRAM_ANDROID_SIGNIN_PROMO_ACCEPTED,
+
+ // The promo was accepted and user clicked the settings link.
+ HISTOGRAM_ANDROID_SIGNIN_PROMO_ACCEPTED_WITH_ADVANCED,
+
+ HISTOGRAM_ANDROID_SIGNIN_PROMO_MAX,
+};
+
// Returns true if the sign in promo should be visible.
// |profile| is the profile of the tab the promo would be shown on.
bool ShouldShowPromo(Profile* profile);

Powered by Google App Engine
This is Rietveld 408576698