| 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 650362a78d0e7ebe03b0a9b8b8cd0c0f184ceeff..0c468727c49cf0980f2719391fe42f6ead849039 100644
|
| --- a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
|
| +++ b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
|
| @@ -14,15 +14,6 @@ class PrefService;
|
| // The Web UI handler for chrome://signin.
|
| class SyncPromoUI : public content::WebUIController {
|
| public:
|
| - enum Version {
|
| - VERSION_DEFAULT = 0,
|
| - VERSION_DEVICES,
|
| - VERSION_VERBOSE,
|
| - VERSION_SIMPLE,
|
| - VERSION_DIALOG,
|
| - VERSION_COUNT,
|
| - };
|
| -
|
| // Constructs a SyncPromoUI.
|
| explicit SyncPromoUI(content::WebUI* web_ui);
|
|
|
| @@ -31,11 +22,8 @@ class SyncPromoUI : public content::WebUIController {
|
| static bool ShouldShowSyncPromo(Profile* profile);
|
|
|
| // Returns true if we should show the sync promo at startup.
|
| - // On return |promo_suppressed| is true if a sync promo would normally
|
| - // have been shown but was suppressed due to a experiment.
|
| static bool ShouldShowSyncPromoAtStartup(Profile* profile,
|
| - bool is_new_profile,
|
| - bool* promo_suppressed);
|
| + 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.
|
| @@ -73,11 +61,6 @@ class SyncPromoUI : public content::WebUIController {
|
| // Gets the source from the query portion of the sync promo URL.
|
| static std::string GetSourceForSyncPromoURL(const GURL& url);
|
|
|
| - // Returns the version of the sync promo UI that we should display.
|
| - // Each version changes the UI slightly (for example, replacing text with
|
| - // an infographic).
|
| - static Version GetSyncPromoVersion();
|
| -
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(SyncPromoUI);
|
| };
|
|
|