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

Unified Diff: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller.mm

Issue 1009953002: Integrate ManagePasswordsState into ManagePasswordsUIController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: last comments Created 5 years, 9 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/cocoa/passwords/manage_passwords_bubble_pending_view_controller.mm
diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller.mm b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller.mm
index a3b3ff142714d14b15f2cdea854845ec9471cfb0..fd1a36b7a482afb83f3e0d7c3a0cc1453bfa8839 100644
--- a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller.mm
+++ b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller.mm
@@ -53,7 +53,7 @@ using namespace password_manager::mac::ui;
}
- (void)onNeverForThisSiteClicked:(id)sender {
- if (model_->best_matches().empty()) {
+ if (model_->local_credentials().empty()) {
// Skip confirmation if there are no existing passwords for this site.
model_->OnNeverForThisSiteClicked();
[delegate_ viewShouldDismiss];

Powered by Google App Engine
This is Rietveld 408576698