Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Unified Diff: ios/chrome/browser/passwords/ios_chrome_update_password_infobar_delegate.mm

Issue 2900693002: [Password Manager] Convert |pending_login_managers_| to an array of scoped_refptr (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/passwords/ios_chrome_update_password_infobar_delegate.mm
diff --git a/ios/chrome/browser/passwords/ios_chrome_update_password_infobar_delegate.mm b/ios/chrome/browser/passwords/ios_chrome_update_password_infobar_delegate.mm
index 19afa4839aba4fabfdd686d7a650b9c790069ccd..0929fcf6a3d8c0f5c0db90208c29af13db33dc4c 100644
--- a/ios/chrome/browser/passwords/ios_chrome_update_password_infobar_delegate.mm
+++ b/ios/chrome/browser/passwords/ios_chrome_update_password_infobar_delegate.mm
@@ -27,7 +27,7 @@ using password_manager::PasswordFormManager;
void IOSChromeUpdatePasswordInfoBarDelegate::Create(
bool is_smart_lock_branding_enabled,
infobars::InfoBarManager* infobar_manager,
- std::unique_ptr<PasswordFormManager> form_manager) {
+ scoped_refptr<PasswordFormManager> form_manager) {
DCHECK(infobar_manager);
auto delegate = base::WrapUnique(new IOSChromeUpdatePasswordInfoBarDelegate(
is_smart_lock_branding_enabled, std::move(form_manager)));
@@ -43,7 +43,7 @@ IOSChromeUpdatePasswordInfoBarDelegate::
IOSChromeUpdatePasswordInfoBarDelegate::IOSChromeUpdatePasswordInfoBarDelegate(
bool is_smart_lock_branding_enabled,
- std::unique_ptr<PasswordFormManager> form_manager)
+ scoped_refptr<PasswordFormManager> form_manager)
: IOSChromePasswordManagerInfoBarDelegate(is_smart_lock_branding_enabled,
std::move(form_manager)) {
selected_account_ = form_to_save()->preferred_match()->username_value;

Powered by Google App Engine
This is Rietveld 408576698