Index: chrome/browser/ui/passwords/passwords_client_ui_delegate.h |
diff --git a/chrome/browser/ui/passwords/passwords_client_ui_delegate.h b/chrome/browser/ui/passwords/passwords_client_ui_delegate.h |
index 217424914face454e198cde07fac526239145ee9..b2b5928a8c88f272fe721ce341004f897a2e9963 100644 |
--- a/chrome/browser/ui/passwords/passwords_client_ui_delegate.h |
+++ b/chrome/browser/ui/passwords/passwords_client_ui_delegate.h |
@@ -10,7 +10,6 @@ |
#include <vector> |
#include "base/callback.h" |
-#include "base/memory/ref_counted.h" |
#include "base/strings/string16.h" |
#include "components/autofill/core/common/password_form.h" |
@@ -31,13 +30,13 @@ |
// This stores the provided object and triggers the UI to prompt the user |
// about whether they would like to save the password. |
virtual void OnPasswordSubmitted( |
- scoped_refptr<password_manager::PasswordFormManager> form_manager) = 0; |
+ std::unique_ptr<password_manager::PasswordFormManager> form_manager) = 0; |
// Called when the user submits a new password for an existing credential. |
// This stores the provided object and triggers the UI to prompt the user |
// about whether they would like to update the password. |
virtual void OnUpdatePasswordSubmitted( |
- scoped_refptr<password_manager::PasswordFormManager> form_manager) = 0; |
+ std::unique_ptr<password_manager::PasswordFormManager> form_manager) = 0; |
// Called when the site asks user to choose from credentials. This triggers |
// the UI to prompt the user. |local_credentials| shouldn't be empty. |origin| |
@@ -62,7 +61,7 @@ |
// Called when the password will be saved automatically, but we still wish to |
// visually inform the user that the save has occured. |
virtual void OnAutomaticPasswordSave( |
- scoped_refptr<password_manager::PasswordFormManager> form_manager) = 0; |
+ std::unique_ptr<password_manager::PasswordFormManager> form_manager) = 0; |
// Called when a form is autofilled with login information, so we can manage |
// password credentials for the current site which are stored in |