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

Unified Diff: components/autofill/core/common/password_form.h

Issue 920683002: [Password Generation] Add negative votes for crowdsourcing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 5 years, 10 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
Index: components/autofill/core/common/password_form.h
diff --git a/components/autofill/core/common/password_form.h b/components/autofill/core/common/password_form.h
index 29d369a7f5a7f08f3522669fec40c76ee5e54724..224a304f6680fa107562b64c434c514529ebe4a0 100644
--- a/components/autofill/core/common/password_form.h
+++ b/components/autofill/core/common/password_form.h
@@ -205,6 +205,17 @@ struct PasswordForm {
// When parsing an HTML form, this is normally set.
FormData form_data;
+ enum GenerationUploadStatus {
vabr (Chromium) 2015/02/12 10:08:25 I explicitly acknowledge the choice of enum over "
vabr (Chromium) 2015/02/12 10:08:25 Declaration order: types should be before member v
Garrett Casto 2015/02/12 22:15:35 Yeah, didn't explicitly mention this, but there do
Garrett Casto 2015/02/12 22:15:35 Done.
+ NO_SIGNAL_SENT,
+ POSITIVE_SIGNAL_SENT,
+ NEGATIVE_SIGNAL_SENT,
+ // Reserve a few values for future use.
+ UNKNOWN_STATUS = 10
+ };
+
+ // What information has been sent to the Autofill server about this form.
+ GenerationUploadStatus generation_upload_status;
+
// These following fields are set by a website using the Credential Manager
// API. They will be empty and remain unused for sites which do not use that
// API.

Powered by Google App Engine
This is Rietveld 408576698