| 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 4378668ffd0d4f05d31a133e8108e9b9d374687e..c4510ea27499321311fad4f50e6d1aa5ae7eac7c 100644
|
| --- a/chrome/browser/ui/webui/sync_promo/sync_promo_trial.h
|
| +++ b/chrome/browser/ui/webui/sync_promo/sync_promo_trial.h
|
| @@ -15,36 +15,14 @@ class WebUI;
|
|
|
| namespace sync_promo_trial {
|
|
|
| -enum StartupOverride {
|
| - STARTUP_OVERRIDE_NONE,
|
| - STARTUP_OVERRIDE_SHOW,
|
| - STARTUP_OVERRIDE_HIDE,
|
| -};
|
| -
|
| -// Activate the field trial.
|
| -void Activate();
|
| -
|
| -// Returns the start up override value for any currently running sync promo
|
| -// trials.
|
| -StartupOverride GetStartupOverrideForCurrentTrial();
|
| -
|
| // Records that the user was shown the sync promo for any currently running sync
|
| // promo trials. |web_ui| is the web UI where the promo was shown.
|
| void RecordUserShownPromo(content::WebUI* web_ui);
|
|
|
| -// Records that the sync promo was not shown to the user (when it normally
|
| -// would have been shown) because of the current trial.
|
| -void RecordSyncPromoSuppressedForCurrentTrial();
|
| -
|
| // Records that the user signed into sync for any currently running sync promo
|
| // trials. |web_ui| is the web UI where the user signed into sync.
|
| void RecordUserSignedIn(content::WebUI* web_ui);
|
|
|
| -// Returns true if a sync promo trial is running that overrides the sync promo
|
| -// version. If such a trial is running then on return |version| will contain the
|
| -// version of the sync promo to show. |version| must not be NULL.
|
| -bool GetSyncPromoVersionForCurrentTrial(SyncPromoUI::Version* version);
|
| -
|
| } // namespace sync_promo_trial
|
|
|
| #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_TRIAL_H_
|
|
|