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

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: Rebase. 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
« no previous file with comments | « no previous file | chrome/browser/ui/passwords/manage_passwords_bubble_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b8cc326435282bfa80238dc5488e5f4b410c7d0f 100644
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
@@ -23,7 +23,6 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver {
enum ManagePasswordsBubbleState {
PASSWORD_TO_BE_SAVED,
- MANAGE_PASSWORDS_AFTER_SAVING,
MANAGE_PASSWORDS,
NEVER_SAVE_PASSWORDS,
};
@@ -48,12 +47,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 +55,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 +69,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_;
« no previous file with comments | « no previous file | chrome/browser/ui/passwords/manage_passwords_bubble_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698