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

Unified Diff: chrome/browser/content_settings/tab_specific_content_settings.cc

Issue 23537029: Save password functionality added to the save password bubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review 1 Created 7 years, 3 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/content_settings/tab_specific_content_settings.cc
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.cc b/chrome/browser/content_settings/tab_specific_content_settings.cc
index 2b7550701d88ce0957004de8f3a042110b3da80d..fd171dc330196f82c878d5296e88c22f9b4aaf73 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.cc
+++ b/chrome/browser/content_settings/tab_specific_content_settings.cc
@@ -101,13 +101,13 @@ TabSpecificContentSettings::~TabSpecificContentSettings() {
bool TabSpecificContentSettings::PasswordAccepted() {
DCHECK(form_to_save_.get());
- form_to_save_->SavePassword();
+ form_to_save_->SetPasswordAction(PasswordFormManager::SAVE);
return true;
}
bool TabSpecificContentSettings::PasswordFormBlacklisted() {
DCHECK(form_to_save_.get());
- form_to_save_->BlacklistPassword();
+ form_to_save_->SetPasswordAction(PasswordFormManager::BLACKLIST);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698