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

Unified Diff: content/public/common/password_form.h

Issue 11446028: Ignore autocomplete=off when password manager is saving the generated passwords during account crea… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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: content/public/common/password_form.h
diff --git a/content/public/common/password_form.h b/content/public/common/password_form.h
index 2b0eb0e606137b565e25bcb48c3baed6d99f1228..3887770e6c8c54a2cb07750fe94aa2a72a202e3b 100644
--- a/content/public/common/password_form.h
+++ b/content/public/common/password_form.h
@@ -99,6 +99,10 @@ struct CONTENT_EXPORT PasswordForm {
// When parsing an HTML form, this is typically empty.
string16 password_value;
+ // Whether we should autofill the password based on the autocomplete property
+ // in the password form.
+ bool password_should_autocomplete;
+
// If the form was a change password form, the name of the
// 'old password' input element. Optional.
string16 old_password_element;

Powered by Google App Engine
This is Rietveld 408576698