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

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

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
« no previous file with comments | « no previous file | components/autofill/content/public/cpp/autofill_types_struct_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/public/cpp/autofill_types_struct_traits.h
diff --git a/components/autofill/content/public/cpp/autofill_types_struct_traits.h b/components/autofill/content/public/cpp/autofill_types_struct_traits.h
index e3845a43c8d2d48b18944819b636cb77017072cb..9878402ea0eb4639b9b54ee0c4ea55a7ec6c0b62 100644
--- a/components/autofill/content/public/cpp/autofill_types_struct_traits.h
+++ b/components/autofill/content/public/cpp/autofill_types_struct_traits.h
@@ -124,6 +124,10 @@ struct StructTraits<autofill::mojom::FormFieldData, autofill::FormFieldData> {
return r.css_classes;
}
+ static uint32_t properties_mask(const autofill::FormFieldData& r) {
+ return r.properties_mask;
+ }
+
static uint64_t max_length(const autofill::FormFieldData& r) {
return r.max_length;
}
« no previous file with comments | « no previous file | components/autofill/content/public/cpp/autofill_types_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698