Index: chrome/browser/password_manager/password_manager.h |
diff --git a/chrome/browser/password_manager/password_manager.h b/chrome/browser/password_manager/password_manager.h |
index eda8654dcedf13f753fd5b1d844fda6749961eb1..f2a84e4bcb55968b3513f0791abfa04f6f45ad31 100644 |
--- a/chrome/browser/password_manager/password_manager.h |
+++ b/chrome/browser/password_manager/password_manager.h |
@@ -102,6 +102,10 @@ class PasswordManager : public LoginModel, |
// the username for the form is ambigious. |
bool OtherPossibleUsernamesEnabled() const; |
+ // Returns true if we should show an infobar instead of automatically saving |
+ // the password, based on inspecting the state of |provisional_save_manager_|. |
+ bool ShouldShowSavePasswordInfoBar() const; |
+ |
// Note about how a PasswordFormManager can transition from |
// pending_login_managers_ to provisional_save_manager_ and the infobar. |
// |