| Index: chrome/browser/ui/passwords/manage_passwords_bubble_model.h
|
| diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
|
| index 0e2ddb2f7d615fe78d8cbcd02f2e11e0a3e011a2..38d0a62a59fff6cbad4bbd873beeaee3f716b1ac 100644
|
| --- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
|
| +++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
|
| @@ -75,9 +75,14 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver {
|
| // Called by the view code when the manage link is clicked by the user.
|
| void OnManageLinkClicked();
|
|
|
| - // Called by the view code when the auto-signin toast is about to close.
|
| + // Called by the view code when the auto-signin toast is about to close due to
|
| + // timeout.
|
| void OnAutoSignInToastTimeout();
|
|
|
| + // Called by the view code when user clicks on the auto sign-in toast in order
|
| + // to manage credentials.
|
| + void OnAutoSignInClicked();
|
| +
|
| // Called by the view code to delete or add a password form to the
|
| // PasswordStore.
|
| void OnPasswordAction(const autofill::PasswordForm& password_form,
|
| @@ -116,6 +121,10 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver {
|
|
|
| Profile* GetProfile() const;
|
|
|
| + // Returns true iff the new UI should be presented to user for managing and
|
| + // saving the passwords.
|
| + bool IsNewUIActive() const;
|
| +
|
| #if defined(UNIT_TEST)
|
| // Gets and sets the reason the bubble was displayed.
|
| password_manager::metrics_util::UIDisplayDisposition display_disposition()
|
|
|