| Index: chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc
|
| diff --git a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc
|
| index 4c0920d235cedc0c7b9665202be3ad1614aaa0b5..cb35b3865fb6ce023842f585cf59d3674bb78acb 100644
|
| --- a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc
|
| +++ b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc
|
| @@ -132,7 +132,8 @@ bool SyncPromoUI::ShouldShowSyncPromo(Profile* profile) {
|
| // Display the signin promo if the user is not signed in.
|
| SigninManager* signin = SigninManagerFactory::GetForProfile(
|
| profile->GetOriginalProfile());
|
| - return signin->GetAuthenticatedUsername().empty();
|
| + return signin->IsSigninAllowed() &&
|
| + signin->GetAuthenticatedUsername().empty();
|
| #endif
|
| }
|
|
|
|
|