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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_COMMON_PASSWORD_FORM_H__ 5 #ifndef CONTENT_PUBLIC_COMMON_PASSWORD_FORM_H__
6 #define CONTENT_PUBLIC_COMMON_PASSWORD_FORM_H__ 6 #define CONTENT_PUBLIC_COMMON_PASSWORD_FORM_H__
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // The name of the password input element, Optional (improves scoring). 92 // The name of the password input element, Optional (improves scoring).
93 // 93 //
94 // When parsing an HTML form, this must always be set. 94 // When parsing an HTML form, this must always be set.
95 string16 password_element; 95 string16 password_element;
96 96
97 // The password. Required. 97 // The password. Required.
98 // 98 //
99 // When parsing an HTML form, this is typically empty. 99 // When parsing an HTML form, this is typically empty.
100 string16 password_value; 100 string16 password_value;
101 101
102 // False if autocomplete is set to "off" for the password input element;
103 // True otherwise.
104 bool password_autocomplete_set;
105
102 // If the form was a change password form, the name of the 106 // If the form was a change password form, the name of the
103 // 'old password' input element. Optional. 107 // 'old password' input element. Optional.
104 string16 old_password_element; 108 string16 old_password_element;
105 109
106 // The old password. Optional. 110 // The old password. Optional.
107 string16 old_password_value; 111 string16 old_password_value;
108 112
109 // Whether or not this login was saved under an HTTPS session with a valid 113 // Whether or not this login was saved under an HTTPS session with a valid
110 // SSL cert. We will never match or autofill a PasswordForm where 114 // SSL cert. We will never match or autofill a PasswordForm where
111 // ssl_valid == true with a PasswordForm where ssl_valid == false. This means 115 // ssl_valid == true with a PasswordForm where ssl_valid == false. This means
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 PasswordForm(); 152 PasswordForm();
149 ~PasswordForm(); 153 ~PasswordForm();
150 }; 154 };
151 155
152 // Map username to PasswordForm* for convenience. See password_form_manager.h. 156 // Map username to PasswordForm* for convenience. See password_form_manager.h.
153 typedef std::map<string16, PasswordForm*> PasswordFormMap; 157 typedef std::map<string16, PasswordForm*> PasswordFormMap;
154 158
155 } // namespace content 159 } // namespace content
156 160
157 #endif // CONTENT_PUBLIC_COMMON_PASSWORD_FORM_H__ 161 #endif // CONTENT_PUBLIC_COMMON_PASSWORD_FORM_H__
OLDNEW
« 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