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

Unified Diff: components/autofill/content/common/autofill_types_struct_traits.cc

Issue 2640783002: [Password Generation] Send id attribute to server for HTML based form classifier (Closed)
Patch Set: Fixed failed test Created 3 years, 11 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/content/common/autofill_types_struct_traits.cc
diff --git a/components/autofill/content/common/autofill_types_struct_traits.cc b/components/autofill/content/common/autofill_types_struct_traits.cc
index b27f8a563a5a4b019d13bd7cd3d71332c5312383..d3214a14b8c1d782aa25dc909a5de9bd1a106ad6 100644
--- a/components/autofill/content/common/autofill_types_struct_traits.cc
+++ b/components/autofill/content/common/autofill_types_struct_traits.cc
@@ -295,6 +295,8 @@ bool StructTraits<mojom::FormFieldDataDataView, FormFieldData>::Read(
return false;
if (!data.ReadName(&out->name))
return false;
+ if (!data.ReadId(&out->id))
+ return false;
if (!data.ReadValue(&out->value))
return false;

Powered by Google App Engine
This is Rietveld 408576698