Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(587)

Unified Diff: chrome/browser/ui/passwords/manage_passwords_bubble_model.h

Issue 228593002: Password bubble: Keep the bubble in sync with the password store. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 60173a9474a89c2c29823c484a8a957eab29fa9e..a5a806900b9983ec303958014e58ef088cceb17a 100644
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
@@ -48,12 +48,6 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver {
void OnPasswordAction(const autofill::PasswordForm& password_form,
PasswordAction action);
- // Called by the view code when the ManagePasswordItemView is destroyed and
- // the user chose to delete the password.
- // TODO(npentrel): Remove this once best_matches_ are newly made on bubble
- // opening.
- void DeleteFromBestMatches(autofill::PasswordForm password_form);
-
ManagePasswordsBubbleState manage_passwords_bubble_state() {
return manage_passwords_bubble_state_;
}
@@ -62,7 +56,6 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver {
return manage_passwords_bubble_state() == PASSWORD_TO_BE_SAVED;
}
- bool password_submitted() { return password_submitted_; }
const base::string16& title() { return title_; }
const autofill::PasswordForm& pending_credentials() {
return pending_credentials_;
@@ -77,7 +70,6 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver {
content::WebContents* web_contents_;
ManagePasswordsBubbleState manage_passwords_bubble_state_;
- bool password_submitted_;
base::string16 title_;
autofill::PasswordForm pending_credentials_;
autofill::PasswordFormMap best_matches_;

Powered by Google App Engine
This is Rietveld 408576698