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

Unified Diff: components/autofill/core/browser/form_structure.cc

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/form_structure.cc
diff --git a/components/autofill/core/browser/form_structure.cc b/components/autofill/core/browser/form_structure.cc
index 9485e35fc35e57e36701acd6d04247cd9eb0d2bb..4ffc187cb62ffbb70402c0a5d2f7f0fa4e858a1a 100644
--- a/components/autofill/core/browser/form_structure.cc
+++ b/components/autofill/core/browser/form_structure.cc
@@ -1106,6 +1106,8 @@ void FormStructure::EncodeFormForUpload(AutofillUploadContents* upload) const {
AutofillUploadContents::Field* added_field = upload->add_field();
added_field->set_autofill_type(field_type);
+ if (field->generation_type())
+ added_field->set_generation_type(field->generation_type());
unsigned sig = 0;
// The signature is a required field. If it can't be parsed, the proto
« no previous file with comments | « components/autofill/core/browser/autofill_field.cc ('k') | components/autofill/core/browser/form_structure_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698