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 f16a07ba1b8e8542c35aea31b300750f51e91134..6c212fb16f4f3576681784a253e5e9bc1c9e30a0 100644 |
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h |
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h |
@@ -49,6 +49,9 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver { |
// by the user. |
void OnNeverForThisSiteClicked(); |
+ // 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. |
void OnSaveClicked(); |
@@ -72,7 +75,11 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver { |
} |
bool WaitingToSavePassword() const { |
- return manage_passwords_bubble_state() == PASSWORD_TO_BE_SAVED; |
+ return manage_passwords_bubble_state_ == PASSWORD_TO_BE_SAVED; |
+ } |
+ |
+ bool NeverSavingPasswords() const { |
+ return manage_passwords_bubble_state_ == NEVER_SAVE_PASSWORDS; |
} |
const base::string16& title() const { return title_; } |