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

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: Fix a naming issue. 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..bfc465544b327336ac64381880ccb4619d003089 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;
+ // False if autocomplete is set to "off" for the password input element;
+ // True otherwise.
+ bool password_autocomplete_set;
+
// 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