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

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: An alignment fix 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;
tim (not reviewing) 2012/12/11 01:23:04 This makes it sound more authoritative than it is
zysxqn 2012/12/11 01:52:32 I can get your point: whether we should autocomple
+
// If the form was a change password form, the name of the
// 'old password' input element. Optional.
string16 old_password_element;
« no previous file with comments | « chrome/renderer/autofill/password_generation_manager_browsertest.cc ('k') | content/public/common/password_form.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698