Index: components/autofill/content/public/cpp/autofill_types.typemap |
diff --git a/components/autofill/content/public/cpp/autofill_types.typemap b/components/autofill/content/public/cpp/autofill_types.typemap |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e757952bc9248d5daa5ee820592072888b6fba4d |
--- /dev/null |
+++ b/components/autofill/content/public/cpp/autofill_types.typemap |
@@ -0,0 +1,28 @@ |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+mojom = "//components/autofill/content/public/interfaces/autofill_types.mojom" |
+public_headers = [ |
+ "//components/autofill/core/common/form_data.h", |
+ "//components/autofill/core/common/form_field_data.h", |
+] |
+traits_headers = [ |
+ "//components/autofill/content/public/cpp/autofill_types_struct_traits.h" |
+] |
+sources = [ |
+ "//components/autofill/content/public/cpp/autofill_types_struct_traits.cc" |
+] |
+deps = [ |
+ "//base", |
+ "//base:i18n", |
+ "//components/autofill/core/common", |
+] |
+ |
+type_mappings = [ |
+ "autofill.mojom.CheckStatus=autofill::FormFieldData::CheckStatus", |
+ "autofill.mojom.FormData=autofill::FormData", |
+ "autofill.mojom.FormFieldData=autofill::FormFieldData", |
+ "autofill.mojom.RoleAttribute=autofill::FormFieldData::RoleAttribute", |
+ "autofill.mojom.TextDirection=base::i18n::TextDirection", |
+] |