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

Unified Diff: chrome/browser/password_manager/update_password_infobar_delegate_android.cc

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.cc
diff --git a/chrome/browser/password_manager/update_password_infobar_delegate_android.cc b/chrome/browser/password_manager/update_password_infobar_delegate_android.cc
index ebc381addcc3bd3c239d38b13e5463ff01290dba..9e6e7a5eb794ce589b21afe9a3d28245dd8781c5 100644
--- a/chrome/browser/password_manager/update_password_infobar_delegate_android.cc
+++ b/chrome/browser/password_manager/update_password_infobar_delegate_android.cc
@@ -24,7 +24,7 @@
// static
void UpdatePasswordInfoBarDelegate::Create(
content::WebContents* web_contents,
- std::unique_ptr<password_manager::PasswordFormManager> form_to_save) {
+ scoped_refptr<password_manager::PasswordFormManager> form_to_save) {
const bool is_smartlock_branding_enabled =
password_bubble_experiment::IsSmartLockUser(
ProfileSyncServiceFactory::GetForProfile(
@@ -59,7 +59,7 @@ UpdatePasswordInfoBarDelegate::GetCurrentForms() const {
UpdatePasswordInfoBarDelegate::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)
: is_smartlock_branding_enabled_(is_smartlock_branding_enabled) {
base::string16 message;

Powered by Google App Engine
This is Rietveld 408576698