| Index: chrome/browser/ui/webui/sync_promo_ui.h
|
| diff --git a/chrome/browser/ui/webui/sync_promo_ui.h b/chrome/browser/ui/webui/sync_promo_ui.h
|
| index 1e1f783166b2dc9808bc2a2864b3b6d98e94a3bf..491436997f052dd6f27aea3b55034e71328b4ad7 100644
|
| --- a/chrome/browser/ui/webui/sync_promo_ui.h
|
| +++ b/chrome/browser/ui/webui/sync_promo_ui.h
|
| @@ -8,6 +8,8 @@
|
|
|
| #include "chrome/browser/ui/webui/chrome_web_ui.h"
|
|
|
| +class Profile;
|
| +
|
| // The Web UI handler for chrome://syncpromo.
|
| class SyncPromoUI : public ChromeWebUI {
|
| public:
|
| @@ -18,6 +20,13 @@ class SyncPromoUI : public ChromeWebUI {
|
| // Returns true if the sync promo should be visible.
|
| static bool ShouldShowSyncPromo();
|
|
|
| + // Returns true if we should show the sync promo at startup.
|
| + static bool ShouldShowSyncPromoAtStartup(Profile* profile,
|
| + bool is_new_profile);
|
| + // Called when the sync promo has been shown so that we can keep track
|
| + // of the number of times we've displayed it.
|
| + static void DidShowSyncPromoAtStartup(Profile* profile);
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(SyncPromoUI);
|
| };
|
|
|