| 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 d275afe0dbf23a0fcf6fd4e13205a21149e6cdf5..d00363c4222c0703ff5cde51f6c14ee11be6a7e2 100644
|
| --- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc
|
| +++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc
|
| @@ -32,6 +32,7 @@
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
| #if defined(OS_WIN)
|
| +#include "chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion.h"
|
| #include "chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.h"
|
| #endif
|
|
|
| @@ -459,8 +460,6 @@ bool ManagePasswordsBubbleModel::ReplaceToShowPromotionIfNeeded() {
|
| title_ = l10n_util::GetStringUTF16(
|
| IDS_PASSWORD_MANAGER_DESKTOP_TO_IOS_PROMO_TITLE);
|
| state_ = password_manager::ui::CHROME_DESKTOP_IOS_PROMO_STATE;
|
| - // TODO(crbug.com/676655): Update impression count.
|
| - // TODO(crbug.com/676655): Add required logging.
|
| return true;
|
| }
|
| #endif
|
| @@ -472,6 +471,10 @@ void ManagePasswordsBubbleModel::SetClockForTesting(
|
| interaction_keeper_->SetClockForTesting(std::move(clock));
|
| }
|
|
|
| +DesktopIOSPromotion* ManagePasswordsBubbleModel::GetDesktopIOSPromotion() {
|
| + return delegate_->GetDesktopIOSPromotion();
|
| +}
|
| +
|
| void ManagePasswordsBubbleModel::UpdatePendingStateTitle() {
|
| title_brand_link_range_ = gfx::Range();
|
| PasswordTitleType type =
|
|
|