| 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 592af9fc33619ff1bea8b3fba96eb4e013d498d9..59f98763c670c854f12aad19b32fd74797931b95 100644
|
| --- a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
|
| +++ b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
|
| @@ -67,6 +67,11 @@ class SyncPromoUI : public content::WebUIController {
|
| // Returns whether the given sync URL contains auto_close parameter.
|
| static bool GetAutoCloseForSyncPromoURL(const GURL& url);
|
|
|
| + // Returns true if chrome should use the web-based sign in flow, false if
|
| + // chrome should use the ClientLogin flow. This function will return true
|
| + // only for platforms where |ENABLE_ONE_CLICK_SIGNIN| is defined.
|
| + static bool UseWebBasedSigninFlow();
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(SyncPromoUI);
|
| };
|
|
|