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

Unified Diff: ios/chrome/browser/passwords/ios_chrome_password_manager_infobar_delegate.h

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_password_manager_infobar_delegate.h
diff --git a/ios/chrome/browser/passwords/ios_chrome_password_manager_infobar_delegate.h b/ios/chrome/browser/passwords/ios_chrome_password_manager_infobar_delegate.h
index afc444a499807753e2c4be23f193ce35b937f0bf..a36385fd7f8305db7b07529e172f9694431b0087 100644
--- a/ios/chrome/browser/passwords/ios_chrome_password_manager_infobar_delegate.h
+++ b/ios/chrome/browser/passwords/ios_chrome_password_manager_infobar_delegate.h
@@ -26,7 +26,7 @@ class IOSChromePasswordManagerInfoBarDelegate : public ConfirmInfoBarDelegate {
protected:
IOSChromePasswordManagerInfoBarDelegate(
bool is_smart_lock_branding_enabled,
- std::unique_ptr<password_manager::PasswordFormManager> form_manager);
+ scoped_refptr<password_manager::PasswordFormManager> form_manager);
password_manager::PasswordFormManager* form_to_save() const {
return form_to_save_.get();
@@ -50,7 +50,7 @@ class IOSChromePasswordManagerInfoBarDelegate : public ConfirmInfoBarDelegate {
// The password_manager::PasswordFormManager managing the form we're asking
// the user about, and should save as per their decision.
- std::unique_ptr<password_manager::PasswordFormManager> form_to_save_;
+ scoped_refptr<password_manager::PasswordFormManager> form_to_save_;
// Used to track the results we get from the info bar.
password_manager::metrics_util::UIDismissalReason infobar_response_;

Powered by Google App Engine
This is Rietveld 408576698