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

Unified Diff: chrome/browser/password_manager/chrome_password_manager_client.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
« no previous file with comments | « no previous file | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/chrome_password_manager_client.h
diff --git a/chrome/browser/password_manager/chrome_password_manager_client.h b/chrome/browser/password_manager/chrome_password_manager_client.h
index 9ec30cfa1399514c64aaa48ce93351bf595799ff..017652ee6a490abefa89e2325feaddf19ec7c3af 100644
--- a/chrome/browser/password_manager/chrome_password_manager_client.h
+++ b/chrome/browser/password_manager/chrome_password_manager_client.h
@@ -10,6 +10,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
+#include "base/memory/ref_counted.h"
#include "components/autofill/content/common/autofill_driver.mojom.h"
#include "components/password_manager/content/browser/content_password_manager_driver_factory.h"
#include "components/password_manager/content/browser/credential_manager_impl.h"
@@ -53,7 +54,7 @@ class ChromePasswordManagerClient
const HSTSCallback& callback) const override;
bool OnCredentialManagerUsed() override;
bool PromptUserToSaveOrUpdatePassword(
- std::unique_ptr<password_manager::PasswordFormManager> form_to_save,
+ scoped_refptr<password_manager::PasswordFormManager> form_to_save,
bool update_password) override;
bool PromptUserToChooseCredentials(
std::vector<std::unique_ptr<autofill::PasswordForm>> local_forms,
@@ -70,7 +71,7 @@ class ChromePasswordManagerClient
const autofill::PasswordForm& form) override;
void NotifyStorePasswordCalled() override;
void AutomaticPasswordSave(
- std::unique_ptr<password_manager::PasswordFormManager> saved_form_manager)
+ scoped_refptr<password_manager::PasswordFormManager> saved_form_manager)
override;
void PasswordWasAutofilled(
const std::map<base::string16, const autofill::PasswordForm*>&
« no previous file with comments | « no previous file | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698