| Index: components/password_manager/core/browser/password_manager_client.h
|
| diff --git a/components/password_manager/core/browser/password_manager_client.h b/components/password_manager/core/browser/password_manager_client.h
|
| index b13ff48bcba0d0595082d511ea7d2daf975b210b..cebe40121422158104e9d41e44647b9193a9ba0f 100644
|
| --- a/components/password_manager/core/browser/password_manager_client.h
|
| +++ b/components/password_manager/core/browser/password_manager_client.h
|
| @@ -42,7 +42,13 @@ class PasswordManagerClient {
|
| // Informs the embedder of a password form that can be saved if the user
|
| // allows it. The embedder is not required to prompt the user if it decides
|
| // that this form doesn't need to be saved.
|
| - virtual void PromptUserToSavePassword(PasswordFormManager* form_to_save) = 0;
|
| + virtual void PromptUserToSavePassword(
|
| + scoped_ptr<PasswordFormManager> form_to_save) = 0;
|
| +
|
| + // Called when a password is saved in an automated fashion. Embedder may
|
| + // inform the user that this save has occured.
|
| + virtual void AutomaticPasswordSave(
|
| + scoped_ptr<PasswordFormManager> saved_form_manager) = 0;
|
|
|
| // Called when a password is autofilled. |best_matches| contains the
|
| // PasswordForm into which a password was filled: the client may choose to
|
|
|