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

Unified Diff: chrome/browser/ui/webui/sync_promo/sync_promo_trial.h

Issue 9007041: [Sync Promo UI] Change data reporting to differentiate between startup and other (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/ui/webui/sync_promo/sync_promo_trial.h
diff --git a/chrome/browser/ui/webui/sync_promo/sync_promo_trial.h b/chrome/browser/ui/webui/sync_promo/sync_promo_trial.h
index c6ed97b4631d26f4b0119315efad77dae0dc346a..aec50a6e21c631a184a6bd7b37a1e4ab72039c9d 100644
--- a/chrome/browser/ui/webui/sync_promo/sync_promo_trial.h
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_trial.h
@@ -7,6 +7,8 @@
#include "base/basictypes.h"
+class Profile;
+
// These helpers manage the Sync Promo field trial.
//
// The sync promo experiment involves changing the message body in the sign in
@@ -66,7 +68,7 @@ namespace sync_promo_trial {
// Record that a user was shown the promo when tagged with an experimental
// brand code.
- void RecordUserShownPromoWithTrialBrand();
+ void RecordUserShownPromoWithTrialBrand(bool is_at_startup, Profile* profile);
// Record the appropriate UMA stat for when a user successfully signs in to
// GAIA.
@@ -74,7 +76,7 @@ namespace sync_promo_trial {
// Record that a user signed in while tagged with a brand code currently being
// used in a field trial.
- void RecordUserSignedInWithTrialBrand();
+ void RecordUserSignedInWithTrialBrand(bool is_at_startup, Profile* profile);
// If we've been tagged with any of the experimental brands to show the sync
// promo.
« no previous file with comments | « chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc ('k') | chrome/browser/ui/webui/sync_promo/sync_promo_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698