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

Unified Diff: chrome/browser/ui/webui/sync_promo/sync_promo_ui.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_ui.h
diff --git a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
index 2a3e4cb04e9dcfcc073beee1be21ff7983185262..5079c1063d5e4b24e00bd3807f9754c1c0bf1c12 100644
--- a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
@@ -30,6 +30,9 @@ class SyncPromoUI : public ChromeWebUI {
// of the number of times we've displayed it.
static void DidShowSyncPromoAtStartup(Profile* profile);
+ // Returns true if a user has seen the sync promo at startup previously.
+ static bool HasShownPromoAtStartup(Profile* profile);
+
// Returns true if the user has previously skipped the sync promo.
static bool HasUserSkippedSyncPromo(Profile* profile);
« no previous file with comments | « chrome/browser/ui/webui/sync_promo/sync_promo_trial.cc ('k') | chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698