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

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

Issue 14811010: Add metadata to content::PasswordForm to keep track of the password usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Includes Created 7 years, 7 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
« no previous file with comments | « content/public/common/common_param_traits_macros.h ('k') | content/public/common/password_form.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/password_form.h
diff --git a/content/public/common/password_form.h b/content/public/common/password_form.h
index 21b2e56769858a01a7bd54724628b14a06fbb786..0f0ea4ce1d0543acdffe36354ab7289ffa58f4ad 100644
--- a/content/public/common/password_form.h
+++ b/content/public/common/password_form.h
@@ -157,6 +157,12 @@ struct CONTENT_EXPORT PasswordForm {
// The form type. Not used yet. Please see http://crbug.com/152422
Type type;
+ // The number of times that this username/password has been used to
+ // authenticate the user.
+ //
+ // When parsing an HTML form, this is not used.
+ int times_used;
+
PasswordForm();
~PasswordForm();
};
« no previous file with comments | « content/public/common/common_param_traits_macros.h ('k') | content/public/common/password_form.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698