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 16e0dcb359354c06cbc778c5e6eaa46e7fe87872..3d1e64d9b3d70541c15334df274babcf7335eb5e 100644 |
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h |
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h |
@@ -63,9 +63,12 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver { |
// Called by the view code when the site is unblacklisted. |
void OnUnblacklistClicked(); |
- // Called by the view code when the save button in clicked by the user. |
+ // Called by the view code when the save button is clicked by the user. |
void OnSaveClicked(); |
+ // Called by the view code when the update link is clicked by the user. |
+ void OnUpdateClicked(const autofill::PasswordForm& password_form); |
+ |
// Called by the view code when the "Done" button is clicked by the user. |
void OnDoneClicked(); |
@@ -132,6 +135,10 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver { |
// saving the passwords. |
bool IsNewUIActive() const; |
+ // Returns true iff the multiple account selection prompt for account update |
+ // should be presented. |
+ bool ShouldShowMultipleAccountUpdateUI() const; |
+ |
#if defined(UNIT_TEST) |
// Gets and sets the reason the bubble was displayed. |
password_manager::metrics_util::UIDisplayDisposition display_disposition() |