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

Unified Diff: ios/chrome/browser/pref_names.cc

Issue 2643723004: Add Desktop iOS promotion logging to chrome ios app. (Closed)
Patch Set: to be submitted Created 3 years, 11 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: ios/chrome/browser/pref_names.cc
diff --git a/ios/chrome/browser/pref_names.cc b/ios/chrome/browser/pref_names.cc
index 0f75891881a2994a01b2fc19aac88864a4f13d39..056788e9951b4d9d4b4b57839fdf9809c1406fea 100644
--- a/ios/chrome/browser/pref_names.cc
+++ b/ios/chrome/browser/pref_names.cc
@@ -139,4 +139,25 @@ const char kOmniboxGeolocationLastAuthorizationAlertVersion[] =
const char kRateThisAppDialogLastShownTime[] =
"ios.ratethisapp.dialog_last_shown_time";
+// Index of the entry point that initiated sending the SMS to the user for the
+// "desktop to iOS" promotion (see DesktopIOSPromotion.IOSSigninReason histogram
+// for details).
+const char kDesktopIOSPromotionSMSEntryPoint[] =
+ "ios.desktop_ios_promo_sms_entrypoint";
+
+// Indexes of the entry points presented to the user for "desktop to iOS"
+// promotion
+const char kDesktopIOSPromotionShownEntryPoints[] =
+ "ios.desktop_ios_promo_shown_entrypoints";
+
+// Timestamp of the last "desktop to iOS" promotion SMS dispatch or of the last
+// impression (if no SMS was sent).
+const char kDesktopIOSPromotionLastImpression[] =
+ "ios.desktop_ios_promo_last_impression";
+
+// True if the "desktop to iOS" promotion was successful, i.e. user installed
+// the application and signed in after seeing the promotion and receiving the
+// SMS.
+const char kDesktopIOSPromotionDone[] = "ios.desktop_ios_promo_done";
+
} // namespace prefs

Powered by Google App Engine
This is Rietveld 408576698