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

Unified Diff: chrome/browser/password_manager/password_form_manager.cc

Issue 9625026: Save password without an associated username. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Refine the unit_test codes Created 8 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/password_manager/password_form_manager.cc
===================================================================
--- chrome/browser/password_manager/password_form_manager.cc (revision 133421)
+++ chrome/browser/password_manager/password_form_manager.cc (working copy)
@@ -148,8 +148,7 @@
// do not contain username_element and password_element values.
if (observed_form_.scheme != PasswordForm::SCHEME_HTML)
return true;
- return !observed_form_.username_element.empty() &&
- !observed_form_.password_element.empty();
+ return !observed_form_.password_element.empty();
}
void PasswordFormManager::ProvisionallySave(const PasswordForm& credentials) {

Powered by Google App Engine
This is Rietveld 408576698