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

Unified Diff: chrome/browser/password_manager/update_password_infobar_delegate_android.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: chrome/browser/password_manager/update_password_infobar_delegate_android.h
diff --git a/chrome/browser/password_manager/update_password_infobar_delegate_android.h b/chrome/browser/password_manager/update_password_infobar_delegate_android.h
index 7bdf489e4419563ff262cb2bf5e643529a6d2536..b759f8076442a6401d69e8b94400c9eab35df9f0 100644
--- a/chrome/browser/password_manager/update_password_infobar_delegate_android.h
+++ b/chrome/browser/password_manager/update_password_infobar_delegate_android.h
@@ -9,6 +9,7 @@
#include <vector>
#include "base/macros.h"
+#include "base/memory/ref_counted.h"
#include "chrome/browser/password_manager/password_manager_infobar_delegate_android.h"
#include "chrome/browser/ui/passwords/manage_passwords_state.h"
#include "components/password_manager/core/browser/password_form_manager.h"
@@ -26,7 +27,7 @@ class UpdatePasswordInfoBarDelegate : public PasswordManagerInfoBarDelegate {
public:
static void Create(
content::WebContents* web_contents,
- std::unique_ptr<password_manager::PasswordFormManager> form_to_update);
+ scoped_refptr<password_manager::PasswordFormManager> form_to_update);
~UpdatePasswordInfoBarDelegate() override;
@@ -54,7 +55,7 @@ class UpdatePasswordInfoBarDelegate : public PasswordManagerInfoBarDelegate {
private:
UpdatePasswordInfoBarDelegate(
content::WebContents* web_contents,
- std::unique_ptr<password_manager::PasswordFormManager> form_to_update,
+ scoped_refptr<password_manager::PasswordFormManager> form_to_update,
bool is_smartlock_branding_enabled);
// ConfirmInfoBarDelegate:

Powered by Google App Engine
This is Rietveld 408576698