| Index: chrome/browser/ui/passwords/manage_passwords_bubble_model.cc
|
| diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc b/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc
|
| index 94430d5d71c61aeec4bc2c8066d3ea02bf006565..8fe645bced0a05f365b9f48794204d786f0bba78 100644
|
| --- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc
|
| +++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc
|
| @@ -460,7 +460,10 @@ bool ManagePasswordsBubbleModel::ShouldShowGoogleSmartLockWelcome() const {
|
| bool ManagePasswordsBubbleModel::ReplaceToShowSignInPromoIfNeeded() {
|
| DCHECK_EQ(password_manager::ui::PENDING_PASSWORD_STATE, state_);
|
| PrefService* prefs = GetProfile()->GetPrefs();
|
| - if (password_bubble_experiment::ShouldShowChromeSignInPasswordPromo(prefs)) {
|
| + const ProfileSyncService* sync_service =
|
| + ProfileSyncServiceFactory::GetForProfile(GetProfile());
|
| + if (password_bubble_experiment::ShouldShowChromeSignInPasswordPromo(
|
| + prefs, sync_service)) {
|
| interaction_keeper_->ReportInteractions(this);
|
| title_brand_link_range_ = gfx::Range();
|
| title_ = l10n_util::GetStringUTF16(IDS_PASSWORD_MANAGER_SIGNIN_PROMO_TITLE);
|
|
|