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

Unified Diff: components/autofill/content/public/cpp/autofill_types_struct_traits.cc

Issue 2189543004: [Password Generation] Add FormFieldData.properties_mask to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pg_count_modified_fields
Patch Set: o Created 4 years, 5 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/public/cpp/autofill_types_struct_traits.cc
diff --git a/components/autofill/content/public/cpp/autofill_types_struct_traits.cc b/components/autofill/content/public/cpp/autofill_types_struct_traits.cc
index 7104fd9c49f7c7f163374706f8c7645a9f021b8a..b24a8244b2553b755badb9d97f7ba59d91cad015 100644
--- a/components/autofill/content/public/cpp/autofill_types_struct_traits.cc
+++ b/components/autofill/content/public/cpp/autofill_types_struct_traits.cc
@@ -350,6 +350,8 @@ bool StructTraits<mojom::FormFieldData, FormFieldData>::Read(
if (!data.ReadCssClasses(&out->css_classes))
return false;
+ out->properties_mask = data.properties_mask();
+
out->max_length = data.max_length();
out->is_autofilled = data.is_autofilled();

Powered by Google App Engine
This is Rietveld 408576698