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

Unified Diff: components/autofill/core/browser/proto/server.proto

Issue 1686063004: Sending generated vote on password generation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix BUILD.gn Created 4 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/browser/proto/server.proto
diff --git a/components/autofill/core/browser/proto/server.proto b/components/autofill/core/browser/proto/server.proto
index 08ac272fd94c02da169c351f20a89a3da28c7b27..0d8f48674210aaaf81338975d9baf5a140d931ff 100644
--- a/components/autofill/core/browser/proto/server.proto
+++ b/components/autofill/core/browser/proto/server.proto
@@ -34,7 +34,7 @@ message AutofillQueryResponseContents {
// This message contains information about the field types in a single form.
// It is sent by the toolbar to contribute to the field type statistics.
-// Next available id: 17
+// Next available id: 18
message AutofillUploadContents {
required string client_version = 1;
required fixed64 form_signature = 2;
@@ -72,6 +72,16 @@ message AutofillUploadContents {
// The label that is used alongside the field. Its value is truncated at
// 200 characters.
optional string label = 11;
+
+ enum PasswordGenerationType {
+ NO_GENERATION = 0;
+ AUTOMATICALLY_TRIGGERED_GENERATION_ON_SIGN_UP_FORM = 1;
+ AUTOMATICALLY_TRIGGERED_GENERATION_ON_CHANGE_PASSWORD_FORM = 2;
+ MANUALLY_TRIGGERED_GENERATION_ON_SIGN_UP_FORM = 3;
+ MANUALLY_TRIGGERED_GENERATION_ON_CHANGE_PASSWORD_FORM = 4;
+ }
+ // The type of password generation, if it happened.
+ optional PasswordGenerationType generation_type = 17;
}
// Signature of the form action host (e.g. Hash64Bit("example.com")).
optional fixed64 action_signature = 13;
@@ -86,4 +96,4 @@ message AutofillUploadContents {
// The form name.
optional string form_name = 16;
-}
+}

Powered by Google App Engine
This is Rietveld 408576698